This script will print the output in HTML format on stdout.
$ python list_your_gitgist.py > out.html
| from Crypto.Cipher import AES | |
| import base64 | |
| import os | |
| # the block size for the cipher object; must be 16, 24, or 32 for AES | |
| BLOCK_SIZE = 32 | |
| # the character used for padding--with a block cipher such as AES, the value | |
| # you encrypt must be a multiple of BLOCK_SIZE in length. This character is | |
| # used to ensure that your value is always a multiple of BLOCK_SIZE |
| import os | |
| from autobahn.resource import WebSocketResource, WSGIRootResource | |
| from autobahn.websocket import WebSocketServerFactory, WebSocketServerProtocol | |
| from flask import Flask, render_template | |
| from twisted.application import internet, service | |
| from twisted.internet import reactor | |
| from twisted.python.threadpool import ThreadPool | |
| from twisted.web.server import Site |