- If you don't have a really loaded CPU/harddisk (or have a good performance CPU/harddisk - in practice anything with an i5/i7 CPU should be OK) you should use full disk encryption - FileVault 2 if you have anything in your computer that needs security/privacy.
- Macbook Pro EFI Firmware Update 2.3 (for AES-NI) (only some early 2011/late 2011 models).
For a decent Ruby developer machine, start with thoughtbot/laptop. Suggestions for ~/.laptop.local
:
#!/bin/sh
brew update
brew upgrade
brew_install_or_upgrade pow
brew_install_or_upgrade mysql
# Requires Homebrew PHP. I.e. if you're going to use php-osx.liip.ch,
# install Composer manually.
# brew_install_or_upgrade homebrew/php/composer
brew_install_or_upgrade ssh-copy-id
brew_install_or_upgrade ncdu
brew_install_or_upgrade terminal-notifier
brew_install_or_upgrade git-extras
brew_install_or_upgrade wget
brew_install_or_upgrade z
brew tap caskroom/cask
brew_install_or_upgrade brew-cask
brew cask install google-chrome
brew cask install dash
brew cask install dropbox
brew cask install iterm2
brew cask install firefox
brew cask install lunchy
brew cask install sourcetree
brew cask install flux
I couldn't get any combination of homebrew apache and php packages to work together, so I just used php-osx.liip.ch with the default OS X Apache (2.2).
For permissions and security: http://apple.stackexchange.com/a/141298/67191
After upgrading to OS X Yosemite 10.10, you may need to re-install php-osx. If you need php_memcached
:
$ xcode-select --install
$ brew install libmemcached
$ sudo /usr/local/php5/bin/pecl install memcached
- http://www.michael-noll.com/blog/2007/01/04/word-movement-shortcuts-for-iterm-on-mac-os-x/
- http://stackoverflow.com/a/10485061/372654
- cmd ⌘+left: send escape -> a
cmd ⌘+right: send escape -> e
$ sudo vi /etc/launchd.conf
setenv PHP_ENV development
setenv IYS_ENV development
Source: http://stackoverflow.com/a/588442/372654, http://stackoverflow.com/a/23481458/372654
Install it like this:
brew install macvim --env-std --custom-icons --override-system-vim --with-lua --with-luajit
This way it will have support for skwp/dotfiles and powerline fonts.
- Download the latest Firefox Turkish spell checker.
- Rename the .xpi file to .zip and extract.
- Move .aff and .dic files to ~/Library/Spelling.
- (Optional) System Preferences > Keyboard > Text > Spell Checking > Automatic.
- Click "Setup" in the same list, check and move Turkish to the top (the list is re-orderable), disable languages other than Turkish and English.
This method would probably work for other languages listed in the Firefox addons as well.
$ sudo easy_install pip
$ sudo pip install stormssh
$ brew install wget # It'll come handy in the future anyway :)
$ wget http://python-distribute.org/distribute_setup.py
$ sudo python distribute_setup.py
- Karabiner - for customizing keys like CapsLock, assigning cmd ⌘+H to something else and many other things.
- Scroll Reverser - Separate trackpad an mouse scroll order naturalness
- HyperSwitch - Window switcher with thumbnails. Also allows replacing cmd ⌘+Tab with alt ⌥+Tab etc.
- .osx from Mathias Bynens' dotfiles - Use what you like.
- http://apple.stackexchange.com/questions?sort=votes
- http://www.maclife.com/article/features/10_coolest_keyboard_shortcuts_you_never_knew_about
- Calibrate your battery monthly - Set up a recurring reminder in your calendar.