This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ | |
function ( selector, context ) { | |
// The jQuery object is actually just the init constructor 'enhanced' | |
return new jQuery.fn.init( selector, context, rootjQuery ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ParentClass.prototype.method.apply(this, arguments); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[merge] | |
tool = opendiff | |
[core] | |
editor = /usr/bin/vim | |
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
br = branch | |
sb = show-branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" paste above / below | |
nmap <leader>p o<Esc>p== | |
nmap <leader>P O<Esc>p== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".camera") | |
.delay(speed / 2) | |
.css({marginLeft: -halfWindowWidth}) | |
.show() | |
.animate({marginLeft: 0}, speed); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError in Pages#home | |
Cannot modify SafeBuffer in place | |
activesupport (3.0.8) lib/active_support/core_ext/string/output_safety.rb:122:in `gsub!' | |
haml (3.1.1) lib/haml/compiler.rb:382:in `block in build_attributes' | |
haml (3.1.1) lib/haml/compiler.rb:358:in `each' | |
haml (3.1.1) lib/haml/compiler.rb:358:in `collect' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Surround.vim customization | |
autocmd FileType javascript let b:surround_112 = "(\"\r\")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Presentation colors and config | |
function! PresentationMode() | |
colorscheme solarized | |
set bg=light | |
set nolist | |
endfunction | |
nmap <leader>PR :call PresentationMode()<cr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake 2011-06-17 14:19:56 | |
turn test/*.rb | |
/Users/trevorhartman/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/test/unit/assertions.rb:5:in `<module:Test>': Unit is not a module (TypeError) | |
from /Users/trevorhartman/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/test/unit/assertions.rb:4:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from /Users/trevorhartman/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/test/unit.rb:4:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from /Users/trevorhartman/open_source/hub/test/helper.rb:1:in `<top (required)>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--type-set=mustache=.mustache | |
--type-set=jade=.jade | |
--type-set=txt=.txt | |
--type-set=js=.js | |
--type-set=sass=.sass | |
--type-set=haml=.haml | |
--type-add=html=.mustache | |
--type-add=css=.sass |