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
-- settings | |
-- key_binding: press the key specified below | |
-- to cycle between denoise filters below, | |
-- set it to nil to disable the binding | |
local key_binding = "n" | |
-- key_binding_reverse cycle between denoise filters below | |
-- in reverse order, set it to nil to disable the binding, | |
-- set it to a single-char string to enable | |
local key_binding_reverse = nil |
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 hls.user.js | |
// @name:zh-CN hls.user.js | |
// @namespace hls.js | |
// @version 0.2.4 | |
// @description m3u8 playback using HTML5 video and MediaSource Extensions (CORS Required!) | |
// @description:zh-cn 基于HTML5和MediaSource Extensions的hls/m3u8播放 | |
// @include https://* | |
// @include http://* | |
// @exclude http://218.94.1.182:8080/* |
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
@echo off | |
setlocal EnableExtensions EnableDelayedExpansion | |
pushd "%~dp0" | |
:Download_7zip | |
set version=7z1803 | |
appveyor DownloadFile https://www.7-zip.org/a/%version%-src.7z | |
7z x %version%-src.7z | |
:Patch |
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 bili_fix_player | |
// @namespace bili | |
// @description B站播放器增强脚本,下载视频,可使用另外两种H5播放器,可弹窗播放等 | |
// @include /^.*\.bilibili\.(tv|com|cn)\/(video|search|sp).*$/ | |
// @include /^.*bilibili\.kankanews\.com\/(video|search|sp).*$/ | |
// @include /http://www.bilibili.com/(#page=*)?/ | |
// @include http://www.bilibili.com/bangumi/* | |
// @include http://bangumi.bilibili.com/anime/v/* | |
// @exclude http://search.bilibili.com* |
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 百度网盘直接下载助手 | |
// @namespace undefined | |
// @version 0.9.24 | |
// @description 直接下载百度网盘和百度网盘分享的文件,避免下载文件时调用百度网盘客户端,获取网盘文件的直接下载地址 | |
// @author ivesjay | |
// @downloadURL https://gist.github.com/myfreeer/1106826093c401d5276bd35247a1465b/raw/baidu-pan.user.js | |
// @match *://pan.baidu.com/disk/home* | |
// @match *://yun.baidu.com/disk/home* | |
// @match *://pan.baidu.com/s/* |
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
git config --global http.proxy http://127.0.0.1:8087 | |
git config --global https.proxy http://127.0.0.1:8087 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
set_proxy() { | |
git config http.proxy 127.0.0.1:8087 | |
git config https.proxy 127.0.0.1:8087 | |
git config http.sslVerify false |
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
no-popups: rarbg.is true | |
no-popups: www.cilicili.org true | |
no-remote-fonts: dewdrop.io true | |
no-strict-blocking: bit.ly true | |
no-strict-blocking: cloudfront.net true | |
no-strict-blocking: goo.gl true | |
no-strict-blocking: hi.baidu.com true | |
no-strict-blocking: href.li true | |
no-strict-blocking: pornhub.com true | |
no-strict-blocking: rarbg.com 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
Element.prototype.find=Element.prototype.querySelector; | |
Element.prototype.attr=Element.prototype.getAttribute; | |
Element.prototype.on=Element.prototype.addEventListener; | |
Element.prototype.off=Element.prototype.removeEventListener; | |
// arrow functions binds no this nor arguments | |
Element.prototype.data=function(str){return this.dataset[str];}; | |
Element.prototype.text=function(str){return str ? (this.innerText = str) && this : this.innerText;}; | |
Element.prototype.html=function(str){return str ? (this.innerHTML = str) && this : this.innerHTML;}; | |
Element.prototype.hide=function(){this.style.display = 'none';}; | |
Element.prototype.show=function(){this.style.display = '';}; |
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
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
import java.util.Arrays; | |
import java.util.Map; | |
import java.util.Objects; | |
@SuppressWarnings({"WeakerAccess", "unused"}) | |
public class MyUnsafeFactory { |
NewerOlder