Skip to content

Instantly share code, notes, and snippets.

@benjamincharity
Last active December 14, 2015 15:29
Show Gist options
  • Save benjamincharity/5108148 to your computer and use it in GitHub Desktop.
Save benjamincharity/5108148 to your computer and use it in GitHub Desktop.
Copy the Base64 code for an image from the command line.
# change the image reference as needed (logo.svg)
echo -n `cat logo.svg` | base64 | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment