<commit_before>set -e
mv /home/vagrant/sources.list /etc/apt/sources.list
mv /home/vagrant/environment /etc/environment
mv /home/vagrant/sshd /etc/pam.d/sshd
echo "Stopping puppet and chef"
service puppet stop
service chef-client stop
echo "Adding brightbox's ruby repository"
apt-add-repository ppa:brightbox/ruby-ng
echo "Updating apt"
apt-get update
echo "Installing dependencies"
apt-get install -y build-essential git-core zlib1g-dev libssl-dev \
  libreadline-dev libyaml-dev subversion maven2 gradle npm curl rdiff-backup \
  zip ruby2.2 ruby2.2-dev ruby-switch libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev \
  libcurl4-openssl-dev libffi-dev openjdk-7-jdk
echo "Switching to ruby2.2"
ruby-switch --set ruby2.2<commit_msg>Use chris-lea's nodejs repository The ubuntu's official one is wonky<commit_after>set -e
mv /home/vagrant/sources.list /etc/apt/sources.list
mv /home/vagrant/environment /etc/environment
mv /home/vagrant/sshd /etc/pam.d/sshd
echo "Stopping puppet and chef"
service puppet stop
service chef-client stop
echo "Adding brightbox's ruby repository"
apt-add-repository ppa:brightbox/ruby-ng
echo "Adding chis-lea's node js repository"
add-apt-repository ppa:chris-lea/node.js
echo "Updating apt"
apt-get update
echo "Installing dependencies"
apt-get install -y build-essential git-core zlib1g-dev libssl-dev \
  libreadline-dev libyaml-dev subversion maven2 gradle nodejs rdiff-backup \
  zip ruby2.2 ruby2.2-dev ruby-switch libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev \
  libcurl4-openssl-dev libffi-dev openjdk-7-jdk
echo "Switching to ruby2.2"
ruby-switch --set ruby2.2
{'fraction_non_alphanumeric': 0.09675405742821473, 'fraction_numerical': 0.019975031210986267, 'mean_word_length': 4.489726027397261, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5309080', 'n_tokens_mistral': 611, 'n_tokens_neox': 563, 'n_words': 155}