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
import json | |
from collections import Counter | |
with open('results.json') as f: | |
results = json.load(f) | |
class Race: | |
def __init__(self, details): | |
self.details = details |
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
#!/Users/moss/.rvm/rubies/ruby-1.9.2-p320/bin/ruby | |
class Runner | |
def initialize basepath, executor = ExecutionService.new | |
@basepath = basepath | |
@executor = executor | |
@cmds_term = TmuxSession.new '0', executor | |
@test_term = TmuxSession.new '1', executor | |
end |
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
# The configuration I'm currently using for my Rails projects at home. | |
# init git first so that plugins will work as submodules. | |
git :init | |
# plugins | |
plugin 'time_travel', | |
:git => "git://github.com/notahat/time_travel.git", | |
:submodule => true |