<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>博客 on changediff</title><link>https://changediff.github.io/blog/</link><description>Recent content in 博客 on changediff</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 21 Sep 2026 22:30:00 +0800</lastBuildDate><atom:link href="https://changediff.github.io/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>自建 ZCode 内部 mirror：mirrors.changediff.top 与 apt 源落地记录</title><link>https://changediff.github.io/2026/09/21/zcode-internal-mirror/</link><pubDate>Mon, 21 Sep 2026 22:30:00 +0800</pubDate><guid>https://changediff.github.io/2026/09/21/zcode-internal-mirror/</guid><description>&lt;p&gt;最近把 ZCode 的安装方式从「人工下载 + &lt;code&gt;dpkg -i&lt;/code&gt;」改成了内部镜像源。这篇记录整个方案、踩过的四个坑，以及最后的使用配置指南。&lt;/p&gt;</description></item><item><title>周末做了两个 macOS 小工具：桌面悬浮时钟 &amp; 菜单栏双猫</title><link>https://changediff.github.io/2026/09/01/macos-weekend-tools/</link><pubDate>Tue, 01 Sep 2026 20:30:00 +0800</pubDate><guid>https://changediff.github.io/2026/09/01/macos-weekend-tools/</guid><description>&lt;p&gt;周末顺手做了两个 macOS 小工具，都是平时自己觉得很顺手就开源出来的：一个桌面悬浮时钟，一个菜单栏里的双猫跑者。记录一下。&lt;/p&gt;</description></item><item><title>一次小龙虾事件带来的教训</title><link>https://changediff.github.io/2026/03/11/openclaw-xiaolongxia-incident/</link><pubDate>Wed, 11 Mar 2026 16:55:00 +0800</pubDate><guid>https://changediff.github.io/2026/03/11/openclaw-xiaolongxia-incident/</guid><description>&lt;p&gt;我也成了&amp;quot;小龙虾&amp;quot;的受害者。&lt;/p&gt;&#10;&lt;p&gt;之前让一个运行在树莓派上面的 OpenClaw（编号 #001，昵称&amp;quot;树莓派&amp;quot;）帮我整理博客历史文章，添加分类和标签。这本是一个简单的任务——读取所有文章、检查内容完整性、补充元数据。然而在实际执行过程中，因为涉及 20 多篇文章，每篇都要读取，分析、重写 frontmatter，累计的 Token 消耗远超预期，最终导致大模型在处理后续文章时，上下文被截断，部分文章的后半段内容丢失。&lt;/p&gt;</description></item><item><title>【翻译】Tailscale Peer Relays 正式发布</title><link>https://changediff.github.io/2026/03/08/tailscale-peer-relays-ga/</link><pubDate>Sun, 08 Mar 2026 02:00:00 +0800</pubDate><guid>https://changediff.github.io/2026/03/08/tailscale-peer-relays-ga/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;摘要&lt;/strong&gt;：Tailscale Peer Relays（点对点中继）现已正式发布（GA）。这项技术最初是为了解决硬 NAT 的限制，如今已发展成为生产级别的网络连接方案。它能在直接 P2P 连接受阻时提供高吞吐量的中继服务，支持在受限的云环境中部署，并提供更好的可观测性和调试能力。&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Debian SSH 配置密钥 + MFA 双重认证指南</title><link>https://changediff.github.io/2026/03/07/ssh-key-mfa-debian/</link><pubDate>Sat, 07 Mar 2026 21:45:00 +0800</pubDate><guid>https://changediff.github.io/2026/03/07/ssh-key-mfa-debian/</guid><description>&lt;p&gt;以下是在 Debian 上为 SSH 配置密钥 + MFA（Google Authenticator）双重认证的正确完整步骤，避免之前遇到的密码提示问题。&lt;/p&gt;</description></item><item><title>博客维护与管理心得</title><link>https://changediff.github.io/2026/03/07/blog-management-thoughts/</link><pubDate>Sat, 07 Mar 2026 14:00:00 +0800</pubDate><guid>https://changediff.github.io/2026/03/07/blog-management-thoughts/</guid><description>&lt;h2 id="前言"&gt;前言&#10;&lt;/h2&gt;&#10;&lt;p&gt;我的博客已经运行了几年，从最初的博客园迁移到 GitHub Pages，期间积累了不少文章。最近把博客重新整理了一遍，有些心得体会分享给大家。&lt;/p&gt;</description></item><item><title>压测中使用openresty作为upstream来业务耗时</title><link>https://changediff.github.io/2023/08/14/upstream-timecost-simulate-with-openresty/</link><pubDate>Mon, 14 Aug 2023 22:00:59 +0800</pubDate><guid>https://changediff.github.io/2023/08/14/upstream-timecost-simulate-with-openresty/</guid><description>&lt;p&gt;最近在压测Apisix，需要按照一定的概率分布模拟请求耗时，以便达到模拟真实业务请求来压测的目的。&lt;/p&gt;&#10;&lt;p&gt;第一版后端程序使用Go语言，性能不达标，没法压到Apisix的极限；&#10;第二版使用Nginx作为后端程序，性能达标，压测4C8G的Apisix，极限TPS约1.4W；&#10;第三版使用openresty配合lua来模拟耗时，性能达标，4C8G的实例TPS约1.2W。&lt;/p&gt;</description></item><item><title>树莓派Airplay将有线音箱变成WiFi音箱</title><link>https://changediff.github.io/2023/04/15/rpi-airplay/</link><pubDate>Sat, 15 Apr 2023 17:44:05 +0800</pubDate><guid>https://changediff.github.io/2023/04/15/rpi-airplay/</guid><description>&lt;h2 id="方案选择"&gt;方案选择&#10;&lt;/h2&gt;&#10;&lt;p&gt;因为是想要作为WiFi音箱使用，方案二shairport-sync更适合我&lt;/p&gt;</description></item><item><title>etcd运维踩坑记录</title><link>https://changediff.github.io/2023/03/19/etcd-ops/</link><pubDate>Sun, 19 Mar 2023 18:47:10 +0800</pubDate><guid>https://changediff.github.io/2023/03/19/etcd-ops/</guid><description>&lt;p&gt;etcd运维踩坑记录&lt;/p&gt;&#10;&lt;h2 id="1-没有开启压缩导致-dbsize-一直增长"&gt;1. 没有开启压缩导致 dbsize 一直增长&#10;&lt;/h2&gt;&#10;&lt;p&gt;etcd 的默认启动参数不会开启定期数据压缩 compact，一般程序使用 etcd 时会主动调用etcd 接口做压缩，例如 kubernetes。如果没有开启定期压缩，并且程序也没有主动调用压缩接口，那么就会有dbsize增长到上限（默认2GiB），etcd无法写入的风险。&lt;/p&gt;</description></item><item><title>Kindle使用笔记</title><link>https://changediff.github.io/2022/10/31/kindle-howto/</link><pubDate>Mon, 31 Oct 2022 01:22:25 +0800</pubDate><guid>https://changediff.github.io/2022/10/31/kindle-howto/</guid><description>&lt;p&gt;亚马逊Kindle退出中国市场真的是噩耗，最蛋疼的是之前的书库没法用了，还是改回自己囤书，calibre的方式吧。数据掌握在自己手里最安心。&lt;/p&gt;</description></item><item><title>Windows10(2009)工作环境配置</title><link>https://changediff.github.io/2022/10/06/windows-work-env-setup/</link><pubDate>Thu, 06 Oct 2022 23:59:59 +0800</pubDate><guid>https://changediff.github.io/2022/10/06/windows-work-env-setup/</guid><description>&lt;p&gt;最近工作电脑换成了&lt;code&gt;Windows 10&lt;/code&gt;，也就重新开始了我的Windows折腾之旅。回顾下当年的操作系统折腾时间线&lt;/p&gt;</description></item><item><title>dnsmasq容器部署折腾</title><link>https://changediff.github.io/2022/09/20/dnsmasq-in-docker/</link><pubDate>Tue, 20 Sep 2022 21:31:46 +0800</pubDate><guid>https://changediff.github.io/2022/09/20/dnsmasq-in-docker/</guid><description>&lt;h2 id="蛋疼的华为云k8s的dns问题"&gt;蛋疼的华为云K8s的DNS问题&#10;&lt;/h2&gt;&#10;&lt;p&gt;最近换工作，接触各个云厂商的服务比较多，忍不住想吐槽下华为云。&lt;/p&gt;</description></item><item><title>Windows上的shell环境折腾笔记</title><link>https://changediff.github.io/2022/08/25/notes-on-wsl/</link><pubDate>Thu, 25 Aug 2022 22:52:38 +0800</pubDate><guid>https://changediff.github.io/2022/08/25/notes-on-wsl/</guid><description>&lt;p&gt;最近工作电脑从MacOS换到了Windows 10，shell环境的缺失让我很不习惯，于是便开启我的折腾之旅。&lt;/p&gt;</description></item><item><title>cidr网段划分笔记</title><link>https://changediff.github.io/2022/08/17/cidr/</link><pubDate>Wed, 17 Aug 2022 23:57:37 +0800</pubDate><guid>https://changediff.github.io/2022/08/17/cidr/</guid><description>&lt;h2 id="哭笑不得的网段划分"&gt;哭笑不得的网段划分&#10;&lt;/h2&gt;&#10;&lt;p&gt;最近在搞服务迁移网段，将测试服务从生产网段迁移到测试网段，为了方便配置新服务器的ip，划分网段的时候计划保持最后一位不变，也即：&lt;/p&gt;</description></item><item><title>算法复杂度计算</title><link>https://changediff.github.io/2022/08/03/algorithm-interview/</link><pubDate>Wed, 03 Aug 2022 21:05:19 +0800</pubDate><guid>https://changediff.github.io/2022/08/03/algorithm-interview/</guid><description>&lt;h1 id="定义"&gt;定义&#10;&lt;/h1&gt;&#10;&lt;p&gt;算法的时间复杂度使用渐进记号(&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="normal"&gt;Θ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\Theta&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="katex-base"&gt;&lt;span class="katex-strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;Θ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;O&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;O&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="katex-base"&gt;&lt;span class="katex-strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.0278em;"&gt;O&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="normal"&gt;Ω&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\Omega&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="katex-base"&gt;&lt;span class="katex-strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;Ω&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;o&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="katex-base"&gt;&lt;span class="katex-strut" style="height:0.4306em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;o&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;ω&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\omega&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="katex-base"&gt;&lt;span class="katex-strut" style="height:0.4306em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.0359em;"&gt;ω&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;)来描述, 它们的定义如下:&lt;/p&gt;</description></item><item><title>overlay2笔记</title><link>https://changediff.github.io/2022/08/03/what-is-overlay2/</link><pubDate>Wed, 03 Aug 2022 20:58:42 +0800</pubDate><guid>https://changediff.github.io/2022/08/03/what-is-overlay2/</guid><description>&lt;h2 id="overlay2文件系统的原理"&gt;overlay2文件系统的原理&#10;&lt;/h2&gt;&#10;&lt;p&gt;overlay2的实现原理直观如下图：&#10;&lt;img src="https://changediff.github.io/2022/08/03/what-is-overlay2/overlay_constructs.jpeg" alt="overlay2" width="754" height="193" loading="lazy" decoding="async"&gt;&lt;/p&gt;&#10;&lt;p&gt;可以使用下面的命令做简单的模拟：&lt;/p&gt;</description></item><item><title>理解用户空间与内核空间</title><link>https://changediff.github.io/2022/06/21/user-space-kernel-space/</link><pubDate>Tue, 21 Jun 2022 23:13:31 +0800</pubDate><guid>https://changediff.github.io/2022/06/21/user-space-kernel-space/</guid><description>&lt;p&gt;最近面试被问到了用户空间和内核空间的问题，发现脑子以为懂了和嘴巴说出来之间有一段距离，就用写作来填平吧。&lt;/p&gt;</description></item><item><title>卸载无影云桌面以及相关插件</title><link>https://changediff.github.io/2022/05/18/uninstall-wuying/</link><pubDate>Wed, 18 May 2022 21:00:54 +0800</pubDate><guid>https://changediff.github.io/2022/05/18/uninstall-wuying/</guid><description>&lt;p&gt;最近阿里云的无影云桌面在做免费推广，出于好奇试用了下。分别尝试了mac桌面端和网页版，发现网页版已经满足使用需求了。于是决定卸载桌面端。&lt;/p&gt;</description></item><item><title>计算机网络学习笔记</title><link>https://changediff.github.io/2022/05/16/learning-network/</link><pubDate>Mon, 16 May 2022 01:01:42 +0800</pubDate><guid>https://changediff.github.io/2022/05/16/learning-network/</guid><description>&lt;p&gt;最近复习计算机网络相关的知识，发现了一个很适合用来入门计算机网络的博客&lt;a href="https://fasionchan.com/network/"&gt;《小菜学网络》&lt;/a&gt;。一口气读完，有种酣畅淋漓的感觉，作者的讲解让我将脑海中计算机网络基础知识串了起来。&lt;/p&gt;&#10;&lt;h2 id="我的笔记"&gt;我的笔记&#10;&lt;/h2&gt;&#10;&lt;img class="td-image" src="https://changediff.github.io/2022/05/16/learning-network/note.png" alt="url" width="2460" height="1028" loading="lazy" decoding="async"&gt;&lt;h2 id="url"&gt;URL&#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://fasionchan.com/network/http/url/"&gt;https://fasionchan.com/network/http/url/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>使用hexo将博客迁移到GitHub Pages</title><link>https://changediff.github.io/2022/05/09/migrate-my-blog-to-github-pages-with-hexo/</link><pubDate>Mon, 09 May 2022 16:25:28 +0800</pubDate><guid>https://changediff.github.io/2022/05/09/migrate-my-blog-to-github-pages-with-hexo/</guid><description>&lt;h2 id="博客搭建和迁移"&gt;博客搭建和迁移&#10;&lt;/h2&gt;&#10;&lt;p&gt;hexo的&lt;a href="https://hexo.io/zh-cn/docs/setup"&gt;官网文档&lt;/a&gt;很详细，这里主要记载使用&lt;code&gt;hexo+Github Pages&lt;/code&gt;过程中遇到的坑&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;GitHub项目创建可参考&lt;a href="https://zhuanlan.zhihu.com/p/35668237"&gt;《超详细Hexo+Github博客搭建小白教程》&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;如果是按照步骤1新建的项目，&lt;code&gt;_config.yml&lt;/code&gt;中的&lt;code&gt;url&lt;/code&gt;只需要填写网址即可，不用加上project&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-6bfc8735-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="yaml" data-td-line-count="8"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-6bfc8735-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;# URL&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;## Set your site url here. For example, if you use GitHub Page, set url as &amp;#39;https://username.github.io/project&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;https://changediff.github.io&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;permalink&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="l"&gt;year/:month/:day/:title/&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;permalink_defaults&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;pretty_urls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;trailing_index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# Set to false to remove trailing &amp;#39;index.html&amp;#39; from permalinks&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;trailing_html&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# Set to false to remove trailing &amp;#39;.html&amp;#39; from permalinks&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;搭好之后就可以开始迁移了，不过我不打算将&lt;a href="https://www.cnblogs.com/carlsplace/"&gt;之前的文章&lt;/a&gt;搬过来了。知识常学常新嘛，这里就记录2022年3月之后的学习感悟吧。&lt;/p&gt;</description></item><item><title>iptables入门笔记</title><link>https://changediff.github.io/2022/05/06/iptables-howto/</link><pubDate>Fri, 06 May 2022 00:37:22 +0800</pubDate><guid>https://changediff.github.io/2022/05/06/iptables-howto/</guid><description>&lt;p&gt;&lt;code&gt;iptables&lt;/code&gt;是基于Linux内核模块&lt;a href="https://en.wikipedia.org/wiki/Netfilter"&gt;Netfilter&lt;/a&gt;的防火墙工具，可以按照一定的规则对ip packet执行监控、修改、转发、重定向、丢弃等操作；ipv6版本的是&lt;code&gt;ip6talbles&lt;/code&gt;；&lt;code&gt;nftables&lt;/code&gt;则是iptables的新实现。目前，iptables还是使用最广泛的Linux防火墙模块，本文也聚焦于iptables的入门使用。&lt;/p&gt;</description></item><item><title>CentOS7升级systemd版本到416.1</title><link>https://changediff.github.io/2022/04/17/rpm-backports/</link><pubDate>Sun, 17 Apr 2022 17:19:56 +0800</pubDate><guid>https://changediff.github.io/2022/04/17/rpm-backports/</guid><description>&lt;p&gt;本文主要记录下在CentOS7折腾升级systemd的过程中踩得坑，方便以后需要的时候能够快速复盘。CentOS7中默认开启cgorupv2需要升级systemd版本，当前最靠谱的升级方式为Facebook维护的&lt;a href="https://github.com/facebookarchive/rpm-backports"&gt;backports&lt;/a&gt;&lt;/p&gt;</description></item><item><title>从外接USB设备启动树莓派4b</title><link>https://changediff.github.io/2021/02/28/rpi4b-usb-boot/</link><pubDate>Sun, 28 Feb 2021 20:46:00 +0800</pubDate><guid>https://changediff.github.io/2021/02/28/rpi4b-usb-boot/</guid><description>&lt;p&gt;树莓派默认从tf卡启动系统，io性能太弱了。最近入手了Argon ONE外壳，可以通过usb外接一个m.2 sata接口的固态硬盘；那么，折腾一下从ssd吧。&lt;/p&gt;</description></item><item><title>利用kube-state-metrics自动生成prometheus的配置文件</title><link>https://changediff.github.io/2021/02/09/use-kube-sate-metrics-for-service-discovery/</link><pubDate>Tue, 09 Feb 2021 13:05:00 +0800</pubDate><guid>https://changediff.github.io/2021/02/09/use-kube-sate-metrics-for-service-discovery/</guid><description>&lt;p&gt;最近运维的k8s集群的node节点变动频繁，总是要手动更新prometheus配置文件表示很蛋疼。所以研究一下怎么对node节点做service discovery，自动更新监控targets列表。&lt;/p&gt;</description></item><item><title>Hello World</title><link>https://changediff.github.io/1970/01/01/hello-world/</link><pubDate>Thu, 01 Jan 1970 08:00:00 +0800</pubDate><guid>https://changediff.github.io/1970/01/01/hello-world/</guid><description>&lt;p&gt;Welcome to &lt;a href="https://hexo.io/"&gt;Hexo&lt;/a&gt;! This is your very first post. Check &lt;a href="https://hexo.io/docs/"&gt;documentation&lt;/a&gt; for more info. If you get any problems when using Hexo, you can find the answer in &lt;a href="https://hexo.io/docs/troubleshooting.html"&gt;troubleshooting&lt;/a&gt; or you can ask me on &lt;a href="https://github.com/hexojs/hexo/issues"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="quick-start"&gt;Quick Start&#10;&lt;/h2&gt;&#10;&lt;h3 id="create-a-new-post"&gt;Create a new post&#10;&lt;/h3&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-d0c5d131-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="1"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-d0c5d131-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ hexo new &lt;span class="s2"&gt;&amp;#34;My New Post&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;More info: &lt;a href="https://hexo.io/docs/writing.html"&gt;Writing&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>