Created
November 2, 2009 01:04
-
-
Save melito/223833 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "rubygems" | |
| require "sinatra" | |
| get '/' do | |
| "hi mom!" | |
| end | |
| trap("INT") { puts 'ITS A TARP!' } | |
| Process.kill("INT", Process.pid) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ITS A TARP! | |
| == Sinatra/0.9.4 has taken the stage on 4567 for development with backup from Thin | |
| >> Thin web server (v1.2.4 codename Flaming Astroboy) | |
| >> Maximum connections set to 1024 | |
| >> Listening on 0.0.0.0:4567, CTRL+C to stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment