Skip to content

Instantly share code, notes, and snippets.

View tindy2013's full-sized avatar

Tindy X tindy2013

View GitHub Profile
@tindy2013
tindy2013 / sub.ini
Last active February 22, 2021 07:58
test_subscriptions
# > 奈飞评分
http-request ^https?://ios\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js
http-response ^https?://ios\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js
# > 京东比价
http-response ^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js
# > 淘宝比价
# 不生效或失效的需要卸载 tb 重装,注意不开脚本进 tb 会失效
http-request ^http://.+/amdc/mobileDispatch requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
http-response ^https?://trade-acs\.m\.taobao\.com/gw/mtop\.taobao\.detail\.getdetail requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
# > 微博 (By yichahucha)
@tindy2013
tindy2013 / _subconverter_configs.md
Last active May 9, 2024 05:57
subconverter_configs

This is a gist repository for some external configs for subconverter, you can use the raw address of the following INIs to generate a specified set of rules, groups and/or scripts.

@tindy2013
tindy2013 / macos_get_ssr_libev.sh
Created December 24, 2019 07:52
ssr in surge for mac
#!/bin/bash
set -xe
#initialize sudo so that no password entering during installation
sudo -v
echo installing brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo configuring environment
brew reinstall git make automake autoconf libtool openssl@1.1