I hereby claim:
- I am zhangtaii on github.
- I am tai (https://keybase.io/tai) on keybase.
- I have a public key whose fingerprint is 2998 3044 4BF6 2BD3 8F13 C2EE CE80 552A 7F2B 33C9
To claim this, I am signing this object:
#!/usr/bin/python | |
# ref: http://sunzhen.blogspot.com/2016/05/rename-chinese-filenames-to-pinyin.html | |
# origin gist: https://gist.github.com/hxinblog/5001033, broken | |
# renameCH2Pinyin.py | |
# Rename filename from Chinese characters to capitalized pinyin using the | |
# mapping file and taking out the tone numbers | |
# Download 'uni2pinyin' from ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/data/Uni2Pinyin.gz | |
# |
#!/bin/bash | |
for offset in `seq 0 50 5000`; do | |
curl -H 'accept-encoding: br, gzip, deflate' "${API_ENDPOINT}/?offset=${offset}&limit=50" | gunzip - > "outputs/${offset}.json" | |
done |
jq -s 'reduce .[] as $dot ({}; .objects += $dot.objects)' *.json > output.json |
I hereby claim:
To claim this, I am signing this object: