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 Twitter: Hide all ads | |
// @namespace Violentmonkey Scripts | |
// @match https://x.com/* | |
// @grant none | |
// @version 1.0 | |
// @author @weijarz | |
// @description 7/5/2023, 9:31:41 PM | |
// ==/UserScript== |
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 Twitter: Mute all ads | |
// @namespace Violentmonkey Scripts | |
// @match https://twitter.com/* | |
// @grant none | |
// @version 1.0 | |
// @author @weijarz | |
// @description 7/5/2023, 9:31:41 PM | |
// ==/UserScript== |
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 One click to mute the twitter user - twitter.com | |
// @namespace Violentmonkey Scripts | |
// @match https://twitter.com/* | |
// @grant none | |
// @version 1.0 | |
// @author weijarz | |
// @description 6/28/2023, 12:46:22 PM | |
// ==/UserScript== |
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
var tunnel = "HTTP 127.0.0.1:8123"; | |
var direct = "DIRECT"; | |
var block = 'SOCKS5 127.0.0.1:34444'; | |
var whiteList = {"cn":1,"inkread.com":1,"apple-livephotoskit.com":1,"icloud.com":1,"apple.com":1,"apple-cloudkit.com":1,"qireader.com":1,"okex.com":1,"oxyry.com":1,"babelabc.com":1,"10010.com":1,"115.com":1,"123u.com":1,"126.com":1,"163.com":1,"17173.com":1,"178.com":1,"17cdn.com":1,"21cn.com":1,"360buy.com":1,"360buyimg.com":1,"360doc.com":1,"360safe.com":1,"36kr.com":1,"400gb.com":1,"4399.com":1,"51buy.com":1,"51cto.com":1,"51job.com":1,"51jobcdn.com":1,"5d6d.com":1,"61.com":1,"6rooms.com":1,"7k7k.com":1,"91.com":1,"acgvideo.com":1,"aicdn.com":1,"alibaba.com":1,"alicdn.com":1,"aliexpress.com":1,"aliimg.com":1,"alikunlun.com":1,"alimama.com":1,"alipay.com":1,"alipayobjects.com":1,"alisoft.com":1,"aliyun.com":1,"aliyuncdn.com":1,"aliyuncs.com":1,"anzhi.com":1,"appinn.com":1,"appsina.com":1,"atpanel.com":1,"baidu.com":1,"baidupcs.com":1,"baidustatic.com":1,"baifendian.com":1,"baihe.com":1,"baixing.com":1,"bdimg.co |
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
#!/usr/bin/env python | |
import sys as O00O00O0O0O0OOO0O ,itertools as OOOO0O00000OO0OO0 #line:2 | |
__all__ =[]#line:3 | |
OOOOOOOOOOO00O000 =8 #line:4 | |
OOOO0OO0OO00OO0OO =OOOOOOOOOOO00O000 *OOOOOOOOOOO00O000 #line:6 | |
OOO0O0O00OO0O00OO ={}#line:13 | |
OO0OOOOO0OOOO0O00 ={}#line:14 | |
def OOO0O0O00OO00O000 (OOO0OOOO000OOO00O ):#line:17 | |
assert len (OOO0OOOO000OOO00O )==OOOO0OO0OO00OO0OO #line:19 | |
O0O000000000O000O =iter (OOO0OOOO000OOO00O )#line:20 |
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
#!/usr/bin/env python | |
import sys, itertools | |
__all__=[] | |
NUM_QUEENS = 8 | |
MAX = NUM_QUEENS * NUM_QUEENS | |
# Each position (i.e. square) on the chess board is assigned a number | |
# (0..63). non_intersecting_table maps each position A to a set | |
# containing all the positions that are *not* attacked by the position |