Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ooola on github.
  • I am ooola (https://keybase.io/ooola) on keybase.
  • I have a public key whose fingerprint is B0FE E001 C378 CF2C 7B5E FBF0 D17F 17B1 7726 65C6

To claim this, I am signing this object:

import sys
import subprocess
import tempfile
import urllib
text = sys.stdin.read()
chart_url_template = ('http://chart.apis.google.com/chart?'
'cht=qr&chs=300x300&chl={data}&chld=H|0')
chart_url = chart_url_template.format(data=urllib.quote(text))