Forwarded from 面条实验室
部分 Cloudflare 免费计划也可以使用 Snippets 了。
Snippets 是一个更轻量的 JS 运行环境。可以做重写、重定向等一些对 CPU 要求不高的业务,重要的不限制请求次数。
你可以:
1. 搭建一个不限流量的 Docker Hub 镜像 https://miantiao.me/posts/cloudflare-docker-mirror/
2. 搭建只需 10 行代码的短链接系统 https://miantiao.me/posts/hink/
3. 一个 IP 信息检测 API https://github.com/ccbikai/ip-api
Snippets 是一个更轻量的 JS 运行环境。可以做重写、重定向等一些对 CPU 要求不高的业务,重要的不限制请求次数。
你可以:
1. 搭建一个不限流量的 Docker Hub 镜像 https://miantiao.me/posts/cloudflare-docker-mirror/
2. 搭建只需 10 行代码的短链接系统 https://miantiao.me/posts/hink/
3. 一个 IP 信息检测 API https://github.com/ccbikai/ip-api
answer.html
63.3 KB
快速记忆几个NAT的区别
DNAT:改目标地址(Destination),实现端口转发
SNAT:改源地址(Source),让回包能正确返回
Masquerade:SNAT的自动版本,适合动态IP
#network
DNAT:改目标地址(Destination),实现端口转发
SNAT:改源地址(Source),让回包能正确返回
Masquerade:SNAT的自动版本,适合动态IP
#network
PrL的负能量场
answer.html
发现我的xray部署到路由器上,无法通过公网ip:port的形式访问路由器转发的内网服务。
然而xray部署在内网服务器上转发出来,在访问公网ip:port就可以访问了。
经过一段研究,应该是snat相关的问题,只设了dnat但是没设snat。详见接下来连续的几个post
#network
然而xray部署在内网服务器上转发出来,在访问公网ip:port就可以访问了。
经过一段研究,应该是snat相关的问题,只设了dnat但是没设snat。详见接下来连续的几个post
#network
GitHub - router-for-me/CLIProxyAPI: Wrap Gemini CLI, ChatGPT Codex, Claude Code, Qwen Code as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwen model through API
https://github.com/router-for-me/CLIProxyAPI
https://github.com/router-for-me/CLIProxyAPI
GitHub
GitHub - router-for-me/CLIProxyAPI: Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Ge…
Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwe...
安卓设置动画速度的adb命令
# 设置动画速度
# 读出来看看
#programming
# 设置动画速度
settings put global window_animation_scale 0.8
settings put global transition_animation_scale 0.8
settings put global animator_duration_scale 0.8
# 读出来看看
settings get global window_animation_scale
settings get global transition_animation_scale
settings get global animator_duration_scale
#programming