git

Leave a comment

download the package for osx here (windows download here)

checking your setting


$ git config --list

or

$ git config user.name

Install jQuery.sugar on Espresso

cd ~/Library/Application\ Support/Espresso/Sugars
git clone git://github.com/derekr/jquery.sugar.git

XCode tips

Leave a comment

XCode shortcut keyboard

  • Build → [command b]
  • Run → [command r]
  • Show/hide navigation → [command 0(zero)]
  • Show/Hide property  → [command option 0(zero)]
  • Add/Remove break point → [command \]
  • Open assoc file  → [option command enter]
  • Close assoc file → [command enter]
  • Manual select file in assistant view → [option click (file)]
  • Re-indent select part of code → [control i]
  • Fold current block of code  → [option command <-]
  • Unfold current block of code → [option command ->]

Mac tips

Leave a comment

Mac Keyboard Shortcut I alway use

  • Call alfred  [opt spacebar]
  • Capture part of screen  [command shift 4]
  • Capture full screen → [command shift 3]
  • Close tab or program → [command w]
  • Safari increase font size → [command +]
  • Safari decrease font size  → [command -]
  • Safari reset font size  → [command 0(zero)]
  • Copy selection → [command c]
  • Paste → [command v]
  • Reverse changing → [command z]
  • Change language  → [command spacebar]
  • Go to begin of line  → [command  ←]
  • Go to end of line  → [command  →]
  • Insert Apple logo () →  [shift option K]
  • Insert Command key icon (Command key)   → ?