Skip to content

Instantly share code, notes, and snippets.


Erik Dasque edasque

View GitHub Profile
tmcw / median.js
Created Feb 25, 2013
median, literate coffeescript edition
View median.js
// Generated by CoffeeScript 1.5.0
(function() {
var median;
median = function(x) {
var sorted;
if (x.length === 0) {
return null;
sorted = x.slice().sort(function(a, b) {
lucasfais / gist:1207002
Created Sep 9, 2011
Sublime Text 2 - Useful Shortcuts
View gist:1207002

Sublime Text 2 – Useful Shortcuts (Mac OS X)


⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
You can’t perform that action at this time.