<commit_before>
_installBrew() {
  echo "\033[0;33mCheck if brew is installed.\033[0m"
  brew info 2> /dev/null
  [[ $? -eq 0 ]] && echo "\033[0;33mBrew is already installed. Skip the installation.\033[0m" && return 1
  echo "Brew is not yet installed. Performing the installation now."
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
}

_installFormula() {
  [[ "$#" != 1 ]] && return 1
  local formula=$1
  brew list $formula 1> /dev/null 2> /dev/null
  [[ $? -eq 0 ]] && echo "\033[0;33m$formula is already installed. Skip the installation.\033[0m" && return 1
  echo "$formula is not yet installed. Performing the installation now."
  brew install $formula 1>> logs/brew_install.log 2>> logs/brew_install_error.log
}

_installFormulas() {
  _installFormula sbt
  _installFormula csshx
  _installFormula fzf
  _installFormula git
  _installFormula gradle
  _installFormula libdvdcss
  _installFormula maven
  _installFormula midnight-commander
  _installFormula monkeysphere
  _installFormula mysql
  _installFormula p7zip
  _installFormula pass
  _installFormula s3cmd
  _installFormula sbt
  _installFormula scala
  _installFormula tmux
  _installFormula tree
  _installFormula zsh-syntax-highlighting
  _installFormula yubikey-personalization
  _installFormula gpg2
}<commit_msg>Exclude gpg2 from brew because i install it via gpg tools<commit_after>
_installBrew() {
  echo "\033[0;33mCheck if brew is installed.\033[0m"
  brew info 2> /dev/null
  [[ $? -eq 0 ]] && echo "\033[0;33mBrew is already installed. Skip the installation.\033[0m" && return 1
  echo "Brew is not yet installed. Performing the installation now."
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
}

_installFormula() {
  [[ "$#" != 1 ]] && return 1
  local formula=$1
  brew list $formula 1> /dev/null 2> /dev/null
  [[ $? -eq 0 ]] && echo "\033[0;33m$formula is already installed. Skip the installation.\033[0m" && return 1
  echo "$formula is not yet installed. Performing the installation now."
  brew install $formula 1>> logs/brew_install.log 2>> logs/brew_install_error.log
}

_installFormulas() {
  _installFormula sbt
  _installFormula csshx
  _installFormula fzf
  _installFormula git
  _installFormula gradle
  _installFormula libdvdcss
  _installFormula maven
  _installFormula midnight-commander
  _installFormula monkeysphere
  _installFormula mysql
  _installFormula p7zip
  _installFormula pass
  _installFormula s3cmd
  _installFormula sbt
  _installFormula scala
  _installFormula tmux
  _installFormula tree
  _installFormula zsh-syntax-highlighting
  _installFormula yubikey-personalization
#  _installFormula gpg2
}
{'fraction_non_alphanumeric': 0.09518559353178978, 'fraction_numerical': 0.033443586916574786, 'mean_word_length': 4.326810176125244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '1471598', 'n_tokens_mistral': 982, 'n_tokens_neox': 910, 'n_words': 254}