<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>工具 - 分类 - lihuu — 系统工程、AI 工具链与 Rust 开发博客</title>
        <link>https://silentstormic.top/categories/%E5%B7%A5%E5%85%B7/</link>
        <description>工具 - 分类 - lihuu — 系统工程、AI 工具链与 Rust 开发博客</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Thu, 26 Jun 2025 10:56:26 &#43;0800</lastBuildDate><atom:link href="https://silentstormic.top/categories/%E5%B7%A5%E5%85%B7/" rel="self" type="application/rss+xml" /><item>
    <title>在 macOS 上将 Chrome 缓存迁移至内存盘的终极指南</title>
    <link>https://silentstormic.top/post/chrome_ramdisk_on_mac/</link>
    <pubDate>Thu, 26 Jun 2025 10:56:26 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/chrome_ramdisk_on_mac/</guid>
    <description><![CDATA[<p>将 Google Chrome 的缓存目录迁移至内存盘（RAM Disk），是提升浏览器性能、减少磁盘 I/O 并延长 SSD 寿命的有效技巧。然而，在 macOS 上实现这一目标并非易事。这不仅是简单的路径修改，还需应对 Chromium 内核对文件系统持久性的验证、启动参数的传递限制以及通过 AppleScript 进行进程管理等技术挑战。</p>
<h2 id="步骤一创建并配置内存盘">步骤一：创建并配置内存盘</h2>
<p>我们推荐使用 <code>tmpdisk</code> 这款免费工具来创建内存盘，它能方便地在系统启动时自动挂载。</p>]]></description>
</item>
<item>
    <title>Hugo 模板系统概述</title>
    <link>https://silentstormic.top/post/hugo-plain-html/</link>
    <pubDate>Tue, 10 Jun 2025 11:36:44 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/hugo-plain-html/</guid>
    <description><![CDATA[<p>Hugo 是一个以速度著称的静态网站生成器，其强大的<strong>主题（Theme）**系统是其核心魅力之一。一个好的主题不仅能让网站拥有美观的界面，更能通过其合理的**文件结构</strong>和<strong>查找机制</strong>，为开发者提供极大的灵活性和可维护性。本文将深入探讨 Hugo 主题的内部结构，并揭示其文件查找的奥秘。</p>
<h3 id="hugo-主题的骨架约定优于配置">Hugo 主题的“骨架”：约定优于配置</h3>
<p>Hugo 主题的核心在于其遵循**约定优于配置（Convention over Configuration）**的原则。这意味着，虽然你不需要在配置文件中显式声明每个文件的用途，但将文件放置在特定的目录并赋予它们特定的名称，Hugo 就能自动识别并加载它们。这种机制大大简化了开发流程，同时保证了主题的规范性和可扩展性。</p>]]></description>
</item>
<item>
    <title>Mac平台虚拟化神器：Orbstack</title>
    <link>https://silentstormic.top/post/orbstack/</link>
    <pubDate>Tue, 06 May 2025 15:14:06 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/orbstack/</guid>
    <description><![CDATA[<p>OrbStack](<a href="https://orbstack.dev/" target="_blank" rel="noopener noreffer ">https://orbstack.dev/</a>) 是一种快速、轻便和简单的方式来运行容器和 Linux 机器。Mac 平台中强烈建议用它替换 <a href="https://www.docker.com/products/docker-desktop/" target="_blank" rel="noopener noreffer ">Docker Desktop</a>，它比 Docker Desktop 占用更少的资源，官方有对比，感兴趣可以在这里查看https://docs.orbstack.dev/benchmarks，从图中对比来看，直接吊打。</p>
<p>OrbStack 占用的资源很少。OrbStack 在空闲时使用大约 0.1% 的 CPU，通常会降至 0%，这比大多数应用程序的后台 CPU 使用率更低！并且还可以在运行容器或者虚拟机的时候使用 <code>orb config</code>命令来限制 cpu 的最大使用量。当然啦，如果我们想尽量减少 CPU 的占用，那停止任何没有使用的容器或者关闭任何没有使用的虚拟机。OrbStack 是按需分配内存的，并会根据需要增长，并且后面没有使用的内存会自动返回给 macOS，这对于内存堪比黄金的 mac 电脑，真的是非常适合。OrbStack 磁盘占用也比较少，全新安装的 OrbStack 占用不到 10MB 的磁盘空间，并且它采用了完全动态的磁盘管理，几乎没有额外开销，其占用空间会根据需要自动增减。</p>]]></description>
</item>
<item>
    <title>Vim 实用技巧速查</title>
    <link>https://silentstormic.top/post/vim-tips/</link>
    <pubDate>Thu, 31 Dec 2020 09:49:52 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/vim-tips/</guid>
    <description><![CDATA[<p>Vim 的学习曲线陡峭，但一旦掌握常用技巧，编辑效率会远超普通编辑器。本文整理日常高频使用的 Vim 操作，按场景分类方便速查。</p>
<h2 id="模式与基础操作">模式与基础操作</h2>
<p>Vim 有四种主要模式：</p>
<table>
  <thead>
      <tr>
          <th>模式</th>
          <th>进入方式</th>
          <th>用途</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><strong>Normal</strong></td>
          <td><code>Esc</code></td>
          <td>移动光标、删除、复制等操作</td>
      </tr>
      <tr>
          <td><strong>Insert</strong></td>
          <td><code>i</code> / <code>a</code> / <code>o</code></td>
          <td>输入文本</td>
      </tr>
      <tr>
          <td><strong>Visual</strong></td>
          <td><code>v</code> / <code>V</code> / <code>Ctrl+v</code></td>
          <td>选择文本</td>
      </tr>
      <tr>
          <td><strong>Command</strong></td>
          <td><code>:</code></td>
          <td>执行命令（保存、替换等）</td>
      </tr>
  </tbody>
</table>
<h3 id="常用移动">常用移动</h3>
<table>
  <thead>
      <tr>
          <th>按键</th>
          <th>作用</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>h</code> <code>j</code> <code>k</code> <code>l</code></td>
          <td>左下上右</td>
      </tr>
      <tr>
          <td><code>w</code> / <code>b</code></td>
          <td>下一个/上一个单词开头</td>
      </tr>
      <tr>
          <td><code>0</code> / <code>$</code></td>
          <td>行首/行尾</td>
      </tr>
      <tr>
          <td><code>gg</code> / <code>G</code></td>
          <td>文件开头/末尾</td>
      </tr>
      <tr>
          <td><code>Ctrl+d</code> / <code>Ctrl+u</code></td>
          <td>向下/向上翻半页</td>
      </tr>
      <tr>
          <td><code>%</code></td>
          <td>跳转到匹配的括号</td>
      </tr>
      <tr>
          <td><code>f{char}</code></td>
          <td>跳转到当前行下一个 {char}</td>
      </tr>
      <tr>
          <td><code>;</code></td>
          <td>重复上次 <code>f</code> 查找</td>
      </tr>
  </tbody>
</table>
<h3 id="常用编辑">常用编辑</h3>
<table>
  <thead>
      <tr>
          <th>按键</th>
          <th>作用</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>dd</code></td>
          <td>删除当前行</td>
      </tr>
      <tr>
          <td><code>D</code></td>
          <td>删除到行尾</td>
      </tr>
      <tr>
          <td><code>dw</code></td>
          <td>删除一个单词</td>
      </tr>
      <tr>
          <td><code>yy</code></td>
          <td>复制当前行</td>
      </tr>
      <tr>
          <td><code>yw</code></td>
          <td>复制一个单词</td>
      </tr>
      <tr>
          <td><code>p</code></td>
          <td>粘贴</td>
      </tr>
      <tr>
          <td><code>u</code></td>
          <td>撤销</td>
      </tr>
      <tr>
          <td><code>Ctrl+r</code></td>
          <td>重做</td>
      </tr>
      <tr>
          <td><code>.</code></td>
          <td>重复上次操作</td>
      </tr>
  </tbody>
</table>
<h2 id="文本对象">文本对象</h2>
<p>Vim 的文本对象让操作更精确，格式为 <code>操作 + 范围 + 对象</code>：</p>]]></description>
</item>
<item>
    <title>Powershell配置</title>
    <link>https://silentstormic.top/post/Powershell%E9%85%8D%E7%BD%AE/</link>
    <pubDate>Mon, 06 Jul 2020 11:19:42 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/Powershell%E9%85%8D%E7%BD%AE/</guid>
    <description><![CDATA[<h3 id="windows10-powershell-设置">Windows10 Powershell 设置</h3>
<p>首先 Powershell 的用户配置在用户目录的<code>Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1</code>文件中。</p>
<blockquote>
<p>美化需要安装一些插件，在 windows 平台上脚本的执行策略必须是<code>RemoteSigned</code>或者<code>Unrestricted</code>，可以使用<code>Get-ExecutePolicy</code>检查 powershell 脚本的执行策略。如果在安装的过程中出现脚本执行策略的问题，可以用<code>Set-ExecutionPolicy</code>设置脚本执行策略，例如 ，可以用如下命令 <code>Set-ExecutionPolicy Unrestricted -Scope CurrentUser</code>将当前用户的脚本执行策略设置为<code>Unrestricted</code>。</p>]]></description>
</item>
<item>
    <title>百度搜索引擎指令</title>
    <link>https://silentstormic.top/post/%E7%99%BE%E5%BA%A6%E6%90%9C%E7%B4%A2%E6%8C%87%E4%BB%A4/</link>
    <pubDate>Wed, 24 Jun 2020 11:34:50 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/%E7%99%BE%E5%BA%A6%E6%90%9C%E7%B4%A2%E6%8C%87%E4%BB%A4/</guid>
    <description><![CDATA[<h3 id="双引号">双引号</h3>
<p>双引号表示精确搜索，例如，在百度中搜索 <strong>java 技术</strong>关键字，可以发现 <strong>java</strong>和<strong>技术</strong>这两个词被分开处理了，即包含 java 和 技术这两个关键字的结果都会返回。</p>
<p></p>
<p>如果我们给这两个词加上双引号，就会发现只有这两个词在一起的页面才会被返回，这个就是关键词的精确搜索。</p>
<p></p>
<h3 id="site">site</h3>
<p>用来搜索某个域名之下的内容，例如 <strong>site:apple.com ipadOS</strong>。</p>]]></description>
</item>
<item>
    <title>一些比较有用的网站</title>
    <link>https://silentstormic.top/post/%E7%BD%91%E7%AB%99%E6%90%9C%E9%9B%86/</link>
    <pubDate>Sun, 01 Mar 2020 21:45:06 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/%E7%BD%91%E7%AB%99%E6%90%9C%E9%9B%86/</guid>
    <description><![CDATA[<h3 id="一个免费的图床网站">一个免费的图床网站</h3>
<p>路过图床是一个可以提供高速稳定的图片上传和外链服务，目前是免费的，并且也没有流量限制。</p>
<p><strong>网站地址</strong>：<a href="https://imgchr.com/"><a href="https://imgchr.com/" target="_blank" rel="noopener noreffer ">https://imgchr.com/</a></a></p>
<p></p>
<h3 id="一个可以下载无损音乐的网站">一个可以下载无损音乐的网站</h3>
<p>超高无损音乐，这个网站可以下载一些无损格式的音乐，音乐的来源是百度网盘别人分享的。</p>
<p><strong>网站地址</strong>：<a href="https://www.sq688.com/"><a href="https://www.sq688.com/" target="_blank" rel="noopener noreffer ">https://www.sq688.com/</a></a></p>
<h3 id="一个可以生成漂亮的代码的图片的网站">一个可以生成漂亮的代码的图片的网站</h3>
<p>Carbon，这个网站可以帮助我们生成一些漂亮的代码图片。</p>
<p><strong>网站地址</strong>：<a href="https://carbon.now.sh/"><a href="https://carbon.now.sh/" target="_blank" rel="noopener noreffer ">https://carbon.now.sh/</a></a></p>]]></description>
</item>
<item>
    <title>Window软件搜集</title>
    <link>https://silentstormic.top/post/Window%E8%BD%AF%E4%BB%B6%E6%90%9C%E9%9B%86/</link>
    <pubDate>Sun, 01 Dec 2019 20:06:24 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/Window%E8%BD%AF%E4%BB%B6%E6%90%9C%E9%9B%86/</guid>
    <description><![CDATA[<ul>
<li>
<p><code>Sysinternals</code></p>
</li>
<li>
<p><code>install4J</code> Java 安装包制作工具</p>
</li>
<li>
<p>FastStone Capture 6.9
name：bluman
serial/序列号/注册码：VPISCJULXUFGDDXYAUYF</p>
</li>
<li>
<p><code>Git Extensions</code></p>
</li>
<li>
<p><code>Scoop</code> : powershell 中的包管理器,安装过程https://github.com/lukesampson/scoop
安装步骤:</p>
<ol>
<li><code>Set-ExecutionPolicy RemoteSigned -scope CurrentUser</code>设置脚本安装的权限</li>
<li><code>iex (new-object net.webclient).downloadstring('https://get.scoop.sh')</code> 下载安装 scoop</li>
<li><code>scoop install &lt;software&gt;</code>安装软件
<ul>
<li><code>scoop install sudo</code></li>
<li><code>scoop install colortool</code></li>
<li><code>scoop install hugo</code></li>
</ul>
</li>
</ol>
</li>
<li>
<p><code>microsoft/terminal</code>微软家的新的命令行
(<a href="https://github.com/microsoft/Terminal.git" target="_blank" rel="noopener noreffer ">https://github.com/microsoft/Terminal.git</a>)</p>]]></description>
</item>
<item>
    <title>Linux软件搜集</title>
    <link>https://silentstormic.top/post/Linux%E8%BD%AF%E4%BB%B6%E6%90%9C%E9%9B%86/</link>
    <pubDate>Fri, 22 Nov 2019 20:46:07 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/Linux%E8%BD%AF%E4%BB%B6%E6%90%9C%E9%9B%86/</guid>
    <description><![CDATA[<h3 id="timeshift">timeshift</h3>
<p>这个是一个 Ubuntu 下的系统备份软件，这个软件基于 rsync 命令</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right fa-fw" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h fa-fw" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy fa-fw" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt-add-repository -y ppa:teejee2008/ppa
</span></span><span class="line"><span class="cl">sudo apt update
</span></span><span class="line"><span class="cl">sudo apt install timeshift</span></span></code></pre></div></div>
<h3 id="variety">variety</h3>
<p>这个是一个 Ubuntu 下的自动更换壁纸的软件</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right fa-fw" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h fa-fw" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy fa-fw" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo add-apt-repository ppa:peterlevi/ppa
</span></span><span class="line"><span class="cl">sudo apt-get update
</span></span><span class="line"><span class="cl">sudo apt-get install variety variety-slideshow</span></span></code></pre></div></div>
<h3 id="psensor-温度监控软件">Psensor 温度监控软件</h3>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right fa-fw" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h fa-fw" aria-hidden="true"></i></span>
        <span class="copy" title="复制到剪贴板"><i class="far fa-copy fa-fw" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt install psensor</span></span></code></pre></div></div>
<h3 id="virt-manager-kvm-的图形化管理界面">virt-manager KVM 的图形化管理界面</h3>
<h3 id="lutris">Lutris</h3>
<p>Linux 中的游戏库管理。</p>]]></description>
</item>
<item>
    <title>Ubuntu 输入法：从搜狗迁移到 Rime</title>
    <link>https://silentstormic.top/post/ubuntu-input-method/</link>
    <pubDate>Sun, 21 Jul 2019 22:16:15 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/ubuntu-input-method/</guid>
    <description><![CDATA[<p>Ubuntu 上的中文输入法一直是痛点。搜狗输入法曾经是主流选择，但存在隐私和稳定性问题。本文推荐迁移到 <a href="https://rime.im/" target="_blank" rel="noopener noreffer ">Rime（中州韻）</a>——一个开源、高度可定制的输入法引擎。</p>
<h2 id="为什么不推荐搜狗输入法">为什么不推荐搜狗输入法</h2>
<table>
  <thead>
      <tr>
          <th>问题</th>
          <th>说明</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><strong>闭源</strong></td>
          <td>代码不透明，无法审计数据收集行为</td>
      </tr>
      <tr>
          <td><strong>隐私风险</strong></td>
          <td>有联网上传输入内容的嫌疑</td>
      </tr>
      <tr>
          <td><strong>稳定性差</strong></td>
          <td>fcitx4 框架下经常崩溃，需要手动重启进程</td>
      </tr>
      <tr>
          <td><strong>维护滞后</strong></td>
          <td>Linux 版更新缓慢，长期停留在 fcitx4</td>
      </tr>
      <tr>
          <td><strong>依赖封闭生态</strong></td>
          <td>词库格式不通用，迁移成本高</td>
      </tr>
  </tbody>
</table>
<p>如果之前使用搜狗，以下是之前的安装方式（仅作存档参考）：</p>]]></description>
</item>
</channel>
</rss>
