Skip to content

Instantly share code, notes, and snippets.

@danbjoseph
Last active June 24, 2018 09:40
Show Gist options
  • Save danbjoseph/b8bc4ba8d2bdab49176eead85b443ad6 to your computer and use it in GitHub Desktop.
Save danbjoseph/b8bc4ba8d2bdab49176eead85b443ad6 to your computer and use it in GitHub Desktop.
Mac OS X setup

OSX preferences

#show status bar in finder
defaults write com.apple.finder ShowStatusBar -bool true

#show path bar in finder
defaults write com.apple.finder ShowPathbar -bool true

#avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

#set the dock to auto-hide (takes effect after restart)
defaults write com.apple.dock autohide -bool true

#disable backswipe in chrome
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false

#give the computer a good name (i like "eckert")
sudo scutil --set HostName eckert

#change save location for screenshots (need to replace username with your actual username)
mkdir ~/Pictures/screenshots
defaults write com.apple.screencapture location /Users/username/Pictures/screenshots

shell

#xcode
xcode-select --install
#choose Get Xcode to install XCode and the command line develiper tools from the App Store
#then install the above

#install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

#various things
brew install git wget
brew install imagemagick

#switch to zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
#syntax highlighting
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

git (for when using GitHub)

git config --global user.name "username"
git config --global user.email "email@email.email"

apps

#install brew cask (cask lets us install other apps via terminal)
brew install caskroom/cask/brew-cask

#set the app directory
export HOMEBREW_CASK_OPTS="--appdir=/Applications"

# because iphones are overrated 
brew cask install android-file-transfer

#java
brew cask install java

#avast antivirus
brew cask install avast-security

#web browsers
brew cask install google-chrome
brew cask install firefox

#atom text editor (for writing code)
brew cask install atom
# helpful atom packages: sublime-style-column-selection

#sublime for viewing big text files
brew cask install sublime-text

#licecap for animated gif screengrabs
brew cask install licecap

#cloud storage (if you use these services)
brew cask install dropbox
brew cask install google-backup-and-sync #used to be `google-drive`

#creative cloud (if you have a license for adobe products)
brew cask install adobe-creative-cloud

#virtualbox for virtual machines (e.g. if you need to be able to run Windows)
brew cask install virtualbox
brew cask install virtualbox-extension-pack

#cyberduck for ftp and s3
brew cask install cyberduck

#slack for team communication
brew cask install slack

#skype for more communication
brew cask install skype

#flux to sleep at night
brew cask install flux

#namechanger to easily bulk rename files and folders
brew cask install namechanger

#vlc as a good video player
brew cask install vlc

#install google earth
brew cask install google-earth

#install josm
brew cask install josm
#josm plugins: https://gist.github.com/danbjoseph/11b9cff2cdf08140152d
#later when an update is needed, need to run
brew update
brew cask install --force josm

#xquartz (needed for QGIS)
brew cask install xquartz

#for messing around with mbtiles file metadata
brew cask install sqlitestudio

tools

DONT DO THIS ONE?!
#pyenv
#https://github.com/pyenv/pyenv#homebrew-on-mac-os-x
brew install pyenv
#pyenv-virtualenv
#https://github.com/pyenv/pyenv-virtualenv#installing-with-homebrew-for-os-x-users
brew install pyenv-virtualenv
#edit ~/.zshenv and add the following to the file
export PATH=$PATH:/usr/local/bin
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
#mongodb for testing when developing some websites
brew install mongodb

#for reading image exif data
brew install exiftool

#for editing images from terminal
brew install graphicsmagick
brew install imagemagick

#for unzipping things
brew install p7zip

#an alternative to `python -m SimpleHTTPServer`
npm install -g http-server

#R and RStudio for stats
brew tap homebrew/science
brew install r
brew cask install rstudio

#ruby
https://rvm.io/rvm/install

#jekyll for web development testing
#http://jekyll.tips/jekyll-casts/install-jekyll-on-os-x/
sudo gem install jekyll 
#this might be different with RVM

GIS

python from https://www.python.org/downloads/

#https://gis.stackexchange.com/questions/80954/os-x-mavericks-accessing-gdal-from-terminal-issue
#edit ~/.zshenv and add the following to the file
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

QGIS from http://www.kyngchaos.com/software/qgis

node

#node
#use nvm
#https://github.com/creationix/nvm

stuff dale did that i haven't yet

brew install gist git-flow colordiff imagemagick python bash-completion
brew install duck
brew cask install adobe-reader
#keka for unziping 7z files
brew cask install keka
#switch to iterm2
brew cask install iterm2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment