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

# Tested on Ubuntu 14.04

sudo add-apt-repository -y ppa:gnome-terminator

sudo apt-get -y update
sudo apt-get -y autoclean
sudo apt-get -y autoremove

sudo apt-get -y install terminator

# Command line tools
sudo apt-get -y install autojump
sudo apt-get -y install bash
sudo apt-get -y install git
sudo apt-get -y install silversearcher-ag
sudo apt-get -y install tmux

if cd ~/.autoenv; then
    git pull
else
    git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv
fi

# Docker
sudo apt-get -y install apt-transport-https ca-certificate
sudo apt-get -y install linux-image-extra-$(uname -r)
sudo apt-get -y install apparmor
sudo apt-get -y install docker-engine

# Symlink configurations
ln -s -f ~/Code/dotfiles/.bash_profile ~/.bash_profile
ln -s -f ~/Code/dotfiles/.bashrc ~/.bashrc
ln -s -f ~/Code/dotfiles/.vimrc ~/.vimrc
ln -s -f ~/Code/dotfiles/.gitconfig ~/.gitconfig

# Vim
sudo apt-get -y install vim
sudo apt-get install build-essential cmake # for YouCompleteMe
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Can't do the following because it's not obvious when YouCompleteMe is done
# vim +PlugInstall +qall
echo
echo "Now open Vim and run :PlugInstall or :PlugUpdate"
<commit_msg>Add the source for patched fonts<commit_after>#!/usr/bin/env bash

# Tested on Ubuntu 14.04

sudo add-apt-repository -y ppa:gnome-terminator

sudo apt-get -y update
sudo apt-get -y autoclean
sudo apt-get -y autoremove

sudo apt-get -y install terminator

# Command line tools
sudo apt-get -y install autojump
sudo apt-get -y install bash
sudo apt-get -y install git
sudo apt-get -y install silversearcher-ag
sudo apt-get -y install tmux

if cd ~/.autoenv; then
    git pull
else
    git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv
fi

# Docker
sudo apt-get -y install apt-transport-https ca-certificate
sudo apt-get -y install linux-image-extra-$(uname -r)
sudo apt-get -y install apparmor
sudo apt-get -y install docker-engine

# Symlink configurations
ln -s -f ~/Code/dotfiles/.bash_profile ~/.bash_profile
ln -s -f ~/Code/dotfiles/.bashrc ~/.bashrc
ln -s -f ~/Code/dotfiles/.vimrc ~/.vimrc
ln -s -f ~/Code/dotfiles/.gitconfig ~/.gitconfig

# Vim
sudo apt-get -y install vim
sudo apt-get install build-essential cmake # for YouCompleteMe
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Can't do the following because it's not obvious when YouCompleteMe is done
# vim +PlugInstall +qall
echo
echo "Now open Vim and run :PlugInstall or :PlugUpdate"
echo
echo "And don't forget to install a patched font for vim-devicons:"
echo "https://github.com/ryanoasis/nerd-fonts"

{'fraction_non_alphanumeric': 0.11131059245960502, 'fraction_numerical': 0.002872531418312388, 'mean_word_length': 3.5153970826580228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '4358809', 'n_tokens_mistral': 1058, 'n_tokens_neox': 960, 'n_words': 329}