News for hackers. Stuff that matters.
Re:Show HN: QR Codify, The Most Useful Snippet I've Ever Wri... by jackalope on Wednesday March 06, 2013 @09:13AM (#5331192)
You can do it locally with qrencode[1], which is available via MacPorts and Homebrew. It would probably simplify the script, too (especially if converted to bash).

On an X11 environment, I can select some text and get the same results on the command line with something like:

    xsel | qrencode -o - | feh -FZ
None of these commands are standard on any distribution, but you can easily install them or use alternatives. You can also make this an alias, hotkey, etc.

[1] http://fukuchi.org/works/qrencode/

Edit: No need for temporary file

Re:Show HN: QR Codify, The Most Useful Snippet I've Ever Wri... by jfb on Wednesday March 06, 2013 @09:46AM (#5331356)
You can use pbpaste on OS X in place of xsel.