banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

github-hosts:通過修改Hosts解決國內Github經常抽風訪問不到的問題

現在國內 github 基本都無法直接訪問了,
墻介紹
被 qiang 大體有兩種:DNS 污染,封鎖 IP。

DNS 污染則無法通過域名直接訪問,一種方法就是修改 DNS,這個最簡單的就是修改 hosts。 封鎖 IP 的話,只能通過 "反墻" 來解決。由於政策風險,這裡不介紹。

github 訪問
由於眾所周知的原因 github 很多時候無法加載,或者樣式不顯示。我們可以簡單修改 Host,解決 github 無法訪問。
編輯下面文件: C:\Windows\System32\drivers\etc\hosts。
把上述 hosts 文件內容複製進去即可。
#Github Hosts Start
#Update Time: 2024-01-30
#Project Address: https://github.com/maxiaof/github-hosts
#Update URL: https://raw.githubusercontent.com/maxiaof/github-hosts/master/hosts
140.82.114.26 alive.github.com
140.82.114.26 live.github.com
185.199.110.154 github.githubassets.com
140.82.113.22 central.github.com
185.199.111.133 desktop.githubusercontent.com
185.199.110.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.110.133 github.map.fastly.net
146.75.121.194 github.global.ssl.fastly.net
140.82.121.4 gist.github.com
185.199.110.153 github.io
140.82.121.4 github.com
192.0.66.2 github.blog
140.82.121.5 api.github.com
185.199.111.133 raw.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.109.133 avatars5.githubusercontent.com
185.199.110.133 avatars4.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.109.133 avatars2.githubusercontent.com
185.199.110.133 avatars1.githubusercontent.com
185.199.109.133 avatars0.githubusercontent.com
185.199.110.133 avatars.githubusercontent.com
140.82.121.10 codeload.github.com
52.216.218.201 github-cloud.s3.amazonaws.com
54.231.228.113 github-com.s3.amazonaws.com
52.217.113.73 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.221.9 github-production-user-asset-6210df.s3.amazonaws.com
52.216.90.68 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.109.153 githubstatus.com
140.82.113.17 github.community
52.224.38.193 github.dev
140.82.114.22 collector.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
185.199.109.133 media.githubusercontent.com
185.199.110.133 cloud.githubusercontent.com
185.199.108.133 objects.githubusercontent.com
#Github Hosts End

image

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。