Skip to content

Instantly share code, notes, and snippets.

View ythuang's full-sized avatar

Christian Yung-Tai Huang ythuang

View GitHub Profile
@ythuang
ythuang / pep8_cheatsheet.py
Created January 27, 2019 07:36 — forked from RichardBronosky/pep8_cheatsheet.py
PEP-8 cheatsheet
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""This module's docstring summary line.
This is a multi-line docstring. Paragraphs are separated with blank lines.
Lines conform to 79-column limit.
Module and packages names should be short, lower_case_with_underscores.
Notice that this in not PEP8-cheatsheet.py
@ythuang
ythuang / towns.csv
Created October 13, 2018 15:42 — forked from GeoWill/towns.csv
towns
TOWNID TOWNCODE COUNTYNAME TOWNNAME TOWNENG COUNTYID COUNTYCODE
V02 10014020 臺東縣 成功鎮 Chenggong Township V 10014
T21 10013210 屏東縣 佳冬鄉 Jiadong Township T 10013
P13 10009130 雲林縣 麥寮鄉 Mailiao Township P 10009
V11 10014110 臺東縣 綠島鄉 Lvdao Township V 10014
V16 10014160 臺東縣 蘭嶼鄉 Lanyu Township V 10014
N07 10007120 彰化縣 田中鎮 Tianzhong Township N 10007
N19 10007170 彰化縣 社頭鄉 Shetou Township N 10007
T14 10013140 屏東縣 竹田鄉 Zhutian Township T 10013
T05 10013050 屏東縣 萬丹鄉 Wandan Township T 10013
@ythuang
ythuang / Python-Skeleton-With-Args.sublime-snippet
Created November 15, 2012 09:49
Sublime Text 2's snippet to create Python skeleton script.
<!--
Sublime Text 2's snippet to create Python skeleton script.
Put this file `$HOME/Library/Application Support/Sublime Text 2/Packages/User` directory.
To activate, type `python` and followed by <TAB> (maybe twice pressing the <TAB> if your default file syntax is `Plain Text`.)
-->
<snippet>
<content><![CDATA[