Skip to content

Instantly share code, notes, and snippets.

@rodonn
Created April 11, 2017 07:49
Show Gist options
  • Save rodonn/a597f8846912ff3db27860e1d5127b17 to your computer and use it in GitHub Desktop.
Save rodonn/a597f8846912ff3db27860e1d5127b17 to your computer and use it in GitHub Desktop.
# INSTALL HOMEBREW
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# High Priority app installs
brew cask install dashlane
brew cask install dropbox
brew cask install google-chrome
brew install d12frosted/emacs-plus/emacs-plus
brew cask install iterm2
brew cask install bettertouchtool
brew cask install daisydisk
# High Priority Command Line Installs
brew install fish
brew install git
brew install htop
brew install mackup
brew install parallel
brew install pandoc
brew install trash
brew install wget
brew install youtube-dl
brew install zsh
# Other app installs (some of which are slow)
brew install caskroom/fonts/font-source-code-pro
brew cask install anaconda
brew cask install anki
brew cask install dash
brew cask install docker
brew cask install java
brew cask install julia
brew cask install mactex
brew cask install mendeley-desktop
brew cask install pomotodo
brew cask install skype
brew cask install slack
brew cask install virtualbox
brew cask install vlc
brew cask install xquartz
brew cask install inkscape
# Install R (may decide to use Microsoft R instead)
brew install czmq zmq homebrew/science/r Caskroom/cask/rstudio
# Automatically run emacs in the background
brew services start d12frosted/emacs-plus/emacs-plus
brew install poppler automake dunn/emacs/pdf-tools # Used by the pdftools package in emacs
# Set Fishshell as defauly shell
sudo sh -c "echo '/usr/local/bin/fish >> /etc/shells"
sudo sh -c "echo '/usr/local/bin/zsh' >> /etc/shells"
chsh -s /usr/local/bin/fish
# Setup kinit for stanford sunetid
sudo curl -o /etc/krb5.conf https://web.stanford.edu/dept/its/support/kerberos/dist/krb5.conf
#### OSX Settings
# Show Path bar in Finder
defaults write com.apple.finder ShowPathbar -bool true
# Set default Finder location to home folder (~/)
defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"
# Disable ext change warning
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Use current directory as default search scope in Finder
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
# Show the ~/Library folder
chflags nohidden ~/Library
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Enable full keyboard access for all controls
# (e.g. enable Tab in modal dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# Download printer installer
wget https://www.stanford.edu/dept/its/group/crc/printers/gsb/GSB%20Student%20Printers.pkg
# Enables faster data.table operations with parallelization
echo "Opening a site with instructions for installing R's data.table with open MP support"
open https://github.com/Rdatatable/data.table/wiki/Installation#openmp-enabled-compiler-for-mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment