<commit_before>#!/bin/sh

## Configuration

# Taps to… tap before installing
TAPS=(
  "homebrew/completions"
  "homebrew/dupes"
  "homebrew/php"
  "homebrew/versions"
)

# Packages to install
PACKAGES=(
  "archey"
  "bash-completion"
  "coreutils"
  "editorconfig"
  "gem-completion"
  "git"
  "grc"
  "htop-osx"
  "mysql"
  "nginx"
  "node"
  "php54"
  "python"
  "ruby-completion"
  "tidy-html5"
  "tmux"
  "tree"
  "unrar"
  "wget"
  "youtube-dl"
)

# Check for Homebrew
if test ! $(which brew)
then
  echo "  Installing Homebrew for you."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Tap the taps (unless we already have them tapped)
echo "Checking for any taps to tap..."
for TAP in ${TAPS[@]} ; do
  if ! brew tap | grep -q "^${TAPS}\$"; then
    brew tap $TAP
  fi
done

# Install if packages are not already installed
echo "Checking for packages to install..."
for PACKAGE in ${PACKAGES[@]} ; do
  if ! brew list -1 | grep -q "^${PACKAGE}\$"; then
    brew install $PACKAGE
  fi
done

exit 0<commit_msg>Clean up syntax<commit_after>#!/bin/sh

## Configuration

# Taps to… tap before installing
TAPS=(
  "homebrew/completions"
  "homebrew/dupes"
  "homebrew/php"
  "homebrew/versions"
)

# Packages to install
PACKAGES=(
  "archey"
  "bash-completion"
  "coreutils"
  "editorconfig"
  "gem-completion"
  "git"
  "grc"
  "htop-osx"
  "mysql"
  "nginx"
  "node"
  "php54"
  "python"
  "ruby-completion"
  "tidy-html5"
  "tmux"
  "tree"
  "unrar"
  "wget"
  "youtube-dl"
)

# Check for Homebrew
if test ! $(which brew)
then
  echo "  Installing Homebrew for you."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Tap the taps (unless we already have them tapped)
echo "Checking for any taps to tap..."
for TAP in ${TAPS[@]} ; do
  if ! brew tap | grep -q "^${TAPS}\$" ; then
    brew tap $TAP
  fi
done

# Install if packages are not already installed
echo "Checking for packages to install..."
for PACKAGE in ${PACKAGES[@]} ; do
  if ! brew list -1 | grep -q "^${PACKAGE}\$" ; then
    brew install $PACKAGE
  fi
done

exit 0
{'fraction_non_alphanumeric': 0.14540337711069418, 'fraction_numerical': 0.004690431519699813, 'mean_word_length': 3.2917505030181085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '69750', 'n_tokens_mistral': 863, 'n_tokens_neox': 808, 'n_words': 243}