Skip to content

Instantly share code, notes, and snippets.

@mowentian
mowentian / SimpleHTTPServerWithUpload.py
Created March 26, 2018 01:00 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@mowentian
mowentian / hash_parser.py
Created August 21, 2014 08:08
some wjl's code
#!/usr/bin/python
# coding:utf8
# @IgnorePep8
import os
import sys
dirname = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, dirname + '/..')
import subprocess