<commit_before>#!/bin/bash

# Start this: bash <(curl https://raw2.github.com/bukodi/devops/master/scripts/apt-get-all.sh)

START_TIME=$(date)
echo "Start: $START_TIME"

#Add keys, and URLs
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
echo $'\ndeb http://pkg.jenkins-ci.org/debian binary/' >> /etc/apt/sources.list

wget -q -O - http://www.webmin.com/jcameron-key.asc | apt-key add -
echo $'\ndeb http://download.webmin.com/download/repository sarge contrib' >> /etc/apt/sources.list
echo $'deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib' >> /etc/apt/sources.list

#Update
apt-get update
apt-get -y upgrade

apt-get -y install mc \
 openjdk-7-jdk maven \
 jenkins jenkins-cli \
 xvfb xfonts-base xfonts-75dpi xfonts-100dpi \
 firefox \
 apache2 \
 webmin shellinabox \
 tomcat7 tomcat7-admin tomcat7-user \
 git-core

echo "Completed. ( $START_TIME - $(date) )"<commit_msg>Update apt-get-all.sh<commit_after>#!/bin/bash

# Start this: bash <(curl https://raw2.github.com/bukodi/devops/master/scripts/apt-get-all.sh)

START_TIME=$(date)
echo "Start: $START_TIME"

#Add keys, and URLs
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
echo $'\ndeb http://pkg.jenkins-ci.org/debian binary/' >> /etc/apt/sources.list

wget -q -O - http://www.webmin.com/jcameron-key.asc | apt-key add -
echo $'\ndeb http://download.webmin.com/download/repository sarge contrib' >> /etc/apt/sources.list
echo $'deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib' >> /etc/apt/sources.list

#Update
apt-get update
apt-get -y upgrade

apt-get -y install mc \
 xmlstarlet \
 openjdk-7-jdk maven \
 jenkins jenkins-cli \
 xvfb xfonts-base xfonts-75dpi xfonts-100dpi \
 firefox \
 apache2 \
 webmin shellinabox \
 tomcat7 tomcat7-admin tomcat7-user \
 git-core

echo "Completed. ( $START_TIME - $(date) )"
{'fraction_non_alphanumeric': 0.1608832807570978, 'fraction_numerical': 0.011566771819137749, 'mean_word_length': 3.4988179669030735, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3912223', 'n_tokens_mistral': 773, 'n_tokens_neox': 730, 'n_words': 148}