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

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.