Skip to content

Instantly share code, notes, and snippets.

@melito
Created November 2, 2009 01:03
Show Gist options
  • Select an option

  • Save melito/223831 to your computer and use it in GitHub Desktop.

Select an option

Save melito/223831 to your computer and use it in GitHub Desktop.
require "rubygems"
require "sinatra"
get '/' do
"hi mom!"
end
trap("INT") { puts 'ITS A TARP!' }
Process.kill("INT", Process.pid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment