<commit_before>#/bin/bash

# Load the bash environment
echo Essential AutoInstaller v0.1a
sudo apt-get update
sudo apt-get install vim
sudo apt-get install git
clear
while true; do
	read -p "Do you want to install Java (tm)?" yn
	case $yn in
		[Yy]* ) sudo add-apt-repository ppa:webupd8team/java; sudo apt-get update; sudo apt-get install oracle-java8-installer; break;;
		[Nn]* ) break;;
		* ) echo "Please answer yes or no.";;
	esac
done
wget http://download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb
if [ ! -f ./skype-ubuntu-precise_4.3.0.37-1_i386.deb ]; then
	clear
	echo "Skype Installer Not Found!"
fi
if [ -f ./skype-ubuntu-precise_4.3.0.37-1_i386.deb ]; then
	sudo dpkg -i ./skype-ubuntu-precise_4.3.0.37-1_i386.deb
	sudo apt-get install -f
	echo "Finished Installing Skype!"
fi

# Install additional packages for compiz
sudo apt-get install compiz-plugins
sudo apt-get install compiz-plugins-extra
sudo apt-get install compizconfig-settings-manager
clear
echo "Installed Compiz Plugins and Settings Manager for Compiz WM"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
if [ ! -f ./google-chrome-stable_current_amd64.deb ]; then
	clear
	echo "Google Chrome installer not found!"
fi
if [ -f ./google-chrome-stable_current_amd64.deb ]; then
	sudo dpkg -i ./google-chrome-stable_current_amd64.deb
	sudo apt-get install -f
	echo "Installed Google Chrome!"
fi
# Remove File after install to save disk space
rm skype-ubuntu-precise_4.30.0.37-1_i386.deb
rm google-chrome-stable_current_amd64.deb

# Clear the screen to make sure all extra text is removed (Google Chrome WILL throw an error but that's ok)
clear

echo Finished Installing Essential Programs!

echo "Please Configure Compiz to your desire."<commit_msg>Added more functionality<commit_after>#/bin/bash

# Load the bash environment
echo Essential AutoInstaller v0.1a
sudo apt-get update
sudo apt-get install vim
sudo apt-get install git
clear
while true; do
	read -p "Do you want to install Spotify (r)?" yn
	case $yn in
		[Yy]* ) sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys <KEY>; echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list; sudo apt-get update; sudo apt-get install spotify-client; break;;
		[Nn]* ) break;;
		* ) echo "Please answer yes or no [y/n].";
	esac
done
clear
while true; do
	read -p "Do you want to install Java (tm)?" yn
	case $yn in
		[Yy]* ) sudo add-apt-repository ppa:webupd8team/java; sudo apt-get update; sudo apt-get install oracle-java8-installer; break;;
		[Nn]* ) break;;
		* ) echo "Please answer yes or no.";
	esac
done
wget http://download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb
if [ ! -f ./skype-ubuntu-precise_4.3.0.37-1_i386.deb ]; then
	clear
	echo "Skype Installer Not Found!"
fi
if [ -f ./skype-ubuntu-precise_4.3.0.37-1_i386.deb ]; then
	sudo dpkg -i ./skype-ubuntu-precise_4.3.0.37-1_i386.deb
	sudo apt-get install -f
	echo "Finished Installing Skype!"
fi

# Install additional packages for compiz
sudo apt-get install compiz-plugins
sudo apt-get install compiz-plugins-extra
sudo apt-get install compizconfig-settings-manager
clear
echo "Installed Compiz Plugins and Settings Manager for Compiz WM"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
if [ ! -f ./google-chrome-stable_current_amd64.deb ]; then
	clear
	echo "Google Chrome installer not found!"
fi
if [ -f ./google-chrome-stable_current_amd64.deb ]; then
	sudo dpkg -i ./google-chrome-stable_current_amd64.deb
	sudo apt-get install -f
	echo "Installed Google Chrome!"
fi
# Remove File after install to save disk space
rm skype-ubuntu-precise_4.3.0.37-1_i386.deb
rm google-chrome-stable_current_amd64.deb

# Clear the screen to make sure all extra text is removed (Google Chrome WILL throw an error but that's ok)
clear

echo Finished Installing Essential Programs!

echo "Please Configure Compiz to your desire."
{'fraction_non_alphanumeric': 0.10791003285317159, 'fraction_numerical': 0.030578721253474855, 'mean_word_length': 4.054916985951468, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '2073633', 'n_tokens_mistral': 1505, 'n_tokens_neox': 1363, 'n_words': 439}