From df4da31f620d9daa99f31f42dd57315f1127b61f Mon Sep 17 00:00:00 2001 From: xueweihan <595666367@qq.com> Date: Fri, 8 Oct 2021 12:15:09 +0800 Subject: [PATCH] update --- README_template.md | 4 ++-- fetch_ips.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README_template.md b/README_template.md index b30531739..94934bcca 100644 --- a/README_template.md +++ b/README_template.md @@ -4,7 +4,7 @@
HelloGitHub 分享 GitHub 上有趣、入门级的开源项目。
兴趣是最好的老师,这里能够帮你找到编程的兴趣!

-有问题可以来[「HelloGitHub 视频号」](https://static.hellogithub.com/5y/img/v.jpeg)问我,不定期直播。 +有问题可以来[「HelloGitHub 视频号」](https://cdn.jsdelivr.net/gh/521xueweihan/img_logo@main/logo/v.jpeg)问我,不定期直播。 ## 一、介绍 对 GitHub 说"爱"太难了:访问慢、图片加载不出来。 @@ -52,7 +52,7 @@ hosts 文件在每个系统的位置不一,详情如下: 1. Windows:在 CMD 窗口输入:`ipconfig /flushdns` -2. Linux 命令:`sudo nscd restart`,如报错则须安装:`sudo apt install nscd` +2. Linux 命令:`sudo nscd restart`,如报错则须安装:`sudo apt install nscd` 或 `sudo /etc/init.d/nscd restart` 3. Mac 命令:`sudo killall -HUP mDNSResponder` diff --git a/fetch_ips.py b/fetch_ips.py index cf82882bd..4c68d5a6e 100644 --- a/fetch_ips.py +++ b/fetch_ips.py @@ -49,6 +49,7 @@ RAW_URL = [ "github-production-repository-file-5c1aeb.s3.amazonaws.com", "githubstatus.com", "github.community", + "github.dev", "media.githubusercontent.com"] IPADDRESS_PREFIX = ".ipaddress.com"