<commit_before>#!/usr/bin/env bash

export DEBIAN_FRONTEND=noninteractive

# Install Apache2
apt-get -y install apache2

if [ ! -h /var/www ]; 
then 

    rm -rf /var/www sudo 
    ln -s /vagrant/public /var/www

    a2enmod rewrite

    sed -i '/AllowOverride None/c AllowOverride All' /etc/apache2/sites-available/default

    service apache2 restart
fi

# Install MongoDB
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
apt-get update
apt-get -y install mongodb-org
# Start MongoDB
/etc/init.d/mongod start

# Install Git
apt-get install -y git-core

# Install Python 3.2
apt-get install -y python3

# Install node.js
apt-get install -y python-software-properties
apt-get install -y software-properties-common
apt-add-repository -y ppa:chris-lea/node.js
apt-get update
apt-get install -y nodejs

# Install express and express-generator
npm install -g express
npm install -g express-generator

# Install CURL
apt-get install -y curl

# Install make
apt-get install -y make

# Install Ruby 1.9.3
apt-get install -y ruby1.9.3

# Install gems
gem install rails



<commit_msg>Modified bootstrap to include pip and twython<commit_after>#!/usr/bin/env bash

export DEBIAN_FRONTEND=noninteractive

# Install Apache2
apt-get -y install apache2

if [ ! -h /var/www ]; 
then 

    rm -rf /var/www sudo 
    ln -s /vagrant/public /var/www

    a2enmod rewrite

    sed -i '/AllowOverride None/c AllowOverride All' /etc/apache2/sites-available/default

    service apache2 restart
fi

# Install MongoDB
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
apt-get update
apt-get -y install mongodb-org
# Start MongoDB
/etc/init.d/mongod start

# Install Git
apt-get install -y git-core

# Install Python 3.2
apt-get install -y python3

# Install node.js
apt-get install -y python-software-properties
apt-get install -y software-properties-common
apt-add-repository -y ppa:chris-lea/node.js
apt-get update
apt-get install -y nodejs

# Install express and express-generator
npm install -g express
npm install -g express-generator

# Install CURL
apt-get install -y curl

# Install make
apt-get install -y make

# Install Ruby 1.9.3
apt-get install -y ruby1.9.3

# Install gems
gem install rails

# Install pip
apt-get install -y pip

# Install twython
pip install twython


{'fraction_non_alphanumeric': 0.09870740305522914, 'fraction_numerical': 0.017234625930278104, 'mean_word_length': 3.388316151202749, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1008193', 'n_tokens_mistral': 953, 'n_tokens_neox': 865, 'n_words': 275}