<commit_before>#!/usr/bin/env sh

# NOTE: Before running this script, make sure that XCode commandline tools are installed and its terms/conditions accepted.
# xcode-select --install

# download and install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# taps
brew tap homebrew/dupes 
brew tap homebrew/services 
brew tap homebrew/versions 
brew tap homebrew/php 
brew tap caskroom/cask 
brew tap caskroom/versions

# update after tapping
brew update && brew upgrade
brew cleanup && brew cask cleanup

# dev
brew install bash-completion git tig
brew cask install emacs vim iterm2-beta sublime-text webstorm atom java
brew linkapps emacs

# lib
brew install mysql ruby s3cmd wget
brew install --with-mysql --with-cgi php55

# apps
brew cask install 1password dropbox google-chrome google-drive slack spotify skype

# nvm
brew install nvm
echo 'export NVM_DIR="$HOME/.nvm"' > ~/.bash_profile
echo "source $(brew --prefix nvm)/nvm.sh" > ~/.bash_profile
source ~/.bash_profile

# node
nvm install v6.3.1
nvm alias default v6.3.1
nvm use default

# npm packages
npm install -g npm
npm install -g cordova
npm install -g ionic
npm install -g angular-cli ember-cli firebase-tools
npm install -g bower bower-check-updates npm-check-updates
npm install -g babel-cli grunt-cli gulp jspm karma node-inspector nodemon protractor rimraf supervisor typescript typings uglify-js watchman webpack webpack-dev-server yo

# vm
brew cask install virtualbox virtualbox-extension-pack vagrant vagrant-manager

# android
brew install android-sdk android-ndk<commit_msg>Update osx-setup.sh<commit_after>#!/usr/bin/env sh

# NOTE: Before running this script, make sure that XCode commandline tools are installed and its terms/conditions accepted.
# xcode-select --install

# download and install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# taps
brew tap homebrew/dupes 
brew tap homebrew/services 
brew tap homebrew/versions 
brew tap homebrew/php 
brew tap caskroom/cask 
brew tap caskroom/versions

# update after tapping
brew update && brew upgrade
brew cleanup && brew cask cleanup

# dev
brew install bash-completion git tig
brew cask install emacs vim iterm2-beta sublime-text webstorm atom java
brew linkapps emacs

# lib
brew install mysql ruby s3cmd wget
brew install --with-mysql --with-cgi php55

# apps
brew cask install 1password dropbox google-chrome google-drive slack spotify skype

# nvm
brew install nvm
echo 'export NVM_DIR="$HOME/.nvm"' > ~/.bash_profile
echo "source $(brew --prefix nvm)/nvm.sh" > ~/.bash_profile
source ~/.bash_profile

# node
nvm install v6.3.1
nvm use --delete-prefix v6.3.1
nvm alias default v6.3.1
nvm use default

# npm packages
npm install -g npm
npm install -g cordova
npm install -g ionic
npm install -g angular-cli ember-cli firebase-tools
npm install -g bower bower-check-updates npm-check-updates
npm install -g babel-cli grunt-cli gulp jspm karma node-inspector nodemon protractor rimraf supervisor typescript typings uglify-js watchman webpack webpack-dev-server yo

# vm
brew cask install virtualbox virtualbox-extension-pack vagrant vagrant-manager

# android
brew install android-sdk android-ndk
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.007723200494284831, 'mean_word_length': 4.334431630971993, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '857255', 'n_tokens_mistral': 1067, 'n_tokens_neox': 1002, 'n_words': 382}