Skip to content

Instantly share code, notes, and snippets.

@0x0dea

0x0dea/shevy.rb Secret

Created September 2, 2015 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x0dea/af663ea79bb259082a59 to your computer and use it in GitHub Desktop.
Save 0x0dea/af663ea79bb259082a59 to your computer and use it in GitHub Desktop.
[
Thread.new { p gets },
Thread.new { sleep 0.2; File.write '/proc/self/fd/0', "ohai\n" }
].each(&:join)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment