Hi, I'm ineo6, a web developer.
- 🔭 I’m currently working on Git Master
- 🌱 I’m currently learning any interesting thing
GitHub最新hosts。解决GitHub图片无法显示,加速GitHub网页浏览。
Home Page: https://ineo6.github.io/hosts/
License: MIT License
换了远程以后还是不好用
没有ip
How can you get these IP address? I mean, where you can get the original IP address for the GitHub hosts.
如何获得这些 IP 地址?我的意思是,你在哪里可以得到GitHub主机的原始IP地址。
这个有用吗
我也写了个脚本解析hosts。但是镜像到gitee总是报违规,导致每次都不能准确同步hosts。
我之前写的其他脚本在gitee上也经常违规!
想问一下作者如何解决gitee违规问题!
如题:希望增加ghcr.io这个域名,用的还是挺多的。
不是很稳定呀。
(/_\)大怨种
`import requests
import os
'''
国内镜像地址:https://gitee.com/ineo6/hosts
主站地址为:https://github.com/ineo6/hosts
'''
url = "https://gitee.com/ineo6/hosts/raw/master/hosts" # hosts源码
r = requests.get(url=url)
hosts = r.text
with open('C:\Windows\System32\drivers\etc\hosts.txt', 'w+') as f:
f.write(hosts)
os.system("ipconfig /flushdns")
print("hosts文件更新完毕,DNS缓存刷新完毕!")
`
实现效果如图
有办法可以让他每次开机就运行吗?(windows系统)
可以提高可访问性。
哪怕不用自定义域名,也是更容易访问的。
如题
objects.githubusercontent.com 没有 大佬加上不
如标题
此刻
https://github.com/ineo6/hosts/blob/master/next-hosts
Update at: 2023-02-08 12:14:19
https://raw.githubusercontent.com/ineo6/hosts/master/next-hosts
Update at: 2023-02-08 02:14:19
此刻:18:30
后者在浏览器内通过代理,还可以刷出:
Update at: 2023-02-08 02:14:19
Update at: 2023-02-08 08:58:03
Update at: 2023-02-08 12:14:19
但就是没有当前版本:
Update at: 2023-02-08 18:16:11
用脚本爬取更新什么的
小米路由器的设置界面里有个“手动安装插件”的功能,而且小米WiFi APP也有修改Hosts的功能,所以想到这个问题,不知道是否可行
如题
求AdGuard配置方法
github.blog
用了30号跟10月1号的host地址,发现git clone总是失败:
Connection reset by 140.82.113.3 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
不更新git clone反而好使。
建议再加一个raw.githubusercontent.com的host解析
就像这种本地获取hosts 链接 http://localhost:8888 有办法直接下载成hosts文件吗 我想用树莓派 直接下载 然后替换hosts文件
就像这种命令
0 */3 * * * cd /etc/storage/dnsmasq;rm -rf hosts;wget --no-check-certificate https://gitlab.com/ineo6/hosts/-/raw/master/hosts -O hosts;restart_dhcpd
本地链接这个 怎么设置 可以直接下载hosts文件
本地链接下载的 如图是 上面那种网页格式的
你的网络链接下载的是hosts文件格式
本地链接能直接下载下面那种格式吗
https://www.pixiv.net/
也可以用同样的方式直连,求大大更新
VS Code中打开copilot会频繁报错:
[ERROR] [default] Request Error: getaddrinfo ENOTFOUND copilot-proxy.githubusercontent.com
希望将 copilot 相关域名添加到列表。
copilot的地址是copilot.github.com
in https://github.com/ineo6/hosts/blob/master/index.js#L134:
variable prevHost contains real datetime with format "YYYY-MM-DD HH:mm:ss",
but variable content absolutely contains "{update_time}",
which make variable needUpdate always true
https://gitee.com/ineo6/hosts/raw/master/hosts
你的访问受限!
服务器拒绝处理您的请求!您可能没有访问此操作的权限,点击这里返回首页
此方案解决了dns污染问题,但不能解决github tcp rst的本质问题。
这个一直有点问题,感谢支持
提交错repo了,想提交到switchhosts项目,请删除
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.