This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!name=少数派流量监控 | |
#!desc=实时查询还剩多少流量 | |
#!system=ios | |
[Panel] | |
ssp_bandwidth_check = script-name=ssp_bandwidth_check, title="少数派流量监控", update-interval=300 | |
[Script] | |
ssp_bandwidth_check = type=generic, script-path=PASTE_YOUR_SCRIPT_PATH_HERE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 北工大选课软件 | |
export ALL_PROXY="" | |
b="" | |
# 需要改三个地方 | |
# 1. 替换 URL | |
url="http://gdjwgl.bjut.edu.cn/xf_xsqxxxk.aspx?xh=18080108&xm=%B9%F9%D4%F3%D3%EE&gnmkdm=N121113" | |
# 2. 替换 POST 的数据 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
# Other configs | |
map $uri $url_short { | |
default /404; | |
/ /; | |
include url.map; | |
} | |
server { | |
# Other configs |
OlderNewer