Skip to content

Instantly share code, notes, and snippets.

@rentzsch
Created April 14, 2011 23:40
Show Gist options
  • Save rentzsch/920840 to your computer and use it in GitHub Desktop.
Save rentzsch/920840 to your computer and use it in GitHub Desktop.
require 'cgi'
`open 'http://www.google.com/search?q=#{CGI.escape(STDIN.read.chomp)}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment