<commit_before>#!/bin/sh
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

# If not OSX, just exit cleanly
if [ "$(uname -s)" != "Darwin" ]; then
  exit 0
fi

# Check for Homebrew
if test ! "$(which brew)"
then
  echo "  Installing Homebrew for you."
  ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" > /tmp/homebrew-install.log
fi

# Install homebrew packages
brew install grc coreutils spark ctags

# Install reattach-to-user-namespace
# This makes sure that tmux + vim is able to use the system clipboard
brew install reattach-to-user-namespace --wrap-pbcopy-and-pbpaste

exit 0<commit_msg>Always update outdated homebrew packages<commit_after>#!/bin/sh
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

# If not OSX, just exit cleanly
if [ "$(uname -s)" != "Darwin" ]; then
  exit 0
fi

# Check for Homebrew
if test ! "$(which brew)"
then
  echo "  Installing Homebrew for you."
  ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" > /tmp/homebrew-install.log
fi

# Update all outdates packages
brew update && brew upgrade `brew outdated`

# Install homebrew packages
brew install grc coreutils spark ctags

# Install reattach-to-user-namespace
# This makes sure that tmux + vim is able to use the system clipboard
brew install reattach-to-user-namespace --wrap-pbcopy-and-pbpaste

exit 0
{'fraction_non_alphanumeric': 0.10702113156100886, 'fraction_numerical': 0.0027266530334014998, 'mean_word_length': 3.993197278911565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '190478', 'n_tokens_mistral': 487, 'n_tokens_neox': 465, 'n_words': 173}