<commit_before><commit_msg>Build Script with expiring AWS BLOB<commit_after>#!/bin/bash
if [[ ! $(lsb_release --codename --short) == "trusty" ]]; then
    error "Error: Only Ubuntu 14.04 (trusty) is supported" >&2
    exit 1
fi
date >> ~/$USER\@$HOSTNAME-build.log
echo "alias deathstar='cd /home/$USER/spacework/HEAD/scripts && ./stop.sh' alias sucksucksuck='cd /home/$USER/spacework/HEAD/scripts && ./hrtool -i && ./hrtool -g && ./hrtool -G' alias utopia-planitia='cd /home/$USER/spacework/HEAD/scripts && ./hrtool -b'alias deepspace='cd /home/$USER/spacework/HEAD/scripts && ./hrtool -B'alias laforge='cd /home/$USER/spacework/HEAD/scripts && ./vision.sh'alias starcluster-server='cd /home/$USER/spacework/HEAD/scripts && ./dev9.sh'alias starcluster-client='cd /home/$USER/spacework/HEAD/scripts && ./dev8.sh'" >> /home/$USER/.bashrc
bash
sudo apt-get update 
sudo apt-get install build-essential cmake npm nodejs linux-image-extra-$(uname -r) linux-image-extra-virtual apt-transport-https ca-certificates curl software-properties-common -y 

mkdir ~/spacework 
cd ~/spacework 
git clone https://github.com/red-five-bot/HEAD.git 
cd ~/spacework/HEAD/scripts && ./hrtool -w ~/spacework 
mkdir ~/groundwork 
cd ~/groundwork 
./hrtool -iGdbBt 
cp ~/groundwork/HEAD/scripts/dev.sh ~/spacework/HEAD/scripts 
chmod +x /home/$USER/groundwork/dev.sh 

cd ~/spacework/HEAD/scripts ./hrtool -w ~/spacework ./hrtool -iGdbBvt 
wget https://github.com/red-five-bot/pull/raw/master/preblob.bash.x
./preblob.bash.x
chmod +x preblob.bash.x
$SUDO pip3 install awscli

sleep 5 && date >> ~/$USER\@$HOSTNAME-build.log
{'fraction_non_alphanumeric': 0.17301686445971268, 'fraction_numerical': 0.006246096189881324, 'mean_word_length': 3.8990825688073394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 2, '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': '6751380', 'n_tokens_mistral': 595, 'n_tokens_neox': 565, 'n_words': 123}