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

# Install command-line tools using Homebrew.
sh ./osprep.sh

# Ask for the administrator password upfront.
sudo -v

# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
  echo "Installing homebrew..."
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Make sure we’re using the latest Homebrew.
brew update

# Upgrade any already-installed formulae.
brew upgrade

# Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install iftop iperf nmap tcpflow tcptrace tcpreplay

# Install essential binaries.
brew install git

brew install mas

# Core casks
brew cask install iterm2
#brew cask install --appdir="~/Applications" xquartz

# essential apps
brew cask install atom
brew cask install macdown
brew cask install google-chrome
brew cask install firefox
brew cask install teamviewer
brew cask install skype
#brew cask install slack
brew cask install dropbox
brew cask install numi
brew cask install alfred
brew cask install keyboard-maestro
brew cask install --appdir="/Applications/Utilities" onyx

# Development tool casks
mkdir /Applications/_dev

brew cask install java

#brew cask install virtualbox
#brew cask install vagrant
# Install Docker, which requires virtualbox
brew install docker
brew install boot2docker

brew cask install --appdir="/Applications/_dev" 0xed
brew cask install --appdir="/Applications/_dev" eclipse-jee
brew cask install --appdir="/Applications/_dev" github-desktop
brew cask install --appdir="/Applications/_dev" jd-gui
brew cask install --appdir="/Applications/_dev" sourcetree
brew cask install --appdir="/Applications/_dev" staruml
brew cask install --appdir="/Applications/_dev" visual-studio-code
brew cask install wireshark

# Misc casks
brew cask install aerial #appletv screen saver<commit_msg>Update brew.sh<commit_after>#!/usr/bin/env bash

# Install command-line tools using Homebrew.
sh ./osprep.sh

# Ask for the administrator password upfront.
sudo -v

# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
  echo "Installing homebrew..."
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Make sure we’re using the latest Homebrew.
brew update

# Upgrade any already-installed formulae.
brew upgrade

# Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install iftop iperf nmap tcpflow tcptrace tcpreplay

# Install essential binaries.
brew install git

brew install mas

# Core casks
brew cask install iterm2
#brew cask install --appdir="~/Applications" xquartz

# essential apps
brew cask install atom
brew cask install macdown
brew cask install google-chrome
brew cask install firefox
brew cask install teamviewer
brew cask install skype
#brew cask install slack
brew cask install dropbox
brew cask install numi
brew cask install alfred
brew cask install keyboard-maestro
brew cask install --appdir="/Applications/Utilities" onyx

# Development tool casks
mkdir /Applications/_dev

brew cask install java

#brew cask install virtualbox
#brew cask install vagrant
# Install Docker, which requires virtualbox
brew install docker
brew install boot2docker

brew cask install --appdir="/Applications/_dev" 0xed
brew cask install --appdir="/Applications/_dev" eclipse-jee
brew cask install --appdir="/Applications/_dev" github-desktop
brew cask install --appdir="/Applications/_dev" jd-gui
brew cask install --appdir="/Applications/_dev" sourcetree
brew cask install --appdir="/Applications/_dev" staruml
brew cask install --appdir="/Applications/_dev" visual-studio-code
brew cask install --appdir="/Applications/_dev" dash

brew cask install wireshark

# Misc casks
brew cask install aerial #appletv screen saver
{'fraction_non_alphanumeric': 0.08598494049064853, 'fraction_numerical': 0.003400534369686665, 'mean_word_length': 4.557354925775979, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '755328', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1204, 'n_words': 485}