<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <author>
    <name>Miracle</name>
  </author>
  <generator uri="https://hexo.io/">Hexo</generator>
  <id>https://leng125172-code.github.io/</id>
  <link href="https://leng125172-code.github.io/" rel="alternate"/>
  <link href="https://leng125172-code.github.io/atom.xml" rel="self"/>
  <rights>All rights reserved 2026, Miracle</rights>
  <subtitle>应用开发 · 工业视觉 · 实用工具</subtitle>
  <title>Miracle 的技术手记</title>
  <updated>2026-10-29T08:00:00.000Z</updated>
  <entry>
    <author>
      <name>Miracle</name>
    </author>
    <category term="随笔" scheme="https://leng125172-code.github.io/categories/%E9%9A%8F%E7%AC%94/"/>
    <category term="博客" scheme="https://leng125172-code.github.io/tags/%E5%8D%9A%E5%AE%A2/"/>
    <category term="开发实践" scheme="https://leng125172-code.github.io/tags/%E5%BC%80%E5%8F%91%E5%AE%9E%E8%B7%B5/"/>
    <content>
      <![CDATA[<p>这个博客开张了。</p><p>这里会围绕 <strong>应用开发、工业视觉和实用工具</strong>，记录项目中的实现思路，以及从问题到解决的过程。</p><span id="more"></span><h2 id="准备记录什么"><a href="#准备记录什么" class="headerlink" title="准备记录什么"></a>准备记录什么</h2><ul><li><strong>.NET / Vue 应用开发</strong>：后端接口、前端交互与应用集成。</li><li><strong>工业视觉</strong>：图像采集与处理、OpenCV、测量与三维视觉。</li><li><strong>Linux 与容器工具</strong>：运行环境、数据库、身份认证与日常维护。</li><li><strong>AI 辅助开发</strong>：如何提出问题、检查生成结果，以及把实现放到真实环境中验证。</li></ul><h2 id="从公开项目开始"><a href="#从公开项目开始" class="headerlink" title="从公开项目开始"></a>从公开项目开始</h2><p><a href="/projects/" data-md-link=""><span class="md-link-icon ui-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><g opacity=".5"><path d="M19.7388 4.26118C17.0572 1.57961 12.7095 1.57961 10.0279 4.26118L9.30707 4.98203C9.01418 5.27492 9.01418 5.7498 9.30707 6.04269C9.59997 6.33558 10.0748 6.33558 10.3677 6.04269L11.0886 5.32184C13.1844 3.22605 16.5823 3.22605 18.6781 5.32184C20.7739 7.41763 20.7739 10.8156 18.6781 12.9114L17.9573 13.6322C17.6644 13.9251 17.6644 14.4 17.9573 14.6929C18.2502 14.9858 18.725 14.9858 19.0179 14.6929L19.7388 13.972C22.4203 11.2905 22.4203 6.94276 19.7388 4.26118Z"></path><path d="M6.04269 9.30707C6.33558 9.59997 6.33558 10.0748 6.04269 10.3677L5.32184 11.0886C3.22605 13.1844 3.22605 16.5823 5.32184 18.6781C7.41763 20.7739 10.8156 20.7739 12.9114 18.6781L13.6322 17.9573C13.9251 17.6644 14.4 17.6644 14.6929 17.9573C14.9858 18.2501 14.9858 18.725 14.6929 19.0179L13.972 19.7388C11.2905 22.4203 6.94276 22.4203 4.26118 19.7388C1.57961 17.0572 1.57961 12.7095 4.26118 10.0279L4.98203 9.30707C5.27492 9.01418 5.7498 9.01418 6.04269 9.30707Z"></path></g><path d="M14.6933 9.30707C14.9862 9.59997 14.9862 10.0748 14.6933 10.3677L10.3682 14.6928C10.0753 14.9857 9.60045 14.9857 9.30756 14.6928C9.01467 14.3999 9.01467 13.9251 9.30756 13.6322L13.6327 9.30707C13.9255 9.01418 14.4004 9.01418 14.6933 9.30707Z"></path></g></svg></span>公开项目页面</a> 整理了几个仓库入口。后续的技术文章会逐步补充项目背景、关键取舍和复现步骤。</p><p>希望每篇记录都能留下具体的线索：解决了什么问题、为什么这样做，以及验证到了哪一步。</p>]]>
    </content>
    <id>https://leng125172-code.github.io/posts/hello-miracle/</id>
    <link href="https://leng125172-code.github.io/posts/hello-miracle/"/>
    <published>2026-10-29T08:00:00.000Z</published>
    <summary>给开发实践留一个可以回看、整理与分享的地方。</summary>
    <title>从这里开始：Miracle 的技术手记</title>
    <updated>2026-10-29T08:00:00.000Z</updated>
  </entry>
  <entry>
    <author>
      <name>Miracle</name>
    </author>
    <category term="工程实践" scheme="https://leng125172-code.github.io/categories/%E5%B7%A5%E7%A8%8B%E5%AE%9E%E8%B7%B5/"/>
    <category term="Hexo" scheme="https://leng125172-code.github.io/tags/Hexo/"/>
    <category term="Stellar" scheme="https://leng125172-code.github.io/tags/Stellar/"/>
    <category term="GitHub Pages" scheme="https://leng125172-code.github.io/tags/GitHub-Pages/"/>
    <category term="CI/CD" scheme="https://leng125172-code.github.io/tags/CI-CD/"/>
    <content>
      <![CDATA[<p>这个站点采用 <strong>Hexo + Stellar + GitHub Pages</strong>。文章以 Markdown 保存，页面由 Hexo 构建，发布交给 GitHub Actions。</p><span id="more"></span><h2 id="组成"><a href="#组成" class="headerlink" title="组成"></a>组成</h2><div class="md-table-scroll"><table><thead><tr><th>组件</th><th>用途</th></tr></thead><tbody><tr><td>Hexo</td><td>将文章、分类与标签生成静态页面</td></tr><tr><td>Stellar</td><td>提供导航、文章卡片、目录和明暗模式</td></tr><tr><td>GitHub Actions</td><td>在推送后构建、发布站点</td></tr><tr><td>GitHub Pages</td><td>托管生成后的 HTML、CSS 和 JavaScript</td></tr></tbody></table></div><h2 id="本地写作"><a href="#本地写作" class="headerlink" title="本地写作"></a>本地写作</h2><p>项目目录为 <code>leng125172-code.github.io</code>，需要 Node.js 22 或更高版本。</p><figure class="highlight bash"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><code class="hljs bash">npm ci<br>npx hexo new post <span class="hljs-string">"my-first-post"</span><br>npm run server<br></code></pre></td></tr></tbody></table></figure><p>文章保存在 <code>source/_posts/</code>。文件顶部的 Front Matter 用来配置标题、日期、分类与标签：</p><figure class="highlight yaml"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><code class="hljs yaml"><span class="hljs-meta">---</span><br><span class="hljs-attr">title:</span> <span class="hljs-string">一篇技术记录</span><br><span class="hljs-attr">date:</span> <span class="hljs-number">2026-10-29 16:00:00</span><br><span class="hljs-attr">categories:</span><br>  <span class="hljs-bullet">-</span> <span class="hljs-string">开发实践</span><br><span class="hljs-attr">tags:</span><br>  <span class="hljs-bullet">-</span> <span class="hljs-string">.NET</span><br><span class="hljs-attr">description:</span> <span class="hljs-string">用一句话说明文章解决的问题。</span><br><span class="hljs-meta">---</span><br></code></pre></td></tr></tbody></table></figure><p>本地预览默认地址为 <code>http://localhost:4000</code>。</p><h2 id="发布"><a href="#发布" class="headerlink" title="发布"></a>发布</h2><figure class="highlight bash"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><code class="hljs bash">npm run build<br>git add <span class="hljs-built_in">source</span>/<br>git commit -m <span class="hljs-string">"docs: add a new post"</span><br>git push<br></code></pre></td></tr></tbody></table></figure><p>推送到 <code>main</code> 后，Actions 使用锁文件安装依赖、构建 <code>public/</code> 目录，再部署到 GitHub Pages。构建失败时保留上一次成功发布的站点，可以到仓库的 Actions 页面查看日志。</p><p><code>public/</code> 是构建产物，不需要手动提交。</p><h2 id="维护入口"><a href="#维护入口" class="headerlink" title="维护入口"></a>维护入口</h2><ul><li><code>_config.yml</code>：站点标题、域名、语言和文章路径。</li><li><code>_config.stellar.yml</code>：主题、导航、侧栏和搜索。</li><li><code>source/_posts/</code>：文章。</li><li><code>source/about/</code>、<code>source/projects/</code>：独立页面。</li><li><code>.github/workflows/pages.yml</code>：自动发布流程。</li></ul><p>参考：<a href="https://hexo.io/docs/github-pages.html" data-md-link=""><span class="md-link-icon ui-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><g opacity=".5"><path d="M19.7388 4.26118C17.0572 1.57961 12.7095 1.57961 10.0279 4.26118L9.30707 4.98203C9.01418 5.27492 9.01418 5.7498 9.30707 6.04269C9.59997 6.33558 10.0748 6.33558 10.3677 6.04269L11.0886 5.32184C13.1844 3.22605 16.5823 3.22605 18.6781 5.32184C20.7739 7.41763 20.7739 10.8156 18.6781 12.9114L17.9573 13.6322C17.6644 13.9251 17.6644 14.4 17.9573 14.6929C18.2502 14.9858 18.725 14.9858 19.0179 14.6929L19.7388 13.972C22.4203 11.2905 22.4203 6.94276 19.7388 4.26118Z"></path><path d="M6.04269 9.30707C6.33558 9.59997 6.33558 10.0748 6.04269 10.3677L5.32184 11.0886C3.22605 13.1844 3.22605 16.5823 5.32184 18.6781C7.41763 20.7739 10.8156 20.7739 12.9114 18.6781L13.6322 17.9573C13.9251 17.6644 14.4 17.6644 14.6929 17.9573C14.9858 18.2501 14.9858 18.725 14.6929 19.0179L13.972 19.7388C11.2905 22.4203 6.94276 22.4203 4.26118 19.7388C1.57961 17.0572 1.57961 12.7095 4.26118 10.0279L4.98203 9.30707C5.27492 9.01418 5.7498 9.01418 6.04269 9.30707Z"></path></g><path d="M14.6933 9.30707C14.9862 9.59997 14.9862 10.0748 14.6933 10.3677L10.3682 14.6928C10.0753 14.9857 9.60045 14.9857 9.30756 14.6928C9.01467 14.3999 9.01467 13.9251 9.30756 13.6322L13.6327 9.30707C13.9255 9.01418 14.4004 9.01418 14.6933 9.30707Z"></path></g></svg></span>Hexo 官方部署文档</a>、<a href="https://xaoxuu.com/wiki/stellar/" data-md-link=""><span class="md-link-icon ui-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><g opacity=".5"><path d="M19.7388 4.26118C17.0572 1.57961 12.7095 1.57961 10.0279 4.26118L9.30707 4.98203C9.01418 5.27492 9.01418 5.7498 9.30707 6.04269C9.59997 6.33558 10.0748 6.33558 10.3677 6.04269L11.0886 5.32184C13.1844 3.22605 16.5823 3.22605 18.6781 5.32184C20.7739 7.41763 20.7739 10.8156 18.6781 12.9114L17.9573 13.6322C17.6644 13.9251 17.6644 14.4 17.9573 14.6929C18.2502 14.9858 18.725 14.9858 19.0179 14.6929L19.7388 13.972C22.4203 11.2905 22.4203 6.94276 19.7388 4.26118Z"></path><path d="M6.04269 9.30707C6.33558 9.59997 6.33558 10.0748 6.04269 10.3677L5.32184 11.0886C3.22605 13.1844 3.22605 16.5823 5.32184 18.6781C7.41763 20.7739 10.8156 20.7739 12.9114 18.6781L13.6322 17.9573C13.9251 17.6644 14.4 17.6644 14.6929 17.9573C14.9858 18.2501 14.9858 18.725 14.6929 19.0179L13.972 19.7388C11.2905 22.4203 6.94276 22.4203 4.26118 19.7388C1.57961 17.0572 1.57961 12.7095 4.26118 10.0279L4.98203 9.30707C5.27492 9.01418 5.7498 9.01418 6.04269 9.30707Z"></path></g><path d="M14.6933 9.30707C14.9862 9.59997 14.9862 10.0748 14.6933 10.3677L10.3682 14.6928C10.0753 14.9857 9.60045 14.9857 9.30756 14.6928C9.01467 14.3999 9.01467 13.9251 9.30756 13.6322L13.6327 9.30707C13.9255 9.01418 14.4004 9.01418 14.6933 9.30707Z"></path></g></svg></span>Stellar 官方文档</a>。</p>]]>
    </content>
    <id>https://leng125172-code.github.io/posts/hexo-blog-workflow/</id>
    <link href="https://leng125172-code.github.io/posts/hexo-blog-workflow/"/>
    <published>2026-10-29T07:50:00.000Z</published>
    <summary>从 Markdown 源文件到 GitHub Pages，整理这个博客的目录结构、写作方式和发布流程。</summary>
    <title>这个博客如何运行：Hexo、Stellar 与自动发布</title>
    <updated>2026-10-29T07:50:00.000Z</updated>
  </entry>
</feed>
