example for streaming small amounts of data

This commit is contained in:
Your Name 2019-01-11 19:56:31 -05:00
parent bb22624eaf
commit 42b732d1ef
1 changed files with 4 additions and 1 deletions

5
README
View File

@ -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'