Created
April 18, 2013 13:48
-
-
Save BPScott/5412821 to your computer and use it in GitHub Desktop.
QR Code generation and instant preview from the command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Generates a temporary QR code and opens it in preview | |
# Requires qrencode from homebrew / other package manager | |
# Usage: qr-code TEXT | |
# Example: qr-code http://www.google.com | |
qrencode -o - $1 | open -f -a preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generating throwaway QR codes from the command line for shunting URLS to mobile devices | |
brew install qrencode | |
qrencode -o - http://www.google.com | open -f -a preview |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment