<commit_before>#!/bin/bash
clear
echo Installing Dependencies in 5 Seconds...
sleep 1
echo Installing Dependencies in 4 Seconds...
sleep 1
echo Installing Dependencies in 3 Seconds...
sleep 1
echo Installing Dependencies in 2 Seconds...
sleep 1
echo Installing Dependencies in 1 Seconds...
sleep 1
sudo apt-get update
sudo apt-get install openjdk-7-jdk
y
sudo apt-get update && sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev openjdk-6-jre openjdk-6-jdk pngcrush schedtool libxml2 libxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib
y
clear
echo Dependencies have been installed!
sleep 4
clear
echo Installing REPO in 5 Seconds...
sleep 1
echo Installing REPO in 4 Seconds...
sleep 1
echo Installing REPO in 3 Seconds...
sleep 1
echo Installing REPO in 2 Seconds...
sleep 1
echo Installing REPO in 1 Seconds...
sleep 1
mkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
clear
echo REPO has been Downloaded!
sleep 3
clear
echo Where do you want to initialize RR source? Enter the desired directory name similar to this:
echo " /home/$USER/rr or /media/$user/yourdrive/rr"
read rrpath
clear
sleep 2
echo Creating and Initializing RR Source at $rrpath in 5...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 4...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 3...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 2...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 1...
sleep 1
mkdir -p $rrpath
cd $rrpath
repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b lollipop
clear
echo RR Source Code has been initialized!
sleep 4
clear
echo Starting Source Download...
sleep 3
        echo Enter number of jobs to repo sync with.
        echo Type 4 for connections lower than 15mbps<commit_msg>Update setup.sh<commit_after>#!/bin/bash
clear
echo Installing Dependencies in 5 Seconds...
sleep 1
echo Installing Dependencies in 4 Seconds...
sleep 1
echo Installing Dependencies in 3 Seconds...
sleep 1
echo Installing Dependencies in 2 Seconds...
sleep 1
echo Installing Dependencies in 1 Seconds...
sleep 1
sudo apt-get update
sudo apt-get install openjdk-7-jdk
y
sudo apt-get update && sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev openjdk-6-jre openjdk-6-jdk pngcrush schedtool libxml2 libxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib
y
clear
echo Dependencies have been installed!
sleep 4
clear
echo Installing REPO in 5 Seconds...
sleep 1
echo Installing REPO in 4 Seconds...
sleep 1
echo Installing REPO in 3 Seconds...
sleep 1
echo Installing REPO in 2 Seconds...
sleep 1
echo Installing REPO in 1 Seconds...
sleep 1
mkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
clear
echo REPO has been Downloaded!
sleep 3
clear
echo Where do you want to initialize RR source? Enter the desired directory name similar to this:
echo " /home/$USER/rr or /media/$USER/yourdrive/rr"
read rrpath
clear
sleep 2
echo Creating and Initializing RR Source at $rrpath in 5...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 4...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 3...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 2...
sleep 1
echo Creating and Initializing RR Source at $rrpath in 1...
sleep 1
mkdir -p $rrpath
cd $rrpath
repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b lollipop
clear
echo RR Source Code has been initialized!
sleep 4
clear
echo Starting Source Download...
sleep 3
        echo Enter number of jobs to repo sync with.
        echo Type 4 for connections lower than 15mbps
{'fraction_non_alphanumeric': 0.07125367286973555, 'fraction_numerical': 0.029382957884427033, 'mean_word_length': 3.9515151515151516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '690502', 'n_tokens_mistral': 1428, 'n_tokens_neox': 1265, 'n_words': 568}