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
class RecMiddleware | |
def initialize(app=nil) | |
end | |
def call(env) | |
env['QUERY_STRING'] ||= "5" | |
if env['QUERY_STRING'].to_i <= 1 | |
[ | |
200, |
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/env perl | |
use warnings; | |
use strict; | |
my $upper_bound = shift @ARGV || 10; | |
sleep(rand($upper_bound)) |
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/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/recipe.rb:196:in `method_missing': Cannot find Chef::Resource::ReportAndRun for report_and_run (NameError) | |
Original: (eval):1:in `method_missing': uninitialized constant Chef::Resource::ReportAndRun | |
from /etc/chef/recipes/cookbooks/mysql/definitions/mysql_slave.rb:30:in `from_file' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/recipe.rb:167:in `instance_eval' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/recipe.rb:167:in `method_missing' | |
from /etc/chef/recipes/cookbooks/mysql/recipes/default.rb:206:in `from_file' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/cookbook.rb:139:in `load_recipe' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/recipe.rb:76:in `include_recipe' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/recipe.rb:63:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.0/lib/chef/recipe.rb:63:in `include_recipe' |
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.2.4 Flaming Astroboy | |
== 1.2.2 I Find Your Lack of Sauce Disturbing | |
== 1.2.1 Asynctilicious Ultra Supreme | |
== 1.2.0 Asynctilicious Supreme | |
== 1.1.1 Super Disco Power Plus | |
== 1.1.0 Super Disco Power | |
== 1.0.0 That's What She Said | |
== 0.8.2 Double Margarita | |
== 0.8.1 Rebel Porpoise | |
== 0.8.0 Dodgy Dentist |
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
ssh-dss AAAAB3NzaC1kc3MAAACBAOpTvNnhAZzl/LT7L2Oj2EQ3I4JMP0cwSwu+80zrNiWpChXcyIbLHDBQ76Vc2mFj4zNkV2s9WPSWZ4Pwbuq6FxfldI1tXJkRNFBJxnV8T3Wzxv/lCDXObveArhlMjlUw84juTFv5oQwE1Z3dPYTsytoKKeRlJLtNCic2Trjj6D97AAAAFQDLwRE+7tOTWha2rG5f036+6pYsNwAAAIBXsaU2a606eQxfwWojwiPui3eEM/1OAxOf09Ol1BhaSOSbVgjKrCN6ALfU+vE99oMSTXh1+xYlVXjm/1uyoQTZcj/Tn6r3nsnpdSy4BZHK7GmdLGGXG1SvOPRZShDlKvTKbRbaLojFMJlBWcquWexRrk2RqqtczSOeizESgpEI5AAAAIEApLlM2Hhw49hwydqKIU0yYh3gx30/fgjckwnS21n35sMnFvRIKY83PKBatr3q6t+DWP+b5BAlMDpq4yAl6wR/2x6+NnFqrCliqfXBnSOPqhejaGoGK1CWDcMBT5pOGFtce+QuhvuEn6oZQJID4pGIPL6bMBV22fKFLH38gQwS61c= spam@octavius |
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
gem 'dm-core', '=0.10.2' | |
gem "data_objects", '=0.10' | |
gem "do_sqlite3", '=0.10' | |
gem 'rspec', :require_as => 'spec' |
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
dm_version = '=0.10.2' | |
gem 'dm-core', dm_version | |
gem "dm-aggregates", dm_version | |
gem "dm-migrations", dm_version | |
gem "dm-timestamps", dm_version | |
gem "dm-types", dm_version | |
gem "dm-validations", dm_version | |
gem "data_objects", '=0.10' | |
gem "do_sqlite3", '=0.10' |
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
torgomatic $ ruby --version | |
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] | |
torgomatic $ irb | |
>> h = {} | |
=> {} | |
>> i = {} | |
=> {} | |
>> {h => 1, i => 2} | |
=> {{}=>2, {}=>1} | |
>> |
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
dm_version = '=0.10.2' | |
gem 'dm-core', dm_version | |
gem "dm-aggregates", dm_version | |
gem "dm-migrations", dm_version | |
gem "dm-timestamps", dm_version | |
gem "dm-types", dm_version | |
gem "dm-validations", dm_version | |
gem "data_objects", '=0.10' | |
gem "do_sqlite3", '=0.10' |
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
#!/bin/bash | |
sleep 2 && echo "done 1" & | |
sleep 5 && echo "done 2" & | |
sleep 2 && echo "done 3" & | |
wait %1 %3 | |
echo "done waiting for short-running processes" | |
wait %2 |
OlderNewer