<commit_before>source common/functions.sh

# homebrew
if which brew &> /dev/null; then
    msg_checking "homebrew"
else
    msg_install "Homebrew" "ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    msg_ok "OK"
fi

# phantomjs
if which phantomjs &> /dev/null; then
    msg_checking "phantomjs"
else
    msg_install "phantomjs" "brew install phantomjs"
    brew install phantomjs
    msg_ok "OK"
fi

# mongo
if which mongod &> /dev/null; then
    msg_checking "mongodb"
else
    msg_install "mongodb" "brew install mongodb"
    brew install mongodb --with-openssl
    msg_ok "OK"
fi

# mysql
if which mysql &> /dev/null; then
    msg_checking "mysql"
else
    msg_install "mysql" "brew install mysql"
    brew install mysql
    unset TMPDIR
    mkdir /usr/local/var
    mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    msg_ok "OK"
fi

# ant
if which ant &> /dev/null; then
    msg_checking "ant"
else
    msg_install "ant" "brew install ant"
    brew install ant
    unset TMPDIR
    mkdir /usr/local/var
    mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    msg_ok "OK"
fi

# homebrew cask
if which brew-cask &> /dev/null; then
    msg_checking "brew-cask"
else
    msg_install "brew-cask" "brew install brew-cask"
    brew tap caskroom/cask
    brew install brew-cask
    msg_ok "OK"
fi

# virtualbox
if which brew cask list virtualbox &> /dev/null; then
   msg_checking "virtualbox"
else
   msg_install "virtualbox" "brew cask install virtualbox"
   brew cask install virtualbox
   msg_ok "OK"
fi

# vagrant
if which brew cask list vagrant &> /dev/null; then
   msg_checking "vagrant"
else
   msg_install "vagrant" "brew cask install vagrant"
   brew cask install vagrant
   msg_ok "OK"
fi

# vagrant
if which brew cask list vagrant-manager &> /dev/null; then
   msg_checking "vagrant-manager"
else
   msg_install "vagrant-manager" "brew cask install vagrant-manager"
   brew cask install vagrant-manager
   msg_ok "OK"
fi

## google-chrome
#if which brew cask list google-chrome &> /dev/null; then
#    msg_checking "google-chrome"
#else
#    msg_install "google-chrome" "brew cask install google-chrome"
#    brew cask install google-chrome
#    msg_ok "OK"
#fi
#
## firefox
#if which brew cask list firefox &> /dev/null; then
#    msg_checking "firefox"
#else
#    msg_install "firefox" "brew cask install firefox"
#    brew cask install firefox
#    msg_ok "OK"<commit_msg>Insert mono on brew<commit_after>source common/functions.sh

# homebrew
if which brew &> /dev/null; then
    msg_checking "homebrew"
else
    msg_install "Homebrew" "ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    msg_ok "OK"
fi

# phantomjs
if which phantomjs &> /dev/null; then
    msg_checking "phantomjs"
else
    msg_install "phantomjs" "brew install phantomjs"
    brew install phantomjs
    msg_ok "OK"
fi

# mongo
if which mongod &> /dev/null; then
    msg_checking "mongodb"
else
    msg_install "mongodb" "brew install mongodb"
    brew install mongodb --with-openssl
    msg_ok "OK"
fi

# mysql
if which mysql &> /dev/null; then
    msg_checking "mysql"
else
    msg_install "mysql" "brew install mysql"
    brew install mysql
    unset TMPDIR
    mkdir /usr/local/var
    mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    msg_ok "OK"
fi

# ant
if which ant &> /dev/null; then
    msg_checking "ant"
else
    msg_install "ant" "brew install ant"
    brew install ant
    unset TMPDIR
    mkdir /usr/local/var
    mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    msg_ok "OK"
fi

# mono | C#
# if which mono &> /dev/null; then
#     msg_checking "mono"
# else
#     msg_install "mono" "brew install mono"
#     brew install mono
#     msg_ok "OK"
# fi

# homebrew cask
if which brew-cask &> /dev/null; then
    msg_checking "brew-cask"
else
    msg_install "brew-cask" "brew install brew-cask"
    brew tap caskroom/cask
    brew install brew-cask
    msg_ok "OK"
fi

# virtualbox
if which brew cask list virtualbox &> /dev/null; then
   msg_checking "virtualbox"
else
   msg_install "virtualbox" "brew cask install virtualbox"
   brew cask install virtualbox
   msg_ok "OK"
fi

# vagrant
if which brew cask list vagrant &> /dev/null; then
   msg_checking "vagrant"
else
   msg_install "vagrant" "brew cask install vagrant"
   brew cask install vagrant
   msg_ok "OK"
fi

# vagrant-manager
if which brew cask list vagrant-manager &> /dev/null; then
   msg_checking "vagrant-manager"
else
   msg_install "vagrant-manager" "brew cask install vagrant-manager"
   brew cask install vagrant-manager
   msg_ok "OK"
fi

## google-chrome
#if which brew cask list google-chrome &> /dev/null; then
#    msg_checking "google-chrome"
#else
#    msg_install "google-chrome" "brew cask install google-chrome"
#    brew cask install google-chrome
#    msg_ok "OK"
#fi
#
## firefox
#if which brew cask list firefox &> /dev/null; then
#    msg_checking "firefox"
#else
#    msg_install "firefox" "brew cask install firefox"
#    brew cask install firefox
#    msg_ok "OK"
{'fraction_non_alphanumeric': 0.10819612809842591, 'fraction_numerical': 0.0, 'mean_word_length': 3.35618597320725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 26, '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': '2703411', 'n_tokens_mistral': 1992, 'n_tokens_neox': 1899, 'n_words': 581}