Skip to content

Instantly share code, notes, and snippets.

View liginity's full-sized avatar

liginity liginity

  • China
View GitHub Profile
@waynema02
waynema02 / unzip-gbk.py
Created January 5, 2018 03:46
Unzip the zip file encoded by gbk. ref: https://superuser.com/a/1202386
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# unzip-gbk.py
import os
import sys
import zipfile
import argparse
parser = argparse.ArgumentParser()
@andrewseidl
andrewseidl / Clang-format Comparison.md
Last active April 10, 2024 04:10
Clang-format style comparison

This is a comparison of the different formatting styles including with clang-format.

Generated via:

styles=( LLVM Google Chromium Mozilla WebKit )
for style in $styles
do
  clang-format -style=$style ChLcpIterativeAPGD.h > ChLcpIterativeAPGD.$style.h

done