<commit_before>#!/bin/bash

TAPS=('caskroom/cask' 'caskroom/versions' 'homebrew/versions' 'peco/peco' 'motemen/ghq')
for t in ${TAPS[@]}
do
  exists=`brew tap | grep $t | wc -l`
  [ $exists -lt 1 ] && brew tap $t
done

PACKAGES=(git tmux mysql55 reattach-to-user-namespace csshx nkf brew-cask htop peco ghq wget maven jq gradle)
for p in ${PACKAGES[@]}
do
  brew list $p >& /dev/null
  [ $? -eq 0 ] && continue
  if [ "xmysql55" = "x$p" ]; then
    brew install $p && brew link $p --force
  else
    brew install $p
  fi
done

brew cleanup

CASKS=(java6 java7)
for c in ${CASKS[@]}
do
  brew cask list $c >& /dev/null
  [ $? -ne 0 ] && brew cask install $c<commit_msg>add watch.<commit_after>#!/bin/bash

TAPS=('caskroom/cask' 'caskroom/versions' 'homebrew/versions' 'peco/peco' 'motemen/ghq')
for t in ${TAPS[@]}
do
  exists=`brew tap | grep $t | wc -l`
  [ $exists -lt 1 ] && brew tap $t
done

PACKAGES=(\
  git\
  tmux\
  mysql55\
  reattach-to-user-namespace\
  csshx\
  nkf\
  brew-cask\
  htop\
  peco\
  ghq\
  wget\
  maven\
  jq\
  gradle\
  redis\
  tree \
  watch
)
for p in ${PACKAGES[@]}
do
  brew list $p >& /dev/null
  [ $? -eq 0 ] && continue
  if [ "xmysql55" = "x$p" ]; then
    brew install $p && brew link $p --force
  else
    brew install $p
  fi
done

brew cleanup

CASKS=(java6 java7)
for c in ${CASKS[@]}
do
  brew cask list $c >& /dev/null
  [ $? -ne 0 ] && brew cask install $c
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 2.7768817204301075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '2183933', 'n_tokens_mistral': 634, 'n_tokens_neox': 597, 'n_words': 178}