AI prompts
base on 通过修改Hosts解决国内Github经常抽风访问不到,每日更新 # GitHub-Hosts
## 一、介绍
通过修改Hosts解决国内Github经常抽风访问不到
---
## 二、使用方法
### 2.1 复制下面的内容
```bash
#Github Hosts Start
#Update Time: 2024-12-22
#Project Address: https://github.com/maxiaof/github-hosts
#Update URL: https://raw.githubusercontent.com/maxiaof/github-hosts/master/hosts
140.82.112.25 alive.github.com
140.82.114.26 live.github.com
185.199.109.154 github.githubassets.com
140.82.112.22 central.github.com
185.199.111.133 desktop.githubusercontent.com
185.199.111.153 assets-cdn.github.com
185.199.110.133 camo.githubusercontent.com
185.199.110.133 github.map.fastly.net
146.75.121.194 github.global.ssl.fastly.net
140.82.121.3 gist.github.com
185.199.111.153 github.io
140.82.121.3 github.com
192.0.66.2 github.blog
140.82.121.6 api.github.com
185.199.108.133 raw.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.110.133 avatars5.githubusercontent.com
185.199.109.133 avatars4.githubusercontent.com
185.199.111.133 avatars3.githubusercontent.com
185.199.111.133 avatars2.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.111.133 avatars.githubusercontent.com
140.82.121.9 codeload.github.com
16.182.33.1 github-cloud.s3.amazonaws.com
52.217.0.59 github-com.s3.amazonaws.com
54.231.136.201 github-production-release-asset-2e65be.s3.amazonaws.com
52.217.0.59 github-production-user-asset-6210df.s3.amazonaws.com
16.182.37.225 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.109.153 githubstatus.com
140.82.113.18 github.community
51.137.3.17 github.dev
140.82.112.22 collector.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
185.199.109.133 media.githubusercontent.com
185.199.109.133 cloud.githubusercontent.com
185.199.111.133 objects.githubusercontent.com
#Github Hosts End
```
最后更新时间:`2024-12-22`
## 2.2 修改 hosts 文件
hosts 文件在不同系统位置不一,详情如下:
- Windows 系统:`C:\Windows\System32\drivers\etc\hosts`。
- Mac(苹果电脑)系统:`/etc/hosts`。
- Linux 系统:`/etc/hosts`。
修改方法,把2.1的内容复制到文本末尾:
1. Windows 使用记事本。
2. Linux、Mac 使用 Root 权限:`sudo vi /etc/hosts`。
#### 2.3 激活生效
大部分情况下是直接生效,如未生效可尝试下面的办法,刷新 DNS:
1. Windows:在 CMD 窗口输入:`ipconfig /flushdns`
2. Mac 命令:`sudo killall -HUP mDNSResponder`
3. Linux 命令:`sudo nscd restart`
**Tips:** 如以上刷新不好使,请重启尝试
", Assign "at most 3 tags" to the expected json: {"id":"7225","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"