<commit_before>#!/bin/sh

echo "Create .htaccess and .htpasswd for basic auth"

# cloud9 doesn't have htpasswd command currently.
sudo apt-get install apache2-utils --fix-missing

BASE_PATH=`pwd`
cat <<EOF > .htaccess
AuthUserfile $BASE_PATH/.htpasswd
# AuthGroupfile /dev/null
AuthName "Please enter your ID and password"<commit_msg>need update apt-get...<commit_after>#!/bin/sh

echo "Create .htaccess and .htpasswd for basic auth"

# cloud9 doesn't have htpasswd command currently.
sudo apt-get update
sudo apt-get install apache2-utils --fix-missing

BASE_PATH=`pwd`
cat <<EOF > .htaccess
AuthUserfile $BASE_PATH/.htpasswd
# AuthGroupfile /dev/null
AuthName "Please enter your ID and password"
{'fraction_non_alphanumeric': 0.10473457675753228, 'fraction_numerical': 0.005738880918220947, 'mean_word_length': 4.768595041322314, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1280648', 'n_tokens_mistral': 239, 'n_tokens_neox': 227, 'n_words': 74}