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
traceroute to metafilter.com (54.186.13.33), 64 hops max, 52 byte packets | |
1 bdl1.smr-ubr2.sbo-smr.ma.cable.rcn.net (10.23.192.1) 28.634 ms 13.689 ms 12.145 ms | |
2 bvi200.aggr2.sbo.ma.rcn.net (10.65.92.101) 12.926 ms 23.927 ms 16.870 ms | |
3 tge0-0-0-0.core1.sbo.ma.rcn.net (207.172.15.131) 28.589 ms | |
tge0-0-0-0.core2.sbo.ma.rcn.net (207.172.15.130) 34.119 ms | |
tge0-1-0-0.core2.sbo.ma.rcn.net (207.172.15.147) 40.673 ms | |
4 tge0-0-0-4.core1.nyw.ny.rcn.net (207.172.19.74) 29.436 ms 28.377 ms | |
tge0-1-0-2.core2.nyw.ny.rcn.net (207.172.19.54) 32.273 ms | |
5 tge0-0-0-2.core2.phdl.pa.rcn.net (207.172.19.228) 33.239 ms | |
tge0-0-0-3.core1.phdl.pa.rcn.net (207.172.19.58) 31.746 ms |
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
def schedule_tournament(names) | |
matchups = [] | |
names.each do |first_name| | |
names.each do |second_name| | |
unless first_name == second_name || matchups.include?([second_name, first_name]) | |
matchups << [first_name, second_name] | |
end | |
end | |
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
def newstyleromannumerals number | |
numeral_array = [["M",1000], | |
["D", 500], | |
["C", 100], | |
["L", 50], | |
["X", 10], | |
["V", 5], | |
["I", 1]] | |
return "" if number == 0 | |
numeral_array.each do |digit| |