Skip to content

Setting up a Lion Dev Environment

pehrlich edited this page Nov 9, 2011 · 9 revisions

environment

  • web & file sharing on

  • key remap for macbook & pckeyboardhack -- apple q --> apple shift q -- caps lock --> backspace -- key repeat initial wait: 500 --> 250, wait 83 -> 30 -- don't show in menu bar

  • copy iTunes music (22gb)

  • finder -- add path icon to toolbar

  • Make hidden Dock icons transparent defaults write com.apple.Dock showhidden -bool true

  • todo in lion: remove spaces animation, save dialog animation

  • I use my shortcuts to move windows, and would never tolerate a feature that required waiting: Stop (slow down) Spaces from switching spaces if your mouse presses against the edge of the desktop: defaults write com.apple.dock workspaces-edge-delay -float 60 && killall Dock

  • hot corners (BL: desktop, BR: mission, TR: windows)

  • macpilot -- system: disable downloaded file warning dialogs, use expanded save dialog by default

  • system prefs: disable guest user

  • dock: auto hide

software

  • chrome -- google voice, lip sum generator
  • notational velocity
  • vlc
  • skype
  • xscope
  • istat menus -- show multiple CPU cores as one item, -- memory/disk-usage/sensors/battery off, disk activity on
  • dropbox
  • unrarx
  • alfred power pack.
    -- global hotkeys, option `/1/2: terminal, chrome, ruby mine, iTunes, notational velocity -- scripts: flush dns, lipsum, external ip
  • simbl -- maximizer (to fullscreen rubymine)

development

todo : colored output http://flori.github.com/term-ansicolor/

~/.gitconfig

[user]
	name = Peter Ehrlich
	email = [email protected]
 # # not so good color schema for white terminals
 # [color]
 #     ui = auto
 #   [color "branch"]
 #     current = yellow reverse
 #     local = yellow
 #     remote = green
 #   [color "diff"]
 #     meta = blue bold
 #     frag = magenta bold
 #     old = red bold
 #     new = green bold
 #   [color "status"]
 #     added = red
 #     changed = red
 #     untracked = red
 # 
 #   [color]
 #     ui = true
 #   [color "diff"]
 #     whitespace = red reverse
 #   [core]
 #     whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
 
  [alias]
    st = status
    ci = commit
    br = branch
    co = checkout
    df = diff
    lg = log -p
    lol = log --graph --decorate --pretty=oneline --abbrev-commit
    lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
    dif = diff

~/.bash_profile

#typos:
alias dit='git'
alias gid='git'
alias sit='git'
alias hit='git'
alias gir='git'
alias gut='git'
alias giy='git'
alias rale='rake'

# This loads RVM into a shell session.
[[ -s "/Users/peter/.rvm/scripts/rvm" ]] && source "/Users/peter/.rvm/scripts/rvm"  

cd ~/Rails/commonplace
# what app is this?
export FB_API_KEY="b94ea526b753ef6b218bf9753446db64"
export FB_APP_SECRET="77ed4eba1c34178991bf3160eaccf71b"

export CC=/usr/bin/gcc-4.2

# always use local versions
export PATH="/usr/local/bin:$PATH"

# http://jdcargile.com/blog/?p=280
# enable ls colors
alias ls='ls -G'
# enable grep color
alias grep='grep –colour=auto'

PS1="\[\e[1;32m\]\w\[\e[0m\] "
Clone this wiki locally