<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Blog on heihie</title><link>https://heihei0299.github.io/categories/blog/</link><description>Recent content in Blog on heihie</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 20 Jul 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://heihei0299.github.io/categories/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Git 保姆级教程：实用主义与深入探索</title><link>https://heihei0299.github.io/posts/blog/git-tutorial/</link><pubDate>Mon, 20 Jul 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/git-tutorial/</guid><description>Git 从入门到进阶的完整教程：实用主义部分覆盖 clone/config/branch/add/commit/push/pull 等日常 90% 需求，深入探索部分讲解暂存区、分支、reset/rebase、stash、submodule 等进阶操作。</description></item><item><title>Hugo + PaperMod + Github Pages 搭建一个完善的个人博客(以 Windows11 为例)</title><link>https://heihei0299.github.io/posts/blog/hugo-papermod-github-pages-guide/</link><pubDate>Sat, 04 Jul 2026 03:25:53 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/hugo-papermod-github-pages-guide/</guid><description>之前四五年的时间里也算写过五六百篇博客。以前的 Hexo 顶不住博客数量的压力了，所以，切到 Hugo 试一下。</description></item><item><title>coverview 博客文章封面部署</title><link>https://heihei0299.github.io/posts/blog/coverview-%E5%8D%9A%E5%AE%A2%E6%96%87%E7%AB%A0%E5%B0%81%E9%9D%A2/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/coverview-%E5%8D%9A%E5%AE%A2%E6%96%87%E7%AB%A0%E5%B0%81%E9%9D%A2/</guid><description>因为 Typecho-Butterfly 主题需要文章封面，选择 Coverview 快速生成文章封面：npm 安装、git clone 部署、pm2 持久化运行、nginx 反向代理。</description></item><item><title>typecho butterfly</title><link>https://heihei0299.github.io/posts/blog/typecho-butterfly/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/typecho-butterfly/</guid><description>Typecho-Butterfly 是移植自 hexo 框架 Butterfly 的主题：支持导航栏自定义二级目录、代码高亮、美观目录，下载安装并解压即可使用。</description></item><item><title>Typecho Docker 部署指南（基于 PHP 8.2）</title><link>https://heihei0299.github.io/posts/blog/typecho-%E9%83%A8%E7%BD%B2-php-8-2-sqlite-nginx/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/typecho-%E9%83%A8%E7%BD%B2-php-8-2-sqlite-nginx/</guid><description>用 Docker Compose 部署 PHP 8.2 FPM 容器 + SQLite 数据库 + Nginx 反向代理运行 Typecho，并加固 nginx（默认虚拟主机拦截、Cloudflare IP 白名单）、修改后台路径增强安全。</description></item><item><title>Typecho 部署（Docker 部署 PHP 8.2）</title><link>https://heihei0299.github.io/posts/blog/%E9%83%A8%E7%BD%B2typecho-docker-%E9%83%A8%E7%BD%B2php-8-2/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E9%83%A8%E7%BD%B2typecho-docker-%E9%83%A8%E7%BD%B2php-8-2/</guid><description>在 Debian/Ubuntu 上用 Docker Compose 部署 PHP 8.2 FPM + SQLite 运行 Typecho：环境信息、容器编排、Nginx 配置与 Cloudflare IP 白名单、SQLite 安装向导、修改后台登录路径。</description></item><item><title>Typecho 文章批量导出工具</title><link>https://heihei0299.github.io/posts/blog/%E4%BB%8Etypecho%E4%B8%AD%E5%AF%BC%E5%87%BA%E6%96%87%E7%AB%A0-sqlite%E6%95%B0%E6%8D%AE%E5%BA%93/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E4%BB%8Etypecho%E4%B8%AD%E5%AF%BC%E5%87%BA%E6%96%87%E7%AB%A0-sqlite%E6%95%B0%E6%8D%AE%E5%BA%93/</guid><description>提供从 Typecho 数据库批量导出文章为 Markdown 文件的 Python 脚本，支持 SQLite 和 MySQL 两种数据库。</description></item><item><title>构建并推送自定义 PHP 8.2 FPM 镜像（适用于 Typecho）</title><link>https://heihei0299.github.io/posts/blog/php8-2-fpm-typecho%E9%95%9C%E5%83%8F%E6%9E%84%E5%BB%BA/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/php8-2-fpm-typecho%E9%95%9C%E5%83%8F%E6%9E%84%E5%BB%BA/</guid><description>本文档介绍如何在本地构建一个适用于 Typecho 的自定义 PHP 8.2 FPM 镜像，并将其推送至 Docker Hub。</description></item><item><title>为typecho启用cloudflare</title><link>https://heihei0299.github.io/posts/blog/%E4%B8%BAtypecho%E5%90%AF%E7%94%A8cloudflare/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E4%B8%BAtypecho%E5%90%AF%E7%94%A8cloudflare/</guid><description>Typecho 接入 Cloudflare 后的 nginx 加固：默认 server 对未知 Host 返回 404，并只允许 Cloudflare IP 访问 80 端口，防止源站被绕过。</description></item><item><title>r2图床防止被刷</title><link>https://heihei0299.github.io/posts/blog/r2%E5%9B%BE%E5%BA%8A%E9%98%B2%E6%AD%A2%E8%A2%AB%E5%88%B7/</link><pubDate>Fri, 20 Jun 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/r2%E5%9B%BE%E5%BA%8A%E9%98%B2%E6%AD%A2%E8%A2%AB%E5%88%B7/</guid><description>最近刚白嫖了cf的r2存储桶作为图床，但是r2存储计费无上限，也就是说存在被刷爆的风险。所以采取以下措施，防止被刷爆。</description></item><item><title>阿里云oss cloudflare</title><link>https://heihei0299.github.io/posts/blog/%E9%98%BF%E9%87%8C%E4%BA%91oss-cloudflare/</link><pubDate>Fri, 20 Jun 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E9%98%BF%E9%87%8C%E4%BA%91oss-cloudflare/</guid><description>利用 Cloudflare 带宽联盟免除阿里云 OSS 外网流量费：海外地域建私有 Bucket、Cloudflare IP 授权、CDN 绑定自定义域名与源证书、跨域与防盗链，以及 PicList 上传配置。</description></item><item><title>搭建图床cloudflare r2 picgo</title><link>https://heihei0299.github.io/posts/blog/%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8Acloudflare-r2-picgo/</link><pubDate>Fri, 20 Jun 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8Acloudflare-r2-picgo/</guid><description>用 Cloudflare R2 + PicGo 搭建免费图床：购买 R2 计划、创建存储桶并绑定自定义域名、禁用公开转发 URL 防刷、创建 API 令牌并配置 PicGo S3 插件自动上传。</description></item><item><title>防止阿里云oss被刷</title><link>https://heihei0299.github.io/posts/blog/%E9%98%B2%E6%AD%A2%E9%98%BF%E9%87%8C%E4%BA%91oss%E8%A2%AB%E5%88%B7/</link><pubDate>Fri, 20 Jun 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E9%98%B2%E6%AD%A2%E9%98%BF%E9%87%8C%E4%BA%91oss%E8%A2%AB%E5%88%B7/</guid><description>S3 协议 bucket 公开读权限下会暴露文件列表与存储特征，容易被刷流量：设置静态页面与错误页、隐藏 bucket 标头（阿里云 OSS / Backblaze B2）、配置 Cloudflare 缓存规则。</description></item><item><title>使用Cloudflare worker加速Cloudflare R2访问速度</title><link>https://heihei0299.github.io/posts/blog/%E4%BD%BF%E7%94%A8cloudflare-worker%E5%8A%A0%E9%80%9Fcloudflare-r2%E8%AE%BF%E9%97%AE%E9%80%9F%E5%BA%A6/</link><pubDate>Fri, 20 Jun 2025 00:00:00 +0800</pubDate><guid>https://heihei0299.github.io/posts/blog/%E4%BD%BF%E7%94%A8cloudflare-worker%E5%8A%A0%E9%80%9Fcloudflare-r2%E8%AE%BF%E9%97%AE%E9%80%9F%E5%BA%A6/</guid><description>cloudflare R2 提供了免费10G的对象存储并且兼容Amazon S3 api 操作, 与大多数对象存储提供商不一样的是R2的流出流量是免费的, 不用担心请求被恶意刷爆第二天银行来收房子的情况发生. 但是cloudflare给R2分配的ip都是xxx.xxx.xxx.1形式的ip, ...</description></item></channel></rss>