2007-09-22から1日間の記事一覧
if ARGV.size == 2 s = ARGV[0].to_i n = ARGV[1].to_i n.times do |i| u = "http://twitter.com/home?page=#{s + i}" puts "open -a Firefox #{u}" puts "sleep 2" end end % ruby tw.rb 12 5 |sh Windowsだとfirefox.exeを叩くのかな。 あんまり負荷をかけ…
if ARGV.size == 2 s = ARGV[0].to_i n = ARGV[1].to_i n.times do |i| u = "http://twitter.com/home?page=#{s + i}" puts "open -a Firefox #{u}" puts "sleep 2" end end % ruby tw.rb 12 5 |sh Windowsだとfirefox.exeを叩くのかな。 あんまり負荷をかけ…