Skip to content

Instantly share code, notes, and snippets.

@thekoc
thekoc / Sphinx.py
Created October 24, 2016 17:39
Sphinx
# 如果在冬夜,一个旅人
# 如果在冬夜,一个旅人
# 在马尔泊克镇外
# 从陡坡上斜倚下来
# 在逐渐累积的阴影中往下望
# …
input('what next?\n')
@thekoc
thekoc / tem.sh
Last active October 11, 2016 09:50
echo 'import os
import sys
import shutil
def main():
root_path = sys.argv[1]
assert os.path.isdir(root_path)
assert len(os.listdir(root_path)) == 1000
@thekoc
thekoc / GAME_MASTER_v0_1.protobuf
Created July 18, 2016 12:18 — forked from anonymous/GAME_MASTER_v0_1.protobuf
Pokemon Go decoded GAME_MASTER protobuf file v0.1
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {
@thekoc
thekoc / # octave - 2016-05-17_20-24-50.txt
Created May 18, 2016 00:11
octave (homebrew/science/octave) on Mac OS X 10.11.5 - Homebrew build logs
Homebrew build logs for homebrew/science/octave on Mac OS X 10.11.5
Build date: 2016-05-17 20:24:50
@thekoc
thekoc / tmux-cheatsheet.markdown
Created April 7, 2016 04:59 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname