Skip to content

Instantly share code, notes, and snippets.

@kenchan
Created July 23, 2010 11:39
Show Gist options
  • Save kenchan/487328 to your computer and use it in GitHub Desktop.
Save kenchan/487328 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'rack'
run(lambda do
system 'killall X'
[200, { 'Content-Type' => 'text/plain' }, ['Goodbye!']]
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment