Discover gists
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
require 'open-uri' |
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
require 'rubygems' | |
# what about this? |
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
Eli sucks... srsly. |
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
require 'rubygems' | |
# i dunno, what about it? |
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
@places = [ | |
{:address=>'Dothan,AL',:description=>'Dothan is awesome'}, | |
{:address=>'Athens,GA',:description=>'Athens is awesome'}, | |
] |
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
++++++++++ | |
[ | |
>+++++++>++++++++++>+++>+<<<<- | |
] this loop set the next four cells to 70/100/30/10 | |
>++. print 'H' | |
>+. print 'e' | |
+++++++. 'l' | |
. 'l' | |
+++. 'o' | |
>++. space |
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
with(define_macros) { | |
if Merb.logger.level == Merb::Logger::DEBUG | |
def debug(string) | |
Merb.logger.debug "Foo" | |
end | |
else | |
def debug(string) end | |
end | |
} | |
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
merb_core = macros { | |
if Merb.logger.level == Merb::Logger::DEBUG | |
def debug(string) | |
Merb.logger.debug "Foo" | |
end | |
else | |
def debug(string) end | |
end | |
} | |
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
test |