Skip to content

Instantly share code, notes, and snippets.

@jancbeck
Last active February 2, 2017 09:39
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 jancbeck/7372671 to your computer and use it in GitHub Desktop.
Save jancbeck/7372671 to your computer and use it in GitHub Desktop.
Documenting the process of setting up my local environment for web design and development (OS X 10.9 Mavericks)

User Home Directory

Restore home folder from backup. You better have a backup.

Important files and folders:

  • ~/.bash_profile
  • ~/.ssh/
  • ~/Library/Preferences/
  • ~/Library/Application Support/

OS X Preferences

Walk through OS X Preferences GUI and setup all accounts you need.

// Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

// Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

// Use current directory as default search scope in Finder
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"

// Show Path bar in Finder
defaults write com.apple.finder ShowPathbar -bool true

// Disable sound effect when changing volume 
defaults write -g com.apple.sound.beep.feedback -integer 0

// Show Status bar in Finder
defaults write com.apple.finder ShowStatusBar -bool true

// Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0.02

// Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12

// Disable disk image verification
defaults write com.apple.frameworks.diskimages skip-verify -bool true &&
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true &&
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true

// Disable Safari’s thumbnail cache for History and Top Sites
defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2

// Enable Safari’s debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true

// Add a context menu item for showing the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

// Show the ~/Library folder
chflags nohidden ~/Library

// Show absolute path in finder's title bar. 
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Apps

CLI applications (using homebrew)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew install wget brew-cask

Binary Applications (using cask)

brew cask install a-better-finder-rename adobe-creative-cloud adobe-photoshop-lightroom adobe-reader adobe-air alfred arq caffeine carbon-copy-cloner coconutbattery codekit daisydisk dash diffmerge firefox forklift github google-chrome google-drive imageoptim iterm2 kindle monotype-skyfonts onepassword owncloud sequel-pro skype sublime-text the-unarchiver vagrant viscosity virtualbox vlc
```

### Sublime Text 3

Install useful Snippets

`git clone git@github.com:bytestudios/sublime-snippets.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Byte`

User Settings

```

{
	"animation_enabled": false,
	"auto_find_in_selection": true,
	"bold_folder_labels": false,
	"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).tmTheme",
	"create_window_at_startup": false,
	"find_selected_text": true,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"ignored_packages": [
		"Vintage"
	],
	"line_padding_bottom": 2,
	"line_padding_top": 2,
	"open_files_in_new_window": false,
	"show_full_path": true,
	"show_tab_close_buttons": false,
	"soda_folder_icons": true,
	"theme": "Soda Light 3.sublime-theme",
	"tree_animation_enabled": false,
	"trim_trailing_white_space_on_save": true,
	"use_simple_full_screen": true,
	"word_separators": "./\\()\"'-:,.;<>~!@#$%^&#038;*|+=[]{}`~?",
	"word_wrap": false,
	"soda_folder_icons": true,
}

```
Package Control
{
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"Alignment",
		"CSS3",
		"DocBlockr",
		"Emmet",
		"Emmet Css Snippets",
		"GitGutter",
		"jQuery",
		"jQuery Snippets pack",
		"LESS",
		"Package Control",
		"Predawn",
		"SideBarEnhancements",
		"Solarized Color Scheme",
		"SublimeLinter",
		"SublimeLinter-php",
		"SublimeLinter-phplint",
		"Syntax Highlighting for Sass",
		"Theme - Soda",
		"Theme - Sodarized",
		"WordPress",
		"WordPress Readme to Markdown"
	]
}
```
@jancbeck
Copy link
Author

jancbeck commented Nov 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment