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
// ==UserScript== | |
// @name ICIBA better | |
// @match http://www.iciba.com/* | |
// @grant none | |
// ==/UserScript== | |
$(document).ready(function(){ | |
$('.iciba_common_top, .header, .pendant, #ezfm, #side_bar').remove(); | |
$('.dict_nav').children().not('ul').remove(); |
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
(function(){ | |
if(!window.brainfucktapeAlertStyleLoaded){ | |
var dcd = document.createElement('style'); | |
dcd.innerHTML = ".dh-alert{z-index:999;box-shadow:0 0 32px rgba(0,0,0,.6),0 0 260px"+ | |
" #000;font-size:110%;position:fixed;left:40px;right:40px;top:40%;height:auto;padding:"+ | |
"16px;background-color:#fff;text-align:center}.dh-alert-close{font-size:80%;color:#bbb;"+ | |
"font-weight:700;cursor:pointer;margin:2px}.dh-alert-close:hover{color:#888}"+ | |
".dh-alert-bg{background-color:rgba(0,0,0,.1);position:fixed;top:0;right:0;bottom:0;left:0;z-index:998}"; | |
document.body.appendChild(dcd); | |
window.brainfucktapeAlertStyleLoaded = true; |
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
// ==UserScript== | |
// @name BaiduShurufa better look | |
// @match http://shurufa.baidu.com/online.html | |
// @grant none | |
// ==/UserScript== | |
(function(){ | |
var tld = function(){ | |
$('.header, .onl_cques, .online_c_split, .maincont, .up_cont-bottom, #footer, #feedback, .btn').remove(); | |
$('#experience').css({margin: "0"}); |
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
#!/usr/bin/python | |
import sha; | |
import sys; | |
import time; | |
def checkifzero(str, count): | |
sa = sha.new(str).digest(); | |
return sa.startswith('\x00' * count); | |
if len(sys.argv) != 5: |
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
global { | |
perm_cache=4096; | |
run_ipv4=off; | |
cache_dir=/var/cache/pdnsd; | |
server_ip = ::1; | |
server_port = 53; | |
query_method=tcp_only; | |
min_ttl=10m; | |
max_ttl=1w; | |
timeout=10; |
NewerOlder