Skip to content

Instantly share code, notes, and snippets.

@scottdw
scottdw / qr-encode.el
Created May 31, 2010 23:35
An elisp function for encoding a region into a QR code from emacs. Uses java class http://gist.github.com/420377 and core.jar from http://code.google.com/p/zxing/
;;; qr-encode.el ---
;;
;; Description: A function for encoding a region into a QR code from emacs.
;; Uses java class http://gist.github.com/420377 and core.jar from
;; http://code.google.com/p/zxing/
;;
;; URL: http://gist.github.com/420386
;;
;; Author: Scott Douglas-Watson
@scottdw
scottdw / InToPbm.java
Last active July 14, 2016 14:50
A java class that reads text from stdin and outputs a pbm (Portable Bit Map) encoded QR Code on stdout.
/*
* Copyright 2010 Scott Douglas-Watson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software