Skip to content

Instantly share code, notes, and snippets.

View hitlye's full-sized avatar

Ye Li hitlye

View GitHub Profile
@edokeh
edokeh / index.js
Last active October 26, 2024 12:35
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@florentx
florentx / pep8xml.py
Last active June 6, 2018 05:43
XML output format for pep8
#!python
import pep8
from xml.etree import ElementTree as ET
def prettyindent(elem, level=0):
# Adapted from http://effbot.org/zone/element-lib.htm#prettyprint
ind = "\n" + level * " "
if level:
elem.tail = ind