Working with QR
It is pretty easy and obvious to find qrencode for creating QR codes out of text files. Helpful in a world where wifi networks and wireguard configs can be transferred by QR.
Suppose you want to actually see the encoded text, if, for example, you want to manually make a wifi QR file but don't know the text format some online converter gave you for a different net.
Turns out zbarimg from the gentoo zbar package (w/ use +imagemagick) gets you that capability.
qrencode -r ~/wifi-info -o ~/wifi.png -t png
# verify
zbarimg ~/wifi.png
I also had to use this to figure out what wireguard wanted because the iOS app is insanely inflexible in what it considers to be a config file.
Also, just for fun, here's the wifi QR code format:
Vars: ssid_name, wifi_password
QR-Code:WIFI:S:ssid_name;T:WPA;P:wifi_password;;