<commit_before>#!/bin/bash

function command_exists() {
    \command -v ${1} > /dev/null 2>&1 || {
        return 1
    }
}

if ! command_exists "gcc"; then
    xcode-select --install
fi

if ! command_exists "rvm"; then
    \curl -L https://get.rvm.io | bash -s stable --autolibs=read-fail --auto-dotfiles
    source ~/.rvm/scripts/rvm
    rvm install ruby
    type rvm | head -1
fi

if ! command_exists "brew"; then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

source $HOME/.bash_profile

if ! command_exists "ansible"; then
    brew install ansible
fi

if ! command_exists "python"; then
    brew install python --framework --with-brewed-openssl
fi

if ! command_exists "pip"; then
    sudo easy_install pip
fi

if command_exists "rvm"; then
    rvm autolibs homebrew
fi

if command_exists "ansible-playbook"; then
    ansible-playbook --ask-sudo-pass -i ansible/inventories/osx ansible/site.yml --connection=local
fi

if command_exists "brew"; then
    brew linkapps
    brew cleanup
fi

echo "Completed... A restart might be requried. You may need to reload your bash_profile - execute this command:\n   source ~/.bash_profile"<commit_msg>remove pip and python installs from init.sh<commit_after>#!/bin/bash

function command_exists() {
    \command -v ${1} > /dev/null 2>&1 || {
        return 1
    }
}

if ! command_exists "gcc"; then
    xcode-select --install
fi

if ! command_exists "rvm"; then
    \curl -L https://get.rvm.io | bash -s stable --autolibs=read-fail --auto-dotfiles
    source ~/.rvm/scripts/rvm
    rvm install ruby
    type rvm | head -1
fi

if ! command_exists "brew"; then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

source "${HOME}/.bash_profile"

if ! command_exists "ansible"; then
    brew install ansible
fi

if command_exists "ansible-playbook"; then
    ansible-playbook --ask-sudo-pass -i ansible/inventories/osx ansible/site.yml --connection=local
fi

if command_exists "rvm" && command_exists "brew"; then
    rvm autolibs homebrew
fi

echo "Completed... A restart might be requried. You may need to reload your bash_profile - execute this command:\n   source ~/.bash_profile"
{'fraction_non_alphanumeric': 0.11791179117911792, 'fraction_numerical': 0.004500450045004501, 'mean_word_length': 3.2022684310018903, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5569943', 'n_tokens_mistral': 774, 'n_tokens_neox': 736, 'n_words': 228}