Skip to content

Instantly share code, notes, and snippets.

@nealnote
Last active August 29, 2015 14:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nealnote/03a5dfcc1c9fc981fcbb to your computer and use it in GitHub Desktop.
Save nealnote/03a5dfcc1c9fc981fcbb to your computer and use it in GitHub Desktop.
osx set up
#setting
# Enable full keyboard access for all controls
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
defaults write com.apple.finder QuitMenuItem -bool true
# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
# Disable the warning when changing a file extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Enable tap to click (Trackpad)
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
# Enable Safari’s debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
# To pin the dock to the right bottom
defaults write com.apple.dock pinning -string end
defaults write com.apple.dock orientation -string right
# Only Show Open Applications In The Dock
defaults write com.apple.dock static-only -bool true
defaults write com.apple.dock tilesize -int 24
#xcode[xcode] with Command Line Tools[clt]
# xcode by appstore
open /Applications/App\ Store.app
# "Command Line Tools for Xcode"
xcode-select --install
#homebrew[homebrew]
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install coreutils fish tmux wget axel aria2 vim ctags git python3 node mysql mongodb redis
#pyenv
git clone git://github.com/yyuu/pyenv.git .pyenv
sudo easy_install -U setuptools #upgrade setuptools for pip
sudo easy_install pip
sudo pip install virtualenvwrapper
#optional use douban pypi mirror
vim ~/.pip/pip.conf
[global]
index-url = http://pypi.douban.com/simple
#application
- [brew-cask]
brew tap phinze/homebrew-cask
brew install brew-cask
brew cask install iterm2 alfred auth-bluetooth macvim sourcetree nvalt xquartz sequel-pro bettertouchtool amethyst mplayerx google-chrome controlplane dropbox bittorrent-sync colors skim Seil Karabiner
brew cask alfred
- none-cask
* dash
* popclip
* pocket
#keyboard
remap caps lock as hyperkey to toggle alfred
or hold like modify key with shift+ctrl+opt+cmd
[ref]: https://gist.github.com/erikh/2260182
[other]: https://github.com/mathiasbynens/dotfiles/blob/master/.osx
[xcode]: http://itunes.apple.com/us/app/xcode/
[clt]: https://developer.apple.com/downloads
[homebrew]: http://mxcl.github.io/homebrew/
[brew-cask]: https://github.com/phinze/homebrew-cask
[custom osx]: http://www.wijeyesakere.com/tech/customosx/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment