Show off your geekyness with Christmas Tree decorations of QR Codes that have lame Christmas Cracker Jokes on them. Of course, you need a scanner to fully appreciate the lame jokes, but then what geek does not have at least 3 different QR Code scanning apps on his/her smartphone - or worse, walk around with an actual bar code scanner in his geek-bag?
This Instructable provides 100 lame jokes in paper cut-outs that you can glue into cubes, hang onto a tree, scan them with a smartphone scanner, and...er, well, chortle about with your fellow geeks. The source code is also included so you can create your own QR Cubes and vary the content.
Inspired by this Instructable: https://www.instructables.com/id/QR-Code-Bad-Jokes/, this is the outcome of my nocturnal deliberations and programming.
What you will need:
- An A4 or A3 printer
- A PDF viewer (Okular, GhostView, Acrobat Reader)
- Scissors. It also helps having a guillotine to save on cutting
- Paper Glue
- A Linux PC
- Perl, ImageMagick and PDFTK (PDF Tool Kit) need to be installed if not already on your Linux variant
Step 1: Print the QRCode Cubes
Step 2: Cut Out, Fold and Glue Into a Cube
Then raid the stationary cupboard and get some rubber bands and clear sticky tape, and stick a rubber band on each cube.
Attach to tree.
Repeat ad nauseum.
Step 3: Scan the Christmas Tree Decorations
Observe the returned message.
Gasp at the lameness of the joke.
Step 4: Provide a Barcode Scanner
Enter this command in the X-terminal:
Yes, really, this is the command. This will make every scan from the barcode scanner appear in a new line, preceded by a '>'.
At last, the world can now appreciate my rubbish jokes!
Step 5: Produce Your Own QRCube Content
In all likelyhood you will need to install Perl's Imager::QRCode library like so:
$ sudo cpan -i Imager::QRCode
This worked 100% on Gentoo and Sabayon Linux, but I had to manually "push it along" on Mint Linux and Ubuntu Linux.
You may also need to install the ImageMagick library:
$ sudo equo install imagemagick (for Sabayon)
$ sudo apt-get install imagemagick (for Mint and Ubuntu)
The content is in text form below the __DATA__ section. Each line of text corresponds to a separate QR Code. The content can be web URL's, adverts, slogans, insults, event dates. Me, I prefer silly, childish jokes. It's Christmas after all!