This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
>> foo = proc { bar } | |
=> #<Proc:0x0000000101c444b8@(pry):1> | |
>> foo.call | |
NameError: undefined local variable or method `bar' for #<Object:0x1001dc288> | |
from (pry):1 | |
>> def bar | |
>> "bar" | |
>> end |
-- PostgreSQL 9.2 beta (for the new JSON datatype) | |
-- You can actually use an earlier version and a TEXT type too | |
-- PL/V8 http://code.google.com/p/plv8js/wiki/PLV8 | |
-- JSON Types need to be mapped into corresponding PG types | |
-- | |
-- Number => INT or DOUBLE PRECISION | |
-- String => TEXT |
Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.
You can break these rules if you can talk your pair into agreeing with you.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |