<commit_before>#! /bin/sh

# Install both binaries

curl -# https://raw.githubusercontent.com/userify/ucrypt/master/ucrypt.py \
    | sudo tee - > /opt/userify-server/ucrypt.py

curl -# https://raw.githubusercontent.com/userify/ucrypt/master/disable_mfa.sh \
    | sudo tee - > /opt/userify-server/disable_mfa.sh

chmod +x /opt/userify-server/disable_mfa.sh /opt/userify-server/ucrypt.py

# Execute it..
/opt/userify-server/disable_mfa.sh

<commit_msg>Added automated installation for jq as well.<commit_after>#! /bin/sh

# not in typical RHEL repos..
# sudo which yum 2>/dev/null && sudo yum install -q -y jq
sudo which yum 2>/dev/null && ( \
    curl -# https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 \
    sudo tee - > /usr/bin/jq >/dev/null ; sudo chmod +x /usr/bin/jq)

sudo which dnf 2>/dev/null && sudo dnf install -q -y jq
sudo which apt-get 2>/dev/null && sudo apt-get install -qqy jq

# Install both binaries

curl -# https://raw.githubusercontent.com/userify/ucrypt/master/ucrypt.py \
    | sudo tee - > /opt/userify-server/ucrypt.py >/dev/null

curl -# https://raw.githubusercontent.com/userify/ucrypt/master/disable_mfa.sh \
    | sudo tee - > /opt/userify-server/disable_mfa.sh >/dev/null

chmod +x /opt/userify-server/disable_mfa.sh /opt/userify-server/ucrypt.py

# Execute it..
/opt/userify-server/disable_mfa.sh


{'fraction_non_alphanumeric': 0.15407407407407409, 'fraction_numerical': 0.005925925925925926, 'mean_word_length': 3.1189024390243905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4693305', 'n_tokens_mistral': 554, 'n_tokens_neox': 514, 'n_words': 100}