Skip to content

Instantly share code, notes, and snippets.

@dlai0001
Last active December 6, 2016 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlai0001/074f6555e5fe223a379e93a513e1e509 to your computer and use it in GitHub Desktop.
Save dlai0001/074f6555e5fe223a379e93a513e1e509 to your computer and use it in GitHub Desktop.
#!/bin/bash
############################################################
##### Easy setup script for Mac OSX Yosemite or Higher #####
##### Sets up apps and tools useful to SDETs on Mac. #####
##### #####
##### Note: you may be prompted to enter your password #####
##### At certain times during the install #####
############################################################
# install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# removing mac system python in favor of installing latest versions from homebrew.
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7
sudo rm -rf "/Applications/Python 2.7"
cd /usr/local/bin/
ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/2.7' | awk '{print $9}' | tr -d @ | xargs rm
# install python3 and virtual env
brew install python
brew install python3
pip3 install virtualenv
# install browsers and browser drivers for selenium.
brew cask install google-chrome
brew cask install firefox
brew install chromedriver # chrome selenium hooks
brew install geckodriver # firefox selenium hooks
brew install selenium-server-standalone # selenium server for safari
# VM and Virtualization
brew cask install dockertoolbox # Installs docker for running containers
brew cask install virtualbox # Oracle virtualbox for running VMs
brew cask install vagrant # Vagrant
# collaboration tools
brew cask install slack # Slack chat is used to communicate between teams.
brew cask install skype
# install dev tools
brew cask install atom # atom, an extensible code editor
brew cask install iterm2 # A good Mac Terminal client with multi tab and color support.
brew cask install sourcetree # visual client for git (and other) source control
# convenience tools
brew cask install jing # Easy to use screen capture & screen recording tool.
brew cask install 1password # Tool to store the many passwords you'll be using in an encrypted keychain.
brew cask install gpgtools # GPG encrpytion/signing for emails.
brew cask install disk-inventory-x # Manging diskspace
# Database tools
brew cask install sequel-pro # SQL Database client
brew cask install pg-commander # A Postgres SQL client
brew cask install mongochef # MongoDB client
# Network and security tools
brew cask install charles # network debugging proxy
brew install skipfish # Security penetration scanning tool
brew cask install owasp-zap # Web penetration tool OWASP Zed Attack Proxy
# Mobile Utilities
brew cask install androidtool # Taking screenshots and vids from android to PC
brew cask install appium # Mobile automation
## Installing node and node dependant tools.
brew install node
npm install -g chance-cli # Useful utility for generating random test data like Crecit Cards, addresses, etc..
## Append Bash Autocomplete for git commands
mkdir ~/MiscFiles
curl -o ~/MiscFiles/git-completion.bash 'https://github.com/git/git/blob/master/contrib/completion/git-completion.bash'
echo "source ~/MiscFiles/git-autocomplete-script/git-completion.bash" >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment