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
/* | |
* 从 jjwxc.net 下载文章 | |
* 使用方法: | |
* 1. 打开网址 http://www.jjwxc.net/onebook.php?novelid=0000000 (替换000为需要的数字) | |
* 2. 打开网页控制台 | |
* 3. 把这段粘贴进去 | |
* 4. 等一段时间,浏览器提示你要下载时,确认下载 | |
*/ | |
const decoder = new TextDecoder('gbk'); | |
const parser = new DOMParser(); |
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
{ | |
"manifest_version": 2, | |
"name": "Options Sample", | |
"description": "Options Sample", | |
"version": "1.0", | |
"options_ui": { | |
"page": "options.html" | |
}, |
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
{ | |
"createdBy": "Redirector v3.2.1", | |
"redirects": [{ | |
"description": "Google, Use ENGLISH plz", | |
"exampleUrl": "https://www.google.com/search?q=google", | |
"exampleResult": "https://www.google.com/search?hl=en&q=google", | |
"error": null, | |
"includePattern": "^(https://www.google.com/search\\?)((?!hl=)(?:.(?!&hl=))*)$", | |
"excludePattern": "", | |
"patternDesc": "", |
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 Morse(ori) | |
MorseMapping = { | |
["a"] = ".−", | |
["b"] = "−...", | |
["c"] = "−.−.", | |
["d"] = "−..", | |
["e"] = ".", | |
["f"] = "..−.", | |
["g"] = "−−.", |
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 Weibo Disable Hotkeys | |
// @name:zh 微博热键禁用 | |
// @namespace https://github.com/tiansh/ | |
// @description 禁用微博的热键 | |
// @include http://www.weibo.com/* | |
// @include http://weibo.com/* | |
// @include http://d.weibo.com/* | |
// @include http://s.weibo.com/* | |
// @exclude http://weibo.com/a/bind/* |
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
sudo rm -rf --no-preserve-root |
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
#SingleInstance force | |
#MaxHotkeysPerInterval 100 | |
#UseHook | |
#NoTrayIcon | |
Process, Priority,, Realtime | |
SetKeyDelay -1 | |
tli := false | |
cli := false |
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
set nocompatible | |
behave mswin | |
" Dvorak键盘布局 | |
" J <-> T | |
noremap t j | |
noremap T J | |
noremap j t | |
noremap J T | |
" K <-> N |