View surge.conf
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
[General] | |
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.0.0.0/8, 100.64.0.0/10 | |
# dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114 | |
loglevel = notify | |
[URL Rewrite] | |
^http://www.google.cn http://www.google.com | |
# 默认 IP 和端口,不修改的话系统网络 HTTP 和 HTTPS 代理设置中就是 127.0.0.1:6152 |
View printTask.js
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
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(1i(){8 1="<1Y B=\'1n://1t.1v.1V/c?e=z:1p\' 1r=\'1s\' u=\'3/c\'>";8 R="<w u=\'3/x\'> 4.5 = \'t I P!\'; 8 Q = 1w(\'1J 1K 1M b S 5:\',\'1Z 16 1b 1c ?\'); 4.1e(\'5\').1f = Q; </w>";8 c="<d u=\'3/c\'> 1k{1-s:1o;1-e: \'j o\',n,l;} K,N{1C-d:g;v:0;} K{} #5{3-k:T;} .5 a{3-20:g;25:#V;W:X;} #Y, #Z, .10-11, #12, #13, #14 .15, .U-17-18, .19-1a{y:g;} m{1-e: \'z\', \'j o\',n,l, 1d;2-i:1g;} N{1h-C:1j;1-e: \'j o\',n,l;2-i:D;} .1l-1m {E: F G #1q;H: p;C: J;2: 1u 9 0 0;L: J;} .5{2-p:1x;} .1y{2-1z:9;} .1A,.1B{H:p;2-M:9;} .1D 1E{E-i: F G #1F;1-s: 1G;2: 0;v-i: D;} #b{L:1H;2:0 1I;} #q{3-k:M;} #O{1-s:9;3-k:T;v:9 0 0;} </d> <d 1L=\'b\'> #q{y:g;} </d>";8 r= |
View gist:2863452
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
王 | |
江 | |
周 | |
胡 | |
刘 | |
李 | |
吴 | |
毛 | |
温 | |
习 |
View gist:1480092
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 Remove your favorite tweets with links | |
// @description 因为我本人使用了pinboard服务自动保存带link的fav的tweets功能,所以这样的话保存的东西就重复了。twitter一份pinboard一份,所以我需要移除twitter上的带有链接的tweets。于是有了这个蛋疼的脚本。建议一直下拉到底部等加载完全部的favorite tweets之后再使用。This script can remove all your favorite tweets with links. Enjoy :D | |
// @author leeiio | |
//console版本 | |
$(".js-stream-item").each(function(i){ | |
var $this = $(this); | |
if($this.find('.js-tweet-text .twitter-timeline-link').length) | |
$this.find('.unfavorite').trigger('click'); |
View tutticolori.vim
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
" A VIM port of the Espresso tutti colori theme | |
" http://macrabbit.com/espresso/ | |
" | |
" Jon Raphaelson | |
" lygaret@gmail.com | |
set background=light | |
hi clear | |
if exists("syntax_on") | |
syntax reset |
View gist:577098
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
<!--[if lte IE 7]> | |
<script type="text/javascript"> | |
//Leeiio http://leeiio.me | |
window.confirm("哎呀,你把我们的网站搞坏了!是否立即引爆电脑?"); | |
alert('Bomb!!!!$#$%$#^@ Bazinga!'); | |
</script> | |
<![endif]--> |