0%

dev

nvm

1
2
nvm node_mirror https://npmmirror.com/mirrors/node/
nvm npm_mirror https://npmmirror.com/mirrors/npm/

npm

1
2
3
npm config get registry
npm config set registry https://registry.npmmirror.com
npm config set registry https://registry.npmjs.org

yarn

1
2
3
yarn config get registry
yarn config set registry https://registry.npmmirror.com
yarn config set ignore-engines true

pnpm

1
2
pnpm config get registry
pnpm config set registry https://registry.npmmirror.com

git

1
2
3
git config credential.helper store
git config --global --add safe.directory "*"
git commit --no-verify -m ""

时间段重叠

1
a_start <= b_end and a_end >= b_start