This is a balloon. Balloons are web pages that double as Ruby programs.
To run this page: ruby -ropen-uri -e 'eval(open("http://balloon.hobix.com/hpricot").read)'
BE ALERT! Running this script could be dangerous. Be sure to review this page. You know: it's like anything else on the Internet.
Try out hpricot. Asks you for a URL, then an XPath or CSS expression. The elements are then dumped to the screen.
For a working example:
URL: http://redhanded.hobix.com/index.html
Expression: span.entryPermalink a
Connects to gem server at code.whytheluckystiff.net.
Fetches the hpricot gem. 0.4
Runs some Ruby.
Click here to view the code.