Skip to content

Instantly share code, notes, and snippets.

View bigandy's full-sized avatar

Andrew Hudson bigandy

View GitHub Profile
$.fn.setAllToMaxHeight = function(){
return this.height( Math.max.apply(this, $.map( this , function(e){ return $(e).height() }) ) );
}
// usage: $(‘div.unevenheights’).setAllToMaxHeight();
@dux
dux / gist:1674131
Created January 25, 2012 01:55
Sass / Less / Coffee compiler - Ruby command line
#!/usr/bin/env ruby
# sudo gem install sass
# npm install less -g
# npm install coffee -g
p 'Dux sass/less/coffee compiler v0.1'
while true
sleep 1 if (@last_mtime ||=0) > 0
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt