<commit_before>#!/bin/bash

set -e

sudo apt-get update
sudo apt-get -y install linux-image-extra-name `uname -r`

mount -M /mnt /var/lib/docker

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get -y install lxc-docker

sudo apt-get update && sudo apt-get -y install cgroup-lite

sudo apt-get install nginx

cp /setupHost/nginx/proxy_buffers.conf /etc/nginx/conf.d/
ln -s /setupHost/nginx/sandbox-proxy /etc/nginx/sites-enabled

service nginx restart
<commit_msg>Fixing a few mistakes and adding sudoness<commit_after>#!/bin/bash

set -e

sudo apt-get update
sudo apt-get -y install linux-image-extra-`uname -r`

mkdir -p /var/lib/docker
mount -M /mnt /var/lib/docker || true

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get -y install lxc-docker

sudo apt-get update && sudo apt-get -y install cgroup-lite

sudo apt-get -y install nginx

sudo cp /setupHost/nginx/proxy_buffers.conf /etc/nginx/conf.d/
sudo ln -s /setupHost/nginx/sandbox-proxy /etc/nginx/sites-enabled

sudo service nginx restart

{'fraction_non_alphanumeric': 0.11717612809315867, 'fraction_numerical': 0.042212518195050945, 'mean_word_length': 3.64527027027027, 'pattern_counts': {'":': 0, '<': 3, '<?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': '449374', 'n_tokens_mistral': 606, 'n_tokens_neox': 519, 'n_words': 139}