I hereby claim:
- I am davidtrogers on github.
- I am davidtrogers (https://keybase.io/davidtrogers) on keybase.
- I have a public key whose fingerprint is 9078 489E 1007 F1A1 00C9 6E26 9A31 2647 F70B 0612
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'httparty' | |
require 'nokogiri' | |
require 'colorize' | |
require 'uri' | |
query = (ARGV.count > 0 && ARGV.join(' ').dup) || "table" | |
encoded_query = URI.encode query |
seen, values = {}, [] | |
100.times { |i| values << rand(100) } | |
values.each { |value| seen[value] = (seen[value] || 0) + 1 } | |
seen | |
=> { 32=>1, 11=>2, 64=>2, 62=>4, 44=>4, 86=>2, 34=>5, 96=>2, | |
89=>2, 70=>1, 47=>1, 99=>3, 39=>1, 67=>1, 35=>1, 71=>2, | |
40=>2, 49=>1, 85=>1, 45=>1, 81=>2, 74=>2, 23=>2, 42=>3, | |
63=>1, 14=>1, 50=>2, 25=>2, 53=>1, 19=>2, 24=>2, 29=>2, | |
68=>2, 31=>3, 33=>2, 4=>1, 55=>1, 37=>3, 36=>1, 76=>1, | |
18=>1, 8=>2, 26=>1, 10=>2, 79=>1, 84=>2, 93=>1, 41=>1, |
@named_routes= | |
{:index=> | |
#<Rack::Mount::Route @app=#<ActionDispatch::Routing::RouteSet::Dispatcher:0x00000100f11610 @defaults={:action=>"index", :controller=>"home"}, @glob_param=nil, @controllers={}> @conditions={:path_info=>/\A\/(?<something>[^\/.?]+)\/index(?:\.(?<format>[^\/.?]+))?\Z/, :request_method=>/^GET$/} @defaults={:action=>"index", :controller=>"home"} @name=:index>, | |
:alwaysfalse=> | |
#<Rack::Mount::Route @app=#<ActionDispatch::Routing::Mapper::Constraints:0x000001008bd688 @app=#<ActionDispatch::Routing::RouteSet::Dispatcher:0x000001008be100 @defaults={:action=>"about", :controller=>"home"}, @glob_param=nil, @controllers={}>, | |
@constraints=[#<AlwaysFalseConstraint:0x00000100ec9c48>], @request=ActionDispatch::Request> @conditions={:path_info=>/\A\/(?<something>[^\/.?]+)\/alwaysfalse(?:\.(?<format>[^\/.?]+))?\Z/, :request_method=>/^GET$/} @defaults={:action=>"about", :controller=>"home"} @name=:alwaysfalse>, | |
:never=> | |
#<Rack::Mount::Route @app=#<ActionDisp |
Slides and App (app forked from dchelimsky, slides from neweryankee/codestache): | |
http://github.com/davidtrogers/railsconf2010-app | |
Intro/Business value/MMF: | |
http://wiki.github.com/aslakhellesoy/cucumber/ | |
Why: | |
http://stackoverflow.com/questions/393622/rspec-vs-cucumber-rspec-stories | |
Background: |