Skip to content

Instantly share code, notes, and snippets.

@joekir
Created September 3, 2017 20:15
Show Gist options
  • Save joekir/4adf21729b513a2688eb512cf9987f74 to your computer and use it in GitHub Desktop.
Save joekir/4adf21729b513a2688eb512cf9987f74 to your computer and use it in GitHub Desktop.
Takes a plaintext input fuzzes it and generates the QR code output of that in a file called test.png
#! /bin/bash
if [ -z "$1" ]; then
echo please provide the input qr content file name
exit 1
fi
qrencode -s 10 -d 10000 -o test.png `cat $1 | radamsa` && display test.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment