使用 watt toolkit 进行网络加速
加速后能正常访问 github、onedrive、vercel 等网页内容,非常实用。
Watt Toolkit 通过本地代理探测并选择 GitHub、OneDrive 等目标的最优 IP,同时利用修改 hosts 文件实现域名直连,从而加速访问。
注意:加速后使用 git 同步远端仓库内容时需要修改配置,否则会导致报错:
git config --global http.sslVerify false
vscode 下载
非科学上网时,下载 vscode 不时也无法连接。可以将下载地址中的 https://az764295.vo.msecnd.net 替换成 https://vscode.cdn.azure.cn
github
- https://sites.ipaddress.com/github.com 查看 github ip 地址
文件下载
即使用 watt toolkit 加速, github 的许多文件下载地址也是无法连通的,需要通过一些镜像来下载
拉取/推送代码
非科学上网环境下可以通过 ssh 方式来进行代码库同步操作,这需要ssh-keygen -t rsa
生成密钥,将公钥添加到 https://github.com/settings/keys,但最近也非常不稳定,容易无法连接。
watt toolkit 开启了代理之后,通常命令行也能生效,可以通过 https 拉取代码,不过要手动信任其根证书或者禁用 https 验证;如果 Git 默认不继承系统代理设置,则手动配置代理。
powershell
git config --global http.proxy http://127.0.0.1:7890git config --global https.proxy http://127.0.0.1:7890git config --global http.sslVerify false
npm
设置淘宝镜像
bash
npm config set registry https://registry.npmmirror.com/yarn config set registry https://registry.npmmirror.com/
yarn 安装后运行提示 ... 因为在此系统上禁止运行脚本...:terminal 管理员运行
sharp 安装问题
sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-win32-x64.tar.br
bash
yarn config set sharp_binary_host "https://npmmirror.com/mirrors/sharp"yarn config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips"
powershell
set-executionpolicy remotesigned
官方镜像 https://registry.yarnpkg.com
社区/论坛/百科镜像
微软应用商店安装包检索
MS store 的连接也不稳定,可能安装不了应用,需要从 https://store.rg-adguard.net/ 下载安装包安装,例如 clipchamp 的更新等
clash 订阅源
唉,不说了,还是他娘的翻墙方便。
https://www.xrayvip.com/free.yaml
https://clashnode.cc/uploads/2024/12/1-20241210.yaml
https://free-clash-meta.github.io/uploads/2025/02/0-20250203.yaml
https://flclashnode.github.io/uploads/2025/02/0-20250202.yaml