https://github.com/wppurking/wyatt_hosts
自己使用的 hosts 文件. Google , Apple, Amazon
https://github.com/wppurking/wyatt_hosts
Last synced: 7 months ago
JSON representation
自己使用的 hosts 文件. Google , Apple, Amazon
- Host: GitHub
- URL: https://github.com/wppurking/wyatt_hosts
- Owner: wppurking
- Created: 2012-10-24T07:24:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-08T03:24:45.000Z (about 10 years ago)
- Last Synced: 2024-04-14T16:08:40.580Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 1.08 MB
- Stars: 1
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Update at 2014-08-14
因为 GFW 的变化, 修改 hosts 已经不靠谱了~ 换方法吧~# Update at 2014-06-06
最近 GFW 进行了改变使得 Hosts 翻墙越发的困难, 这个方法应该会被放弃了, 转而使用 PAC + Shadowsocks 了# Wyatt 自己的 hosts 文件
ps: 脚本需要在 \*nix 下执行, 因为 curb 使用了 curl
## 五块内容:
* Google 服务
* Amazon 静态内容网站
* Apple 服务
* alibaba 中使用的 akamai cdn
* Adobe 屏蔽
* 广告屏蔽外加在 Chrome 浏览器下使用 [HTTPS
Everywhere](https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp?hl=en-US) 速度刚刚滴## 使用 (\*nix)
1. git clone git://github.com/wppurking/wyatt_hosts.git
2. cd wyatt_hosts
3. bundle install
4. ruby just-ping.rb
5. cp hosts.1[tab] /etc/hostsThat`s all