Enjoy all the common rulesets brought by janlay.
In the rules section of Surge/Clash config, use the shared rulesets in this order:
- blocked-domains
- quick-direct
- loc-sens
- traffic
- \
$ text-builder -index /path/to/index.txt
Or run $ sh build-all
to build all your index files.本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.
/* | |
* A white-list based PAC without regexp, by @janlay | |
* It's just simple and fast. | |
* Last update: Oct 20, 2015 | |
* Special thanks to @Paveo | |
*/ | |
function FindProxyForURL(url, host) { | |
// REPLACE PROXY WITH YOUR OWN'S | |
var PROXY = "SOCKS 127.0.0.1:8801;SOCKS5 127.0.0.1:8801;PROXY 127.0.0.1:8800"; | |
var BLACKHOLE = "127.0.0.2"; |
This gist is now deprecated and moved to janlay/openai-cloudflare. Stay tuned!
This gist provides key guideline to make Clash tun handle Telegram's pure IP traffic.
telegram.list
is located in /etc/asn/
7892
is redir-port
in Clash's config fileiptables-mod-extra
is required for the --match-set
usageThis util deletes your historical tweets from a downloaded archive file, unfavorites tweets from your public profile.
No guarantee, no support, use it at your own risk.
tweet.js
file from the downloaded .zip file.#!/bin/bash | |
# 1. source this file or append it to your bash/zsh profile. | |
# 2. modify https_proxy & http_proxy with your own proxy. | |
# 3. use `proxy on` to turn on proxy and `proxy off` to turn it off. | |
export PS1_backup=$PS1 | |
function proxy () { | |
local prefix |