Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdurrahmanekr/624c5474f80db2f81b00f39261d2f402 to your computer and use it in GitHub Desktop.
Save abdurrahmanekr/624c5474f80db2f81b00f39261d2f402 to your computer and use it in GitHub Desktop.
Usefull commandline base64 decode encode scripts
alias base64="node -e \"console.log(Buffer.from(process.argv[1], 'utf8').toString('base64'))\""
alias base64decode="node -e \"console.log(Buffer.from(process.argv[1], 'base64').toString('utf8'))\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment