[deleted]
function qrshow(){ qrencode -s 10 "$1" -o - | display - ; }91–100 of 117 posts
[deleted]
function qrshow(){ qrencode -s 10 "$1" -o - | display - ; }Earlier quoted context omitted.
Indeed. If only it weren't stuck with a slow js interpreter.
yes, chrome on iOS is unsable because of this. I'd love to use Chrome more, but even lightweight js sites are tediously slow on chrome/ios
I'm using a zsh function with similar functionality for exactly the same purpose: qrdisplay () { qrencode -o - "$1" | display }
"$*" is probably more likely what you want, and throwing in an extra "--" prevents it from choking on arguments that start with a dash.
Thanks!
Only quibble is: how big a code can this viably render? tried something not particularly large for fun and just got a big "PNG" icon instead.
Earlier quoted context omitted.
Indeed. If only it weren't stuck with a slow js interpreter.
yes, chrome on iOS is unsable because of this. I'd love to use Chrome more, but even lightweight js sites are tediously slow on chrome/ios
I saw this, thought "yeah right, gonna be more of a pain than depicted, why bother", downloaded & installed it anyway because I've got a stupid fondness for the idea (if not the awkward reality) of QR codes ... and not 2 hours later was using it for real. Dang handy, nicely implemented. Thanks! Only quibble is: how big a code can this viably render? tried something not particularly large for fun and just got a big "P…
In terms of size: I think QR codes go up to 1024 bytes; anything larger and perhaps the Google Chart Image API would return an error, so you'd be quicklooking an empty file with a '.png' suffix, hence the generic PNG icon.
The next evolution of this script is to store larger text strings in a pastebin and then just display a QR code for the URL to that.
http://random-seeds.tumblr.com/post/44730735573/a-useful-os-...
Earlier quoted context omitted.
Chrome for iOS does this job beautifully :)
Indeed. If only it weren't stuck with a slow js interpreter.