Skip to content

Instantly share code, notes, and snippets.

@aguegu
Created March 18, 2017 14:51
Show Gist options
  • Save aguegu/8cb47b3a348fa23989769a79a5438597 to your computer and use it in GitHub Desktop.
Save aguegu/8cb47b3a348fa23989769a79a5438597 to your computer and use it in GitHub Desktop.
Shadowsocks QRCode generation
import pyqrcode
import base64
url = 'bf-cfb-auth:[email protected]:8888'
print pyqrcode.create('ss://' + base64.b64encode(url)).terminal()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment