Skip to content

Instantly share code, notes, and snippets.

View liwh's full-sized avatar
🎯
Focusing

robie lee liwh

🎯
Focusing
View GitHub Profile
⌘T – Go to File
⇧⌘T – Go to Symbol – This works in the same way as Go to File but for within a specific file.
⌘L – Go to Line
⇧⌘L – Select Line
⌃⌘ + ARROW – Move Code
⇧⌃⌥V – Send selected to Pastie – Send the selected code over to Pastie with a private URL for sharing the code.
⌃S – Simple Search – Most folks know about ⌘F as it’s the same in most applications. This shortcut allows you to do a quick search in the current file iteratively.
⌘] and ⌘[ – Block indentation.
⌥⌘[ - Format Selection.
⇧⌃T – To-do list – This feature scans the project for code marked as ‘FIXME’, ‘TODO’ and ‘CHANGED’.
@liwh
liwh / _notes.md
Created March 1, 2011 12:26 — forked from mislav/_notes.md

This gist is outdated

Homebrew people have since included this in a recipe.

$ brew update
$ brew install mongodb

( follow the instructions given )

~$ ARCHFLAGS='-arch i386 -arch x86_64'
~$ rvm install 1.8.7 --debug --reconfigure -C --enable-shared=yes
~$ wget http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.0/RubyCocoa-1.0.0.tar.gz/download
~$ tar xzf RubyCocoa-1.0.0.tar.gz && rm RubyCocoa-1.0.0.tar.gz && cd RubyCocoa-1.0.0
~/RubyCocoa-1.0.0$ ruby install.rb config --build-universal=yes
~/RubyCocoa-1.0.0$ ruby install.rb setup
~/RubyCocoa-1.0.0$ sudo ruby install.rb install
// remove crappy contents from news.google.de
$("div.source, span.source").filter(function() { return /(BILD|WELT ONLINE)/.test( $(this).text() ) }).parent().fadeOut();
$("h2.title > a").filter(function() { return /.*(welt.de|bild.de).*/.test( $(this).attr('href') ) } ).parents("div.story").fadeOut();