Mac setup for development inspired from Lapwing Labs

Mac setup for development: "To get my automation going"

The easiest way to setup your mac and make it usable is to follow the automation script shared here. I noticed the blog entry was down for past few days but was able to see it working now. But if in case the blog is down., here is the link to GITHUB entry to reach the author. Fantastic write up., and here are my scripts that is installed in my box.,

step 1

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

step 2

## Update homebrew recipes
brew update

Step 3

# Install GNU core utilities (those that come with OS X are outdated)
brew install coreutils
#
## Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
#
## Install Bash 4
brew install bash
#
## Install more recent versions of some OS X tools
brew tap homebrew/dupes
brew install homebrew/dupes/grep

PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH

step 4

binaries=(
graphicsmagick
webkit2png
ffmpeg
python
trash
node
tree
ack
hub
git
)

echo "installing binaries..."
brew install ${binaries[@]}
brew cleanup

Step 6

brew install caskroom/cask/brew-cask
Apps
apps=(
dropbox
google-chrome
hazel
qlmarkdown
spotify
arq
flash
iterm2
sublime-text3
atom
mailbox
quicklook-json
skype
)
# Install apps to /Applications
# Default is: /Users/$user/Applications
echo "installing apps..."
brew cask install --appdir="/Applications" ${apps[@]}

Step 7

brew tap caskroom/versions

Step 8

pip install mackup

Step 9 before this step make sure your dropbox is up and running.

mackup backup

finally the hack script for all good mac defaults 
mac script

(Via .lapwinglabs.com)