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
#!/usr/bin/env ruby | |
# Based on what N. Ishitobi and Y. Isozaki wrote at minatorubykaigi01. | |
# Modified by Y. Isozaki. | |
class Amidakuji | |
def initialize(people, height=10) | |
@people, @height = people, height | |
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
#!/usr/bin/env ruby | |
require 'octokit' | |
require 'csv' | |
user_login = 'username' | |
user_password = 'password' | |
organization = 'git-dojo' | |
csv_file = ARGV.first || abort("Usage: #{$0} <csv-file>") |