<commit_before>#!/bin/sh


# ==================================================================
# COMMAND LINE PACKAGES (WITH HOMEBREW)
# ==================================================================

# Install Homebrew, then use it to install OSX packages
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install vim
brew install node
brew install haskell-stack


# ==================================================================
# GRAPHICAL APPS (WITH HOMEBREW CASK)
# ==================================================================

# Install Homebrew Cask, then use it to install OSX graphical apps
brew tap caskroom/cask
brew cask install anki
brew cask install dash
brew cask install google-chrome
brew cask install google-photos-backup
brew cask install iterm2
brew cask install karabiner
brew cask install screenflow
brew cask install seil
brew cask install sketch
brew cask install skitch
brew cask install slack
brew cask install slate
brew cask install spotify


# ==================================================================
# DOTFILES
# ==================================================================

# Create dotfile symlinks in home directory
dotfilesDirectoryPath=~/projects/settings/dotfiles
files=".bash_profile .git-prompt.sh .git-completion.sh .gitconfig .vimrc .npmrc .slate"
cd $dotfilesDirectoryPath
for file in $files; do
  ln -s $dotfilesDirectoryPath/$file ~/$file
done


# ==================================================================
# VIM PLUGINS (WITH VUNDLE)
# ==================================================================

# Install Vundle, then use it to install Vim plugins
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall


# ==================================================================
# OSX SYSTEM SETTINGS
# ==================================================================

# Show hidden files
defaults write com.apple.finder AppleShowAllFiles YES

# Set screenshot output folder
defaults write com.apple.screencapture location ~/Downloads/

# ==================================================================
# END
# ==================================================================

echo "Restart shell to see changes"<commit_msg>Clean up comment formatting<commit_after>#!/bin/sh


# ==================================================================
# COMMAND LINE PACKAGES (WITH HOMEBREW)
# ==================================================================

# Install Homebrew, then use it to install OSX packages
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install vim
brew install node
brew install haskell-stack


# ==================================================================
# GRAPHICAL APPS (WITH HOMEBREW CASK)
# ==================================================================

# Install Homebrew Cask, then use it to install OSX graphical apps
brew tap caskroom/cask
brew cask install anki
brew cask install dash
brew cask install google-chrome
brew cask install google-photos-backup
brew cask install iterm2
brew cask install karabiner
brew cask install screenflow
brew cask install seil
brew cask install sketch
brew cask install skitch
brew cask install slack
brew cask install slate
brew cask install spotify


# ==================================================================
# DOTFILES
# ==================================================================

# Create dotfile symlinks in home directory
dotfilesDirectoryPath=~/projects/settings/dotfiles
files=".bash_profile .git-prompt.sh .git-completion.sh .gitconfig .vimrc .npmrc .slate"
cd $dotfilesDirectoryPath
for file in $files; do
  ln -s $dotfilesDirectoryPath/$file ~/$file
done


# ==================================================================
# VIM PLUGINS (WITH VUNDLE)
# ==================================================================

# Install Vundle, then use it to install Vim plugins
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall


# ==================================================================
# OSX SYSTEM SETTINGS
# ==================================================================

# Show hidden files
defaults write com.apple.finder AppleShowAllFiles YES

# Set screenshot output folder
defaults write com.apple.screencapture location ~/Downloads/


# ==================================================================
# END
# ==================================================================

echo "Restart shell to see changes"
{'fraction_non_alphanumeric': 0.3879769771903645, 'fraction_numerical': 0.00042634832658281814, 'mean_word_length': 7.103626943005182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5722715', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1019, 'n_words': 356}