做者:凱魯嘎吉 - 博客園 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