Skip to content

Instantly share code, notes, and snippets.

@bermi
Created March 19, 2014 02:53
Show Gist options
  • Save bermi/9634664 to your computer and use it in GitHub Desktop.
Save bermi/9634664 to your computer and use it in GitHub Desktop.
function urlencode() {
node -p 'encodeURIComponent(process.argv.slice(1))' $@
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment