Skip to content

Instantly share code, notes, and snippets.

@wicastchen
wicastchen / card_db_category
Last active August 29, 2015 14:04
ygopro资料笔记
HEX DEC 含义
0x1 1 魔陷破坏
0x2 2 怪兽破坏
0x4 4 卡片除外
0x8 8 送去墓地
0x10 16 返回手牌
0x20 32 返回卡组
0x40 64 手牌破坏
0x80 128 卡组破坏
@wicastchen
wicastchen / aria2_alt_speed.crontab
Last active August 29, 2015 14:03
Alt aria2 speed with cron and wget
*/10 5,6,7,8,9 * * */usr/bin/wget --header='Accept-Encoding: gzip,deflate,sdch' --post-data='{"jsonrpc":"2.0","method":"aria2.changeGlobalOption","id":1,"params":[{"max-overall-download-limit":"0"}]}' http://127.0.0.1:6800/jsonrpc -O /dev/null -S -q
*/10 10 * * */usr/bin/wget --header='Accept-Encoding: gzip,deflate,sdch' --post-data='{"jsonrpc":"2.0","method":"aria2.changeGlobalOption","id":1,"params":[{"max-overall-download-limit":"300000"}]}' http://127.0.0.1:6800/jsonrpc -O /dev/null -S -q
@wicastchen
wicastchen / tmp_config.yml
Last active January 19, 2021 21:08
a sample for flexget 1.2 with aria2
#重要!!!每个“:”、“-”后的参数前面一定要加空格!!!
templates:
aria:
aria2:
server: localhost
port: 6800
do: add-new
uri: '{{url}}'
rename_content_files: yes
rename_template: '{{series_name}} {{series_id}}'