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
/** | |
* @template {number} T | |
* @param {T} start | |
* @param {T} end | |
* @param {T | (old: T) => T} increase | |
* @returns {T[]} | |
*/ | |
export default function range(start, end, increase = 1) { | |
const increaser = typeof increase === 'function' | |
? increase |
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": "Abc", | |
"version": "0.0.0", | |
"author": "木杉", | |
"keywords": [ | |
"http" | |
], | |
"entry": "mod.ts" | |
} |
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
var direct = "__DIRECT__"; | |
if (direct == "__DIR" + "ECT__") direct = "DIRECT;"; | |
var wall_proxy = function(){ return "__PROXY__"; }; | |
var wall_v6_proxy = function(){ return "__PROXY__"; }; | |
var nowall_proxy = function(){ return direct; }; | |
var ip_proxy = function(){ return nowall_proxy(); }; | |
var ipv6_proxy = function(){ return nowall_proxy(); }; |
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
// Type definitions for jQuery 1.10 | |
// Project: http://jquery.com/ | |
// Definitions by: Boris Yankov <https://github.com/borisyankov/> | |
// Christian Hoffmeister <https://github.com/choffmeister> | |
// Steve Fenton <https://github.com/Steve-Fenton> | |
// Diullei Gomes <https://github.com/Diullei> | |
// Tass Iliopoulos <https://github.com/tasoili> | |
// Jason Swearingen <https://github.com/jasons-novaleaf> | |
// Sean Hill <https://github.com/seanski> | |
// Guus Goossens <https://github.com/Guuz> |
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 clone | |
``` | |
下载 git clone <url> | |
``` | |
#### git remote | |
``` | |
查看详情 git remote -v | |
更换源 git remote set-url <name> <url> |
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
registry=https://registry.npm.taobao.org/ | |
disturl=https://npm.taobao.org/dist | |
chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver | |
operadriver_cdnurl=http://cdn.npm.taobao.org/dist/operadriver | |
phantomjs_cdnurl=http://cdn.npm.taobao.org/dist/phantomjs | |
sass_binary_site=http://cdn.npm.taobao.org/dist/node-sass | |
electron_mirror=http://cdn.npm.taobao.org/dist/electron/ | |
selenium_cdnurl=http://npm.taobao.org/mirrors/selenium | |
node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector |