Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am chriswarren on github.
  • I am cdwarren (https://keybase.io/cdwarren) on keybase.
  • I have a public key whose fingerprint is 2AA2 A867 0D34 21A1 2A95 8241 1FDA 31C0 9F40 01A6

To claim this, I am signing this object:

Dana's Workstation Runlist

  • check for/install updates

  • open safari
    • install chrome
      • sign in with google account
    • install dropbox
@chriswarren
chriswarren / gist:1877652
Created February 21, 2012 17:46
Sublime Text 2 key mappings
[
{ "keys": ["ctrl+shift+."], "command": "erb" },
{ "keys": ["ctrl+shift+,"], "command": "insert_as_tag"},
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+1"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["super+shift+2"], "command": "focus_group", "args": { "group": 1 } },
{ "keys": ["super+shift+3"], "command": "focus_group", "args": { "group": 2 } },
{ "keys": ["super+shift+4"], "command": "focus_group", "args": { "group": 3 } },
{ "keys": ["super+shift+4"], "command": "focus_group", "args": { "group": 4 } },
{ "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
/****
Auto Inserted Help Dialogs
***
Requirements:
jQuery 1.3.2
jQuery UI 1.7.2 (Dialog and all effects)
***
Looks for <a> elements with a class of help_dialog_link, replaces the element with a help icon that will dynamically loaded help text from a given URL on click.
# Change this to your_account@your_domain
dreamgit_domain = '[email protected]'
# Create git repo on Dreamhost
app_name = run("pwd").split("/").last.strip
run "ssh #{dreamgit_domain} 'mkdir -p ~/git/#{app_name}.git && cd ~/git/#{app_name}.git && git --bare init'"
git :init
run "git remote add origin ssh://#{dreamgit_domain}/~/git/#{app_name}.git"
# Remove default files