Skip to content

Instantly share code, notes, and snippets.

@aereal
Created May 21, 2011 08:03
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 aereal/984351 to your computer and use it in GitHub Desktop.
Save aereal/984351 to your computer and use it in GitHub Desktop.
require "sinatra"
get "/:message" do
system "growlnotify -a 'Growl Remote Notification' -m '#{params[:message]' '#{request.host}'"
"OK\n"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment