Skip to content

Instantly share code, notes, and snippets.

View sethk's full-sized avatar

Seth Kingsley sethk

View GitHub Profile
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
source "https://rubygems.org"
# Activate the gem you are reporting the issue against.
@sethk
sethk / iotest.rb
Last active October 13, 2015 00:52
#!/usr/bin/env ruby
while (size = STDIN.gets)
$stderr.puts "Reading #{size} bytes"
size = size.to_i
STDIN.read(size)
$stderr.puts "Read #{size} bytes"
end