- Take backup of old keychain : http://osxdaily.com/2012/07/05/copy-keychain-login-passwords-between-macs/
- Backup /etc/hosts /etc/hostconfig
- copy .zshrc, bashrc, gitconfig etc If you don't already have dotfiles project
- export chrome/firefox/safari bookmarks, bookmarks-toolbars
- export idea/rubymine mine settings : http://www.jetbrains.com/idea/webhelp/exporting-and-importing-settings.html
- Also see: https://intellij-support.jetbrains.com/entries/23358108
- export sublime settings if you want
- create username, select image
- tap to click
- gestures for expose, switch desktop etc to 4 fingers instead of 3
- Function keys as function
- To enable keyboard for tab on controls in
Keyboard shortcuts
see at bottom -Full keyboard access
- selectall Controls
- keep delay between repeat to shortest
- repeat to fastest
- keyboard shortcuts
- remove CTRL UP/DOWN for Mission Control and Application windows. it interferes with Sublime's column select mode CTRL_SHIFT_UP/DOWN
- http://boards.straightdope.com/sdmb/showthread.php?t=632242
- move to left
- minimize windows to icon
- reduce size
- remove unneccesary icons
- show percentage for battery
- show only tme (no day)
- Show hidden files in finder:
- go to terminal
defaults write com.apple.Finder AppleShowAllFiles TRUE
killall Finder
open /User
in Terminal and add home to shortcuts in Finder- Open finder preference, open new finder in user home instead of all files
- Advanced - show all filename extensions
- General
- Allow applications downloaded from : Anywhere
- sign in to it
- create profile for work
- import bookmarks
- change search engine if you want to
- avoid accidental CMD + Q f**k ups - Chrome menu > check "Warn Before Quitting". http://googlemac.blogspot.in/2011/06/q-i-didnt-mean-to-do-that.html
- set view to desired one
- choose bigger font theme,
- hide alfread from menu bar
- give name to machine
- choose black and white menu bar icon
Important - Install command line tools Xcode -> preferences (⌘ + ,) -> Downloads -> Components -> command line tools
- change font size for default profile
- open in last session
- vertical bar, blinking
- in the profile keycap CTRL TAB sends some hex keys, remove that mapping to set CTRL TAB to rotate between open tabs
- TODO Need to figure out .inputrc stuff etc.
- TODO word jumping with alt arrow
- enter license info
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/sublime
- TODO install package manager
- select the required plugins.
- import the settings from the already backed up jar file
- TODO how to store idea settings in dotfiles project
- enter licesnse
- keymap - macosx10.5+, Darcula, Railscast
- TODO how to store idea settings in dot files project
- Edit
/etc/hostconfig
- add
HOSTNAME=yourname
- this appers in prompt
- add
git clone git://github.com/kdabir/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh
git checkout yourrepo/dotfiles.git ~/dotfiles
cd dotfiles
makelinks.sh
#to check if some keys already exist
$ ls ~/.ssh
$ ssh-keygen -t rsa
$ ls ~/.ssh
id_rsa id_rsa.pub known_hosts
$ pbcopy < ~/.ssh/id_rsa.pub
- add keys to bitbucket, github, heroku etc...
Install brew (homebrew)
sudo chmod o-w /usr/local (to fix permissions issue)
sudo chown -R $USER /usr/local
brew install autojump
brew install cloc
brew install ack
brew install youtube-dl
brew install fdupes
brew install tree
brew install tig
- install pdftk
curl -L https://get.rvm.io | bash
rvm install 1.9.3
rvm install 2.0.0
rvm --default 2.0.0
gem install bundler
curl get.pow.cx | sh
gem install powder
- Install oracle jdk7.
ant
andmvn
are already installed on mac.
Install gvm as its better to manage groovy ecosytem : curl -s get.gvmtool.net | bash
$ gvm install groovy
$ gvm install gradle
$ brew install scala
$ brew install sbt
brew install clojure
brew install leiningen
brew install node
check npm -v and node -v
npm install -g coffee-script
npm install -g yo
add it to zshrc export PATH=/usr/local/share/npm/bin:$PATH
-
$ brew install mongodb
-
Remember to check output
To have launchd start mongodb at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
Then to load mongodb now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
Or, if you don't want/need launchctl, you can just run:
mongod
-
Install virtualbox : https://www.virtualbox.org/wiki/Downloads
-
Install vagrant : http://downloads.vagrantup.com/
vagrant plugin install vagrant-cachier
vagrant box add centos63-GWT-v1 ~/Public/CentOS-6.3-x86_64-minimal.box
-
Install Parallels
- Install heroku toolbelt https://toolbelt.heroku.com/
- Google App engine.
- Nitrous IO
- install mac app
brew install mobile-shell
sudo easy_install pip
http://whomwah.github.io/qlstephen/
mkdir ~/Library/QuickLook
unzip QLStephen.qlgenerator.zip
copy it there
npm install yo -g