<commit_before>#!/bin/bash
# Author : <EMAIL>
# Site : www.h3manth.com
# This script helps to setup diaspora.
#

# Set extented globbing 
shopt -s extglob

# Check if the user has sudo privileges.
sudo -v >/dev/null 2>&1 || { echo $(whoami) has no sudo privileges ; exit 1; }


# Check if wget is installed 
test wget || echo "Installing wget.." && sudo apt-get install wget && echo "Installed wget.."

# Install build tools 
echo "Installing build tools.."
sudo apt-get -y --no-install-recommends install build-essential libxslt1.1 libxslt1-dev libxml2
echo "..Done installing build tools"

# Install Ruby 1.8.7 
echo "Installing ruby-full Ruby 1.8.7.." <commit_msg>Check on universe repository, if enabled or not.<commit_after>#!/bin/bash
# Author : <EMAIL>
# Site : www.h3manth.com
# This script helps to setup diaspora.
#

# Set extented globbing 
shopt -s extglob

# Check if the user has sudo privileges.
sudo -v >/dev/null 2>&1 || { echo $(whoami) has no sudo privileges ; exit 1; }

# Check if universal repository is enabled 
grep -i universe /etc/apt/sources.list >> /dev/null || echo "Please enable universe repository" && exit 1

# Check if wget is installed 
test wget || echo "Installing wget.." && sudo apt-get install wget && echo "Installed wget.."

# Install build tools 
echo "Installing build tools.."
sudo apt-get -y --no-install-recommends install build-essential libxslt1.1 libxslt1-dev libxml2
echo "..Done installing build tools"

# Install Ruby 1.8.7 
echo "Installing ruby-full Ruby 1.8.7.." 
{'fraction_non_alphanumeric': 0.1184990125082291, 'fraction_numerical': 0.019091507570770244, 'mean_word_length': 3.6200607902735564, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '4466803', 'n_tokens_mistral': 544, 'n_tokens_neox': 495, 'n_words': 189}