做者:凯鲁嘎吉 - 博客园 http://www.cnblogs.com/kailugaji/python
在GitHub网站上,常常会遇到图片加载不出来的问题,如下图所示,用户的头像加载不出来。下面给出其中的一种解决方案。git
用记事本打开:C:\Windows\System32\drivers\etc\hosts,在hosts文件文本末尾复制下面这段文字并保存。github
# GitHub520 Host Start
185.199.108.154 github.githubassets.com
199.232.68.133 camo.githubusercontent.com
199.232.68.133 github.map.fastly.net
199.232.69.194 github.global.ssl.fastly.net
140.82.114.4 github.com
13.82.143.145 api.github.com
199.232.68.133 raw.githubusercontent.com
13.82.143.145 user-images.githubusercontent.com
199.232.68.133 favicons.githubusercontent.com
199.232.68.133 avatars5.githubusercontent.com
199.232.68.133 avatars4.githubusercontent.com
199.232.68.133 avatars3.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
199.232.68.133 avatars0.githubusercontent.com
# GitHub520 Host End
Windows系统:在 CMD 窗口输入:api
ipconfig /flushdns
[1] 让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。ide