<commit_before>#!/bin/bash
cd /home/azureuser/
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
apt-get update
MONGODBVERSION=mongodb-linux-x86_64-3.0.0-rc10
curl -sOL https://fastdl.mongodb.org/linux/$MONGODBVERSION.tgz
tar xvf $MONGODBVERSION.tgz
mv $MONGODBVERSION/bin/* /usr/local/bin
apt-get install git -y
export LC_ALL=C
grep -q -F 'LC_ALL=C' /etc/default/locale || echo 'LC_ALL=C' >> /etc/default/locale
sudo -u azureuser git clone https://github.com/ivanfioravanti/easy-azure-opensource
cd easy-azure-opensource/mongodb/devShardedCluster
sudo ./mongoCluster.sh init
sudo -u azureuser ./mongoCluster.sh start
sudo -u azureuser ./mongoCluster.sh configure<commit_msg>Config script for Sharded Cluster updated to 3.0.0-rc11<commit_after>#!/bin/bash
cd /home/azureuser/
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
apt-get update
MONGODBVERSION=mongodb-linux-x86_64-3.0.0-rc11
curl -sOL https://fastdl.mongodb.org/linux/$MONGODBVERSION.tgz
tar xvf $MONGODBVERSION.tgz
mv $MONGODBVERSION/bin/* /usr/local/bin
apt-get install git -y
export LC_ALL=C
grep -q -F 'LC_ALL=C' /etc/default/locale || echo 'LC_ALL=C' >> /etc/default/locale
sudo -u azureuser git clone https://github.com/ivanfioravanti/easy-azure-opensource
cd easy-azure-opensource/mongodb/devShardedCluster
sudo ./mongoCluster.sh init
sudo -u azureuser ./mongoCluster.sh start
sudo -u azureuser ./mongoCluster.sh configure
{'fraction_non_alphanumeric': 0.1347980997624703, 'fraction_numerical': 0.02315914489311164, 'mean_word_length': 4.453074433656958, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '7583599', 'n_tokens_mistral': 697, 'n_tokens_neox': 637, 'n_words': 134}