<commit_before>#!/bin/bash

# Make sure we don't do anything stupid!
cd ~

# Delete useless folders
rmdir Documents
rmdir Music
rmdir Pictures
rmdir Public
rmdir Templates
rmdir Videos
rm examples.desktop

# Install stuff that people in the lab like to use
sudo apt-get install -yq \
  curl \
  emacs \
  gitk \
  terminator \
  vim \
  wget

# Allow SSH into this machine
sudo apt-get install -yq openssh-server


# Set the default settings for gedit to be OK for programming
gsettings set org.gnome.gedit.preferences.editor auto-indent true
gsettings set org.gnome.gedit.preferences.editor bracket-matching true
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true
gsettings set org.gnome.gedit.preferences.editor highlight-current-line true
gsettings set org.gnome.gedit.preferences.editor insert-spaces true
gsettings set org.gnome.gedit.preferences.editor tabs-size "uint32 2"

# Clean up the Unity launcher
gsettings set com.canonical.Unity.Launcher favorites "['application://firefox.desktop']"

# Set the cache to timeout after 1 hour (setting is in seconds)
git config --global credential.helper 'cache --timeout=3600'
<commit_msg>Add sublime text installation to setup script<commit_after>#!/bin/bash

# Make sure we don't do anything stupid!
cd ~

# Delete useless folders
rmdir Documents
rmdir Music
rmdir Pictures
rmdir Public
rmdir Templates
rmdir Videos
rm examples.desktop

# Dependencies for Sublime Text (from https://www.sublimetext.com/docs/3/linux_repositories.html#apt)
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install -yq apt-transport-https
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update

# Install stuff that people in the lab like to use
sudo apt-get install -yq \
  curl \
  emacs \
  gitk \
  sublime-text
  terminator \
  vim \
  wget

# Allow SSH into this machine
sudo apt-get install -yq openssh-server

# Set the default settings for gedit to be OK for programming
gsettings set org.gnome.gedit.preferences.editor auto-indent true
gsettings set org.gnome.gedit.preferences.editor bracket-matching true
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true
gsettings set org.gnome.gedit.preferences.editor highlight-current-line true
gsettings set org.gnome.gedit.preferences.editor insert-spaces true
gsettings set org.gnome.gedit.preferences.editor tabs-size "uint32 2"

# Clean up the Unity launcher
gsettings set com.canonical.Unity.Launcher favorites "['application://firefox.desktop']"

# Set the cache to timeout after 1 hour (setting is in seconds)
git config --global credential.helper 'cache --timeout=3600'

{'fraction_non_alphanumeric': 0.08174486803519061, 'fraction_numerical': 0.006231671554252199, 'mean_word_length': 4.288759689922481, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, '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': '3195707', 'n_tokens_mistral': 898, 'n_tokens_neox': 823, 'n_words': 286}