### references # http://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/?PageSpeed=noscript # https://gist.github.com/millermedeiros/6615994 # https://github.com/monfresh/laptop # https://gist.github.com/pithyless/1208841 # http://hackercodex.com/guide/python-development-environment-on-mac-osx/ # http://blog.manbolo.com/2014/09/27/use-python-effectively-on-os-x # https://github.com/kennethreitz/python-guide/blob/master/docs/dev/virtualenvs.rst
Last active
August 9, 2019 04:06
-
-
Save neuroticnerd/465b4a6ff1f9c0060cad to your computer and use it in GitHub Desktop.
Setup scripts for a fresh OS X install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/env bash | |
set -e | |
############################################################################### | |
# Initial Setup # | |
############################################################################### | |
### make sure xcode utilities are installed | |
xcode-select –install | |
### install homebrew | |
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” | |
brew doctor | |
brew update | |
### install utilities | |
brew install wget | |
brew install ack | |
brew install ffind | |
brew install autoenv | |
brew install coreutils | |
wget --output-document=~/.bash_profile https://gist.githubusercontent.com/neuroticnerd/52f41ef0aea6ee156154/raw/dc29a74b0cc0c397fe6884c469006b31f3923485/dotbash_profile | |
### install homebrew cask | |
brew tap caskroom/cask | |
brew tap caskroom/versions | |
brew install brew-cask | |
### install main software | |
brew cask install firefox | |
brew cask install google-chrome | |
brew cask install one-password | |
brew cask install virtualbox | |
brew cask install vagrant | |
brew cask install sublime-text3 | |
brew cask install smartgit | |
brew cask install sourcetree | |
brew cask install kdiff3 | |
brew cask install slack | |
brew cask install dropbox | |
brew cask install cog | |
brew cask install vlc | |
brew cask install the-unarchiver | |
### setup python environment | |
brew install python | |
pip install --upgrade pip setuptools wheel | |
pip install virtualenvwrapper | |
pip install virtualenv | |
pip install requests | |
pip install markdown | |
pip install beautifulsoup4 | |
pip install sqlalchemy | |
pip install Pillow | |
pip install lxml | |
pip install Jinja2 | |
pip install Pygments | |
############################################################################### | |
# Finder Tweaks # | |
############################################################################### | |
# Finder: show hidden files by default | |
defaults write com.apple.finder AppleShowAllFiles -bool true | |
# Finder: show all filename extensions | |
defaults write NSGlobalDomain AppleShowAllExtensions -bool true | |
# Finder: show status bar | |
defaults write com.apple.finder ShowStatusBar -bool true | |
# Finder: allow text selection in Quick Look | |
defaults write com.apple.finder QLEnableTextSelection -bool true | |
# Disable the warning when changing a file extension | |
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false | |
# Enable snap-to-grid for icons on the desktop and in other icon views | |
/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist | |
/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist | |
/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment