将 Hugo 博客从自建服务器迁移到 Cloudflare Pages

我的 Hugo 博客之前跑在家里小主机上,24 小时开机。昨天花半小时把博客迁移到了 Cloudflare Pages,彻底解决了这个痛点。 ...

August 3, 2026 · 1 min · Steven

外贸小公司用 AI 开发 ERP 系统实战(四):PCB 拼板利用率优化工具

PCB 报价中有一个直接影响成本的关键环节——拼板利用率。同样一块生产面板,排 10 片和排 12 片的单价完全不同。我用 AI 写了一个拼板优化工具,自动计算最优排版方案。 ...

August 3, 2026 · 1 min · Steven

外贸小公司用 AI 开发 ERP 系统实战(三):PCB 分析微服务

PCB 报价的第一步是分析客户发来的 Gerber 文件,提取层数、尺寸、材料等信息. 以前全靠人工用 CAM 软件打开查看,效率极低. 我用 AI 写了一个独立的 PCB 分析微服务——PCB Analyzer. ...

August 3, 2026 · 1 min · Steven

外贸小公司用 AI 开发 ERP 系统实战(二):报价模块的完整业务逻辑

上一篇介绍了系统整体架构,这篇深入最核心的报价模块. PCB 贸易的报价流程比想象中复杂得多,涉及多方比价、运费计算、利润加成,每一步都不能出错. ...

August 3, 2026 · 1 min · Steven

外贸小公司用 AI 开发 ERP 系统实战(一):从 VB 到 DeepSeek

我在一家小型 PCB 贸易公司工作,公司没有 ERP 系统,日常全靠 Excel. 多年前自学过 VB6,写过几个小工具辅助报价和跟单. 最近 AI 大爆发,我决定用 DeepSeek 从零开发一个 Web 版的业务管理系统——PCB Nexus. ...

August 3, 2026 · 1 min · Steven

Cloudflare DDNS Setup Guide

Home broadband public IP is usually dynamic. Get API Token Login to Cloudflare and create an API token. Update Script Write a shell script to update A record. Cron Job Run every 5 minutes. Summary DDNS is essential for home server.

August 1, 2026 · 1 min · Steven

Hugo Blog Setup Guide

Hugo is a fast static site generator written in Go. Install sudo apt install hugo -y Create Site hugo new site myblog Add Theme git clone themes/PaperMod Write Posts hugo new posts/first.md Deploy hugo and copy to nginx Hugo is the fastest blog framework I have ever used.

August 1, 2026 · 1 min · Steven

自建 VLESS-Reality VPN 完整教程

为什么选择 VLESS-Reality 2026 年,VLESS + Reality 是目前最先进的代理协议组合.Reality 流量伪装成访问 yahoo.com 等大站,几乎无法被识别.VLESS 轻量协议,无加密开销,性能优异. 安装 3X-UI 面板 bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) 安装后访问面板,默认用户名密码 admin/admin. 配置 Reality 节点 进入入站列表,添加入站 协议选择 vless,端口 443 Security 选择 reality 回落目标:yahoo.com:443 SNI:yahoo.com 点击 Get New Keys 生成密钥对 添加客户端 UUID 手机客户端配置 推荐使用 v2rayNG(Android)或 Shadowrocket(iOS).配置参数包括地址、端口、UUID、Public Key、Short ID、SNI. 性能测试 实测香港到香港延迟 3-5ms,中国内地到香港 20-40ms. 小结 VLESS-Reality 是目前最推荐的方案,抗封锁能力强,配置也不算复杂.

August 1, 2026 · 1 min · Steven

Ubuntu Server 24.04 双系统安装完整指南

前言 在家用小主机上安装 Ubuntu Server 与 Windows 双系统,既能保留 Windows 日常使用,又能拥有一个 24 小时运行的 Linux 服务器. 准备工作 USB 启动盘(8GB 以上) 小主机或 PC 网线或 USB WiFi 网卡 下载 ISO 前往 Ubuntu 官方发布页下载 ubuntu-24.04.2-live-server-amd64.iso. 制作启动盘 使用 Rufus(Windows)或 Balena Etcher(Mac/Linux)将 ISO 写入 U 盘. 安装步骤 从 U 盘启动,按 F2/Del 进入 BIOS 语言选 English,键盘默认 US 网络连接后磁盘分区选 Use an entire disk 勾选 Install OpenSSH server 安装完成后重启,拔掉 U 盘 设置固定 IP 编辑 netplan 配置文件后应用: sudo netplan apply 小结 双系统安装关键是不能覆盖 Windows 分区. ...

August 1, 2026 · 1 min · Steven

Docker Quick Start Guide

Docker makes it easy to run applications in isolated containers. Install Docker sudo apt install docker.io -y sudo systemctl enable docker –now Basic Commands docker ps: List running containers docker images: List downloaded images docker run: Start a container docker stop: Stop a container docker rm: Remove a container Run Your First Container docker run -d –name nginx -p 8080:80 nginx Now visit http://your-server-ip:8080 to see Nginx running. Docker Compose For multi-container apps, use Docker Compose with a docker-compose.yml file. ...

July 25, 2026 · 1 min · Steven