From 42b732d1efd158dd03fcffdac8d4dce6841ee21e Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 11 Jan 2019 19:56:31 -0500 Subject: [PATCH] example for streaming small amounts of data --- README | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index ea2c4ea..e42b0a3 100644 --- a/README +++ b/README @@ -1,2 +1,5 @@ -#backup pubkeys to qr codes +# backup pubkeys to qr codes gpg --export | hex -c -w 4200 | xargs -l qrencode -t utf8 + +# stream a file to the screen for reading with zbarcam +cat rand | hex -c -w 1000 | xargs -l -I {} bash -c 'sleep 0.2; echo {} | qrencode -t utf8'