Skip to content

Instantly share code, notes, and snippets.

@starkcoffee
Created May 30, 2012 19:50
Show Gist options
  • Select an option

  • Save starkcoffee/2838545 to your computer and use it in GitHub Desktop.

Select an option

Save starkcoffee/2838545 to your computer and use it in GitHub Desktop.
command line script uri en/de-code
uri_decode () {
ruby -e "require 'uri'; puts URI.decode '$1'"
}
uri_encode () {
ruby -e "require 'uri'; puts URI.encode '$1'"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment