Skip to content

Instantly share code, notes, and snippets.


YumiLee chn-lee-yumi

View GitHub Profile
#!/usr/bin/env python2
# lrdcq
# usage python2 filename
import sys, os
import struct
class WxapkgFile(object):
nameLen = 0
# usage python filename
import sys,os
import struct
class WxapkgFile:
nameLen = 0
name = ""
jiffyclub / markdown_doc
Last active Sep 23, 2021
This script turns Markdown into HTML using the Python markdown library and wraps the result in a complete HTML document with default Bootstrap styling so that it's immediately printable. Requires the python libraries jinja2, markdown, and mdx_smartypants.
View markdown_doc
#!/usr/bin/env python
import argparse
import sys
import jinja2
import markdown