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
digraph vending_machine { | |
node [shape = point]; start | |
node [shape = square]; open | |
node [shape = circle]; | |
splines=true; | |
sep="+25,25"; | |
overlap=scalexy; | |
nodesep=0.35; | |
node [fontsize=11]; |
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
digraph vending_machine { | |
node [shape = point]; start | |
node [shape = square]; open | |
node [shape = circle]; | |
start -> "0¢" [ label = "Reset" ]; | |
// Nickels | |
"0¢" -> "5¢" [ label = "Nickel" ]; | |
"5¢" -> "10¢" [ label = "Nickel" ]; | |
"10¢" -> "15¢" [ label = "Nickel" ]; |
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
➜ ichiban git:(master) ✗ rspec --format NyanCatFormatter spec/models | |
3/3: _-__,------, | |
3/3: _-__| /\_/\ | |
0/3: _-_~|_( - .-) | |
0/3: _-_ "" "" | |
/home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/nyan-cat-formatter-0.0.8/lib/nyan_cat_formatter/rspec2.rb:31:in `dump_summary': uninitialized constant RSpec2::ROOT (NameError) | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:98:in `block in notify' | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:97:in `each' | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:97:in `notify' | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:82:in `finish' |
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 class="footer wrapper"> | |
<div class="contentFooter"> | |
<div class="leftCol"> | |
<div class="logoMin"></div> | |
<div class="socialLinks clearfix"> | |
<div class="twitter"><a href="http://www.twitter.com/par8o" target="_blank"></a></div> | |
<div class="linkedin"><a href="http://www.linkedin.com/company/par8o" target="_blank"></a></div> | |
<div class="facebook"><a href="http://www.facebook.com/par8o" target="_blank"></a></div> | |
<div class="slide"><a href="http://www.slideshare.net/par8o" target="_blank"></a></div> | |
</div> |
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
.footer.wrapper | |
.contentFooter | |
.leftCol | |
.logoMin | |
.socialLinks.clearfix | |
%a{:href => "http://www.twitter.com/par8o", :target => :blank} | |
%a{:href => "http://www.linkedin.com/company/par8o", :target => :blank} | |
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
# Place all the behaviors and hooks related to the matching controller here. | |
# All this logic will automatically be available in application.js. | |
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ | |
# A word of warning. I'm aware that this is a bit of mess. Development is comprimise; tread lightly. | |
# The state should only be used for shared data that must be received. | |
stateDelgator = (state) -> | |
# Deal with any changes | |
$.each state.addedKeys, (index, key) -> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Google Skits by Mango Languages | Let's play!</title> | |
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]--><link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/bootstrap_and_overrides.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/common.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/languages.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/masks.css?body=1" media="all" rel="stylesheet" type="text/css" /> |
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
(function() { | |
var delgator, getQuestion, getScenario, loadMask; | |
delgator = function(state) { | |
return $.each(state.addedKeys, function(index, key) { | |
console.log("Added keys", index, key); | |
console.log("Executing " + key.key + "(" + key.value + ")"); | |
return eval("" + key.key + "(" + key.value + ")"); | |
}); | |
}; |
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
# Place all the behaviors and hooks related to the matching controller here. | |
# All this logic will automatically be available in application.js. | |
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ | |
# A word of warning. I'm aware that this is a bit of mess. Development is comprimise; tread lightly. | |
delgator = (state) -> | |
# Deal with any changes | |
$.each state.addedKeys, (index, key) -> | |
console.log("Added keys", index, key) |
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
[1] pry(main)> cohen-poem | |
-- | |
When this American woman, | |
whose thighs are bound in casual red cloth, | |
comes thundering past my sitting place | |
like a forest-burning Mongol tribe, | |
the city is ravished | |
and brittle buildings of a hundred years | |
splash into the street; |