博文

让免费 AI 帮我抓住偷钱的订阅 | I Made Free AI Hunt My Sneaky Subscriptions

图片
用 Codex 的免费额度,配合两套开源工程技能,做一个纯 Python 标准库的本地订阅账单管家,重点是让它先把"月末扣款日"这个坑问出来、再用测试锁死。/ Using Codex's free tier plus two open-source engineering skill sets, build a local subscription-bill tracker in pure standard-library Python — the point being to let it interrogate the month-end billing-date trap out of you first, then lock it down with tests. 完整实操案例 为什么选这个:纯标准库、零 pip 安装、M2 16G 毫无压力、模型全在云端跑不占本地内存,而"1 月 31 日订阅下次几号扣"是个真实且非平凡的正确性陷阱。/ Why this one: pure stdlib, zero pip installs, effortless on an M2 with 16GB, all inference runs in the cloud so local memory is untouched — and "January 31st subscription, what's the next billing date" is a genuine, non-trivial correctness trap. 1. 装 Codex CLI/Install Codex CLI macOS 用官方一键脚本或 Homebrew,装完 codex login 用免费 ChatGPT 账户登录。/On macOS use the official one-liner or Homebrew, then run codex login with a free ChatGPT account. 不需要信用卡,Free 档就能跑通整个例子。/No credit card needed; the Free tier carries this whole example. 2. 建一个干净仓...

花 10 分钟白嫖一个代理,比买奶茶还简单 | Build a free proxy in 10 mins, easier than buying bubble tea

图片
谁说搭代理要花钱还要懂代码?10 分钟、一台免费 VPS、一行命令——完事。网速快到你怀疑人生,唯一的缺点是你会开始嫌弃以前用的那些付费玩意儿。别问,问就是真香。 Who said you need to pay or know coding to set up a proxy? 10 mins, one free VPS, one command—done. Speed so fast you'll question your life choices. Only downside? You'll start looking down on those paid services you used to rely on. Don't ask, just try it. 实操案例 用免费 Linux VPS 一键部署 Argosbx 现代节点,Mac M2 客户端连接,可选 WARP 改善出口。/Deploy a modern Argosbx node on a free Linux VPS and connect from a Mac M2 client, with optional WARP egress. 准备免费 Linux 机器/Prepare a free Linux box 申请云厂商长期免费档 ARM 或 x86 小机,系统选 Ubuntu,记下公网 IP 与 SSH 账号。/Get a long-term free-tier cloud VM running Ubuntu and note the public IP plus SSH login. 用 Mac 连上服务器/SSH in from your Mac 在 Mac 终端执行 ssh 用户名@服务器IP,首次确认指纹后登录。/From Terminal on Mac run ssh user@server-ip and accept the host key once. 打开命令生成器/Open the command generator 浏览器打开 Argosbx 生成器页面,选 VLESS-TCP-Reality 或 VLESS-XHTTP 等客户端兼容协议,端口可留空随机。/Open the Argosbx generator page, pick a cli...

我雇了个不睡觉的程序员,月薪一杯奶茶 | I Hired a Programmer Who Never Sleeps — Salary: One Bubble Tea

图片
以前想雇个 AI 程序员,钱包先递辞职信。现在终端里住进一位不睡觉的卷王:扔张截图过去,它连猜带写把网页端上来,速度快得像外卖小哥抢单,账单轻得像奶茶找零。配一次,命令行、桌面、编辑器三处通吃。小毛病嘛——偶尔自信过头,写完还嘴硬,你得客串一下代码监工。但比起省下的时间和钞票,这点脾气就像猫掉毛:忍了,真香。 Hiring an AI programmer used to make your wallet file for divorce. Now a sleepless workaholic lives in your terminal: toss it a screenshot and it serves up a working webpage faster than a delivery rider grabbing orders, with a bill lighter than bubble-tea change. Configure once, and it works across CLI, desktop and editor. Quirks? Occasionally overconfident and argues back — you'll moonlight as a code inspector. But like cat hair on a lovable cat, totally worth it. 实操案例 用 DeepSeek 免费额度驱动 Codex CLI,让它看一张 UI 截图自动写出能跑的 Python Flask 网页,再用 CLIProxyAPI 把这套能力包装成本地 API,一个例子串起全部技术要点。/Use DeepSeek's free credits to power Codex CLI, have it look at a UI screenshot and auto-build a runnable Python Flask webpage, then wrap it all into a local API via CLIProxyAPI — one example covering every key point. 1. 安装 Codex CLI/Install Codex CLI...

Chrome无痕,Codex也能接管? | Chrome Incognito, Now Codex-Controllable?

图片
真正有意思的是:AI 不需要“打开一个浏览器”,它可以直接接管已经存在的页面。只要那个 Chrome 可调试,Codex 就能列出页面、选择页面、导航、点击、输入、截图。换句话说,你负责把门打开,AI 负责进门——有点像谈恋爱,但千万别把钥匙给错人。 The interesting part is that AI does not necessarily need to launch a new browser. If Chrome is debuggable, Codex can work with pages that are already open: list them, select one, navigate, click, type, and take screenshots. You open the door; the AI walks in. Just make sure you gave the key to the right guest. 正确玩法 | The Correct Setup 第 0 步:检查环境 | Step 0: Check the Environment Node.js 必须至少是 22.12.0,并确认已经安装正式版 Google Chrome。 Node.js must be at least 22.12.0, and the official Google Chrome build should be installed. node --version   # 必须 ≥ 22.12.0,不够先 brew install node 第 1 步:启动真正的无痕 Chrome | Step 1: Launch Real Incognito Chrome 核心就是这一招:独立临时 profile + --incognito + 调试端口。 The key combination is: isolated temporary profile + --incognito + remote debugging. # 清掉可能残留的旧调试实例,避免 profile 锁死 pkill -f "remote-debugging-port=9222"; sleep 2 # 无痕 + 独立临时 profile + 调试端...