This file contains hidden or 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
$ bundle --version | |
Bundler version 1.0.10 | |
$ cat Gemfile | |
source "http://rubygems.org" | |
gem 'ruby-debug-ide19' | |
gem 'ruby-debug19' |
This file contains hidden or 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
$ bundle --version | |
Bundler version 1.0.10 | |
$ cat Gemfile | |
source "http://rubygems.org" | |
gem 'ruby-debug19' | |
gem 'ruby-debug-ide19' |
This file contains hidden or 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
div = document.createElement('div'); | |
div.innerHTML = '<span value="6512448364123" />'; | |
div.innerHTML // => "<span value="6512448364123"></span>"; | |
div = document.createElement('div'); | |
div.innerHTML = '<li value="6512448364123" />'; | |
div.innerHTML // => "<li value="2147483647"></li>" |
This file contains hidden or 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
# environments/development.rb | |
# require ruby-debug if you're not in bundler | |
Signal.trap("USR1"){ debugger } | |
# Then in bash (alias for convenience) | |
# kill -usr1 `cat tmp/pid/server.pid` |
This file contains hidden or 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
Ember.VERSION; | |
// "1.0.pre" | |
(function(render, destroy) { | |
Ember.View.prototype.render = function(){ console.log("render", this.toString()); return render.apply(this,arguments); }; | |
Ember.View.prototype.destroy = function(){ console.log("destroy", this.toString()); return destroy.apply(this,arguments); }; | |
})(Ember.View.prototype.render, Ember.View.prototype.destroy); |
This file contains hidden or 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
var originalEmitObject = jasmine.StringPrettyPrinter.prototype.emitObject, | |
originalHtmlReporterParameters = jasmine.HtmlReporter.parameters; | |
jasmine.StringPrettyPrinter.prototype.emitObject = function( object ) { | |
if( Ember.Object.detectInstance( object )){ | |
this.append( object.toString() ); | |
} else { | |
originalEmitObject.apply( this, arguments ); | |
} | |
}; |
# ~/.gitconfig
[alias]
# "fetch origin"
fo = fetch --prune origin
# "checkout pull request"
cpr = "!f() { git checkout -b pull/$1 pull-requests/$1; }; f"
[remote "origin"]
This file contains hidden or 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
/usr/bin/vim --version | |
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47) | |
Compiled by [email protected] | |
Normal version without GUI. Features included (+) or not (-): | |
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent | |
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments | |
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs | |
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path | |
+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv |
OlderNewer