This file contains hidden or 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
| function FindProxyForURL(url, host) { | |
| "use strict"; | |
| var lIst = [ | |
| "bayescom.com", | |
| "adsdk.dmzj.com", | |
| "umeng.com", | |
| ]; | |
| var eNd = lIst.some(function(E,I,A){ |
This file contains hidden or 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
| gsettings set org.gnome.system.proxy mode auto | |
| gsettings set org.gnome.system.proxy autoconfig-url 'http://my.prox.org/foo.pac' | |
| gsettings set org.gnome.system.proxy autoconfig-url '' | |
| gsettings set org.gnome.system.proxy mode none |
This file contains hidden or 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
| // ==UserScript== | |
| // @name 自动BAN吸血雷 QBit | |
| // @namespace QBit-KCC | |
| // @author KCC | |
| // @version 0.01.0 | |
| // @match *://0.0.0.0:9898/* | |
| // @grant GM_registerMenuCommand | |
| // ==/UserScript== | |
| function interval(func, wait){ |
This file contains hidden or 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
| iptables -t mangle -A POSTROUTING -o ppp+ -p tcp -m string --algo bm --from 40 --to 69 --hex-string 'GET ' -j CONNMARK --set-mark 1/1 | |
| iptables -t mangle -A POSTROUTING -o ppp+ -p tcp -m string --algo bm --from 40 --to 69 --hex-string 'POST ' -j CONNMARK --set-mark 1/1 | |
| iptables -t filter -A INPUT -i ppp+ -p tcp -m connmark --mark 1/1 -m string --algo bm --from 40 --to 69 --hex-string 'HTTP/1.1 302 ' -j DPI | |
| iptables -t filter -A FORWARD -i ppp+ -p tcp -m connmark --mark 1/1 -m string --algo bm --from 40 --to 69 --hex-string 'HTTP/1.1 302 ' -j DPI | |
| iptables -t filter -N DPI | |
| iptables -t filter -A DPI -j LOG --log-level info --log-prefix 'DPI 302: ' --log-tcp-options --log-ip-options | |
| iptables -t filter -A DPI -j CONNMARK --set-mark 0/1 | |
| iptables -t filter -A DPI -j DROP |
This file contains hidden or 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
| import vapoursynth as vs | |
| core = vs.core | |
| clip = video_in | |
| vfps = int(container_fps*1e8) | |
| dfps = 60000 | |
| #dfps = 0 | |
| def ffps(fps): | |
| rfps = int('%.0f' % fps) | |
| if ( abs(fps - (rfps/1.001)) < abs(fps - (rfps/1.000)) ): |
OlderNewer