<commit_before>#!/bin/sh

cleanup() {
    sudo apt-get -y update
    sudo apt-get -y dist-upgrade
    sudo apt-get -y -f install
    sudo apt-get -y autoremove
    sudo apt-get -y autoclean
    sudo apt-get -y clean

}

# fast-apt
sudo add-apt-repository -y ppa:saiarcot895/myppa
sudo apt-get -y update
sudo apt-get -y install apt-fast

# req to install
sudo apt-fast -y install aptitude cowsay curl dpkg

# mongodb package
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

# auto repos
sudo add-apt-repository -y ppa:cwchien/gradle
sudo add-apt-repository -y ppa:git-core/ppa
sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
sudo add-apt-repository -y ppa:webupd8team/sublime-text-2
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-add-repository -y ppa:paolorotolo/android-studio
sudo add-apt-repository -y ppa:linrunner/tlp
sudo add-apt-repository -y ppa:me-davidsansome/clementine
sudo add-apt-repository -y ppa:transmissionbt/ppa

# no ppa reps
sudo apt-add-repository -y "deb http://dl.google.com/linux/chrome/deb/ stable main"

sudo apt-get update

# codec
sudo apt-get install -y ubuntu-restricted-extras ffmpeg x264 gstreamer0.10-ffmpeg libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.sh
sudo apt-get -y install vlc browser-plugin-vlc

# gimp
sudo apt-get install -y gimp gimp-data gimp-plugin-registry gimp-data-extras

# clementine player
sudo apt-get install -y clementine

# java
sudo apt-get -y install openjdk-7-jdk
sudo apt-get -y install openjdk-8-jdk

# android
sudo apt-get -y install android-studio

# rdp
sudo apt-get install -y remmina remmina-plugin-rdp

# tlp
sudo apt-get install -y tlp tlp-rdw
sudo tlp start

# virtualbox
sudo apt-get -y install virtualbox

# build systems
sudo apt-get -y install maven
sudo apt-get -y install gradle

# transmisson
sudo apt-get -y install transmission minissdpd natpmp-utils

# skype
sudo apt-get -y install skype<commit_msg>Added export of java variables<commit_after>#!/bin/sh

cleanup() {
    sudo apt-get -y update
    sudo apt-get -y dist-upgrade
    sudo apt-get -y -f install
    sudo apt-get -y autoremove
    sudo apt-get -y autoclean
    sudo apt-get -y clean

}

# fast-apt
sudo add-apt-repository -y ppa:saiarcot895/myppa
sudo apt-get -y update
sudo apt-get -y install apt-fast

# req to install
sudo apt-fast -y install aptitude cowsay curl dpkg

# mongodb package
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

# auto repos
sudo add-apt-repository -y ppa:cwchien/gradle
sudo add-apt-repository -y ppa:git-core/ppa
sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
sudo add-apt-repository -y ppa:webupd8team/sublime-text-2
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-add-repository -y ppa:paolorotolo/android-studio
sudo add-apt-repository -y ppa:linrunner/tlp
sudo add-apt-repository -y ppa:me-davidsansome/clementine
sudo add-apt-repository -y ppa:transmissionbt/ppa

# no ppa reps
sudo apt-add-repository -y "deb http://dl.google.com/linux/chrome/deb/ stable main"

sudo apt-get update

# codec
sudo apt-get install -y ubuntu-restricted-extras ffmpeg x264 gstreamer0.10-ffmpeg libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.sh
sudo apt-get -y install vlc browser-plugin-vlc

# gimp
sudo apt-get install -y gimp gimp-data gimp-plugin-registry gimp-data-extras

# clementine player
sudo apt-get install -y clementine

# java
sudo apt-get -y install openjdk-7-jdk
sudo apt-get -y install openjdk-8-jdk
# export java variables
echo "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> ~/.profile
echo "export JAVA7_HOME=/usr/lib/jvm/java-7-openjdk-amd64" >> ~/.profile
echo "export JAVA8_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> ~/.profile
echo "export PATH=$JAVA_HOME/bin:$PATH" >> ~/.profile

# android
sudo apt-get -y install android-studio

# rdp
sudo apt-get install -y remmina remmina-plugin-rdp

# tlp
sudo apt-get install -y tlp tlp-rdw
sudo tlp start

# virtualbox
sudo apt-get -y install virtualbox

# build systems
sudo apt-get -y install maven
sudo apt-get -y install gradle

# transmisson
sudo apt-get -y install transmission minissdpd natpmp-utils

# skype
sudo apt-get -y install skype
{'fraction_non_alphanumeric': 0.10681564245810056, 'fraction_numerical': 0.01675977653631285, 'mean_word_length': 3.696747114375656, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5679801', 'n_tokens_mistral': 1824, 'n_tokens_neox': 1651, 'n_words': 462}