Skip to content

Instantly share code, notes, and snippets.

@endtwist
Created February 1, 2013 16:40
Show Gist options
  • Save endtwist/4692470 to your computer and use it in GitHub Desktop.
Save endtwist/4692470 to your computer and use it in GitHub Desktop.
convert file to base64 and copy to clipboard
openssl base64 < file.png | tr -d '\n' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment