Skip to content

Instantly share code, notes, and snippets.

@opsb
Created December 29, 2012 20:57
Show Gist options
  • Select an option

  • Save opsb/4409302 to your computer and use it in GitHub Desktop.

Select an option

Save opsb/4409302 to your computer and use it in GitHub Desktop.
URL decode input
function decode { ruby -e 'require "cgi"; while gets; puts CGI::unescape($_); end;'; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment