OSDN Git Service

feat(intro/faq.md): add gh-check script to get fastest GitHub IP
authorCoelacanthus <coelacanthus@outlook.com>
Tue, 26 Jan 2021 17:22:08 +0000 (01:22 +0800)
committerCoelacanthus <coelacanthus@outlook.com>
Tue, 26 Jan 2021 17:22:08 +0000 (01:22 +0800)
Python Script by lilydjwg: https://gist.github.com/lilydjwg/93d33ed04547e1b9f7a86b64ef2ed058
Introduction by lilydjwg: https://blog.lilydjwg.me/2019/8/16/gh-check.214730.html
Perl Script by hellojukay: https://gist.github.com/lilydjwg/93d33ed04547e1b9f7a86b64ef2ed058#gistcomment-3401138

docs/intro/faq.md

index 20ba2e8..4ba53e5 100644 (file)
@@ -98,6 +98,8 @@ A:推荐在 hosts 文件中加入如下几行[^ref1]:
 
 可以在 [GoogleHosts 主页](https://github.com/googlehosts/hosts) 上了解到更多信息。
 
+Linux 和 macOS 用户可以尝试使用[依云](https://github.com/lilydjwg/)的 [gh-check 脚本](https://gist.github.com/lilydjwg/93d33ed04547e1b9f7a86b64ef2ed058)获取访问最快的 IP,使用 `--hosts` 参数可以直接更新 hosts 文件。使用 `--help` 参数可以获取使用帮助。使用先需要安装 Python3 和 aiohttp (`pip install aiohttp -i https://pypi.tuna.tsinghua.edu.cn/simple/`)。依云博客的介绍:[寻找最快的 GitHub IP](https://blog.lilydjwg.me/2019/8/16/gh-check.214730.html)。
+
 * * *
 
 Q:我这里 pip 也太慢了