Sha256: 7a5f71070c44164a2a09969788d75f37d7a8e88a37995216d6d2baf93a7aacd4
Contents?: true
Size: 335 Bytes
Versions: 5
Compression:
Stored size: 335 Bytes
Contents
#!/usr/bin/env ruby require 'time' begin loop do url = "/#{%w(users products photos).sample}/#{rand(1000)}" time = Time.now.iso8601 rtime = rand(1_000_000) status = [200, 302].sample puts [status, time, rtime, url].join("\t") $stdout.flush sleep rand(10).to_f / 100.0 end rescue Interrupt exit 0 end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
tailstrom-0.0.5 | example/dummylog |
tailstrom-0.0.4 | example/dummylog |
tailstrom-0.0.3 | bin/dummylog |
tailstrom-0.0.2 | bin/dummylog |
tailstrom-0.0.1 | bin/dummylog |