<commit_before># Ask for admin password upfront
sudo -v

which -s brew
if [[ $? != 0 ]] ; then
  echo "Installing brew..."
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Update brew
echo "Updating brew..."
brew update &>/dev/null
brew tap homebrew/dupes &>/dev/null
brew tap homebrew/boneyard &>/dev/null
brew install homebrew/dupes/grep &>/dev/null

#Upgrade already installed formulae
brew upgrade --all

# Install Zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

# Install Cask
echo "Checking brew cask..."
brew install caskroom/cask/brew-cask &>/dev/null
brew upgrade brew-cask &>/dev/null

which -s java || brew cask install java
which -s git || brew install git
which -s sbt || brew install sbt
which -s scala || brew install scala
which -s node || brew install node
which -s mysql || brew install mysql
which -s wget || brew install wget
which -s ack || brew install ack

# Generic softwares
brew cask install caffeine
brew cask install scroll-reverser
brew cask install avast
brew cask install evernote
brew cask install dropbox
brew cask install firefox
brew cask install google-chrome<commit_msg>Add nylas-n1(open source mail client) (#4)<commit_after># Ask for admin password upfront
sudo -v

which -s brew
if [[ $? != 0 ]] ; then
  echo "Installing brew..."
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Update brew
echo "Updating brew..."
brew update &>/dev/null
brew tap homebrew/dupes &>/dev/null
brew tap homebrew/boneyard &>/dev/null
brew install homebrew/dupes/grep &>/dev/null

#Upgrade already installed formulae
brew upgrade --all

# Install Zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

# Install Cask
echo "Checking brew cask..."
brew install caskroom/cask/brew-cask &>/dev/null
brew upgrade brew-cask &>/dev/null

which -s java || brew cask install java
which -s git || brew install git
which -s sbt || brew install sbt
which -s scala || brew install scala
which -s node || brew install node
which -s mysql || brew install mysql
which -s wget || brew install wget
which -s ack || brew install ack

# Generic softwares
brew cask install caffeine
brew cask install scroll-reverser
brew cask install avast
brew cask install evernote
brew cask install dropbox
brew cask install nylas-n1
brew cask install firefox
brew cask install google-chrome
{'fraction_non_alphanumeric': 0.10746147607461476, 'fraction_numerical': 0.00202757502027575, 'mean_word_length': 3.8948412698412698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '2037623', 'n_tokens_mistral': 814, 'n_tokens_neox': 791, 'n_words': 306}