<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" hreflang="en" /><updated>2026-09-30T20:22:25+08:00</updated><id>/feed.xml</id><title type="html">Mingrui</title><subtitle>Jmmt-mingrui&apos;s personal blog — tech notes, open-source projects, and thoughts worth keeping.</subtitle><author><name>Jmmt-mingrui</name></author><entry><title type="html">Should give myself one chance to forwarding, forgiveness, and make the buffer period more luxurious</title><link href="/writing/how-to-forward-next/" rel="alternate" type="text/html" title="Should give myself one chance to forwarding, forgiveness, and make the buffer period more luxurious" /><published>2026-09-27T00:00:00+08:00</published><updated>2026-09-27T00:00:00+08:00</updated><id>/writing/how-to-forward-next</id><content type="html" xml:base="/writing/how-to-forward-next/"><![CDATA[<blockquote>
  <p>recently I leave the selectdb company because I choose the chance to apply to polyU, but when I ask many people the options important for me what could I do next, there are various views for the future and the coding atmosphere. Then now I might be compele myself to focus on one thing that develop the abilities about code and exercies consistently to participate in many large company or open the life where I could go with the task due to remote work.</p>
</blockquote>

<h3 id="i-do-what-next">I do what next</h3>

<p>Maybe for someone there are many opportunities to work or mphil but for me nothing. Then I shoud know that study hard, learn hard, and work everday is the one way that enable me access the large company. Leecode and document I shoud repeatedly learn, and the open source need to consist on doing.</p>

<h3 id="life-isnt-successful-everytime">life isn’t successful everytime</h3>

<p>Sometime I feel failure and nervous. Maybe this is the session for young perple to old people, but for me I can’t receive the feelin. Besides for me I never feel this, from high school unil now. I couldn’t realize the failue that hang on my heart. One day I might be successful and bought everthging I want to get but today I’m not hard working and learning anygthing. I think this is the main reason effecting me why I can’t emphasis my attention for learning. I minght be good luck, but I hope the time not now.</p>

<h3 id="the-plan-to-change-myself">the plan to change myself</h3>

<p>Tommoraw, to running, to learning the skills with code and exerciese the leecoded, to study English by loudly speaking and to writer one blog again to find the transfer between today and tommoraw.</p>]]></content><author><name>Jmmt-mingrui</name></author><category term="dairy" /><category term="blog" /><category term="thougts" /><category term="recently" /><summary type="html"><![CDATA[recently I leave the selectdb company because I choose the chance to apply to polyU, but when I ask many people the options important for me what could I do next, there are various views for the future and the coding atmosphere. Then now I might be compele myself to focus on one thing that develop the abilities about code and exercies consistently to participate in many large company or open the life where I could go with the task due to remote work.]]></summary></entry><entry><title type="html">想捋一捋自己的现状，想学一学《孙学》</title><link href="/writing/Thoughts-about-recently/" rel="alternate" type="text/html" title="想捋一捋自己的现状，想学一学《孙学》" /><published>2026-09-15T00:00:00+08:00</published><updated>2026-09-15T00:00:00+08:00</updated><id>/writing/Thoughts-about-recently</id><content type="html" xml:base="/writing/Thoughts-about-recently/"><![CDATA[<blockquote>
  <p>Actually, maybe this is my first blog in my website, after I develop this. This article also will carry on the traditional style of my blog. In rencently, I meet various problems, and the more serious issue is the first alternate for the qualification shot.</p>
</blockquote>

<h3 id="its-a-long-story-for-the-alternate-for-the-qualification-shot">It’s a long story: for the alternate for the qualification shot</h3>

<p>Yea, I will to be brief, the main reason of the matter is that my publication is not reciebve until now. It dosn’t refused or adviced revising more times, exactly reviews is reviewing my paper now. Sometimes I always think about the meaning of doing things, and yesterday I also talk about it with my foreign friends. And last week when I get the messages, I’m not sad and there are not much emotions for the things, maybe this is what the people ofen refer to as intutition. Now I’m sad and nervous to do anything, but I have to recieve my failure, it’s not a easy thing for me to outcome the issue, because I study hard the whole three yeas in univercity.</p>

<h3 id="another-thing-is-whether-its-correct-for-me-to-assume">another thing is whether it’s correct for me to assume</h3>

<p>There is no doubt that I have feelings or attachments toward the people and matters of the company, such as Jackson, Jaber and thomas and so on. I really enjoy the atmosphere where woking with them. But for me, maybe assume is better, maybe not, I really want to see the world and thirsty for researching in Hongkong or the view of mphil. When participate the company in Beijing, I find that there are many insteresting things around me that arise my curiosity and facilitate my interests. Yea, It’s a difficult choice.</p>

<h3 id="at-last-how-to-connect-with-the-teacher-in-polyu-and-make-insteresed-in-me">at last, how to connect with the teacher in PolyU and make insteresed in me</h3>

<p>This is a sad and stressful topic, because I need to be prepare for cv, rp, and emails to teacher. The most important is that how to deal with my tuition, though my superclass give me very pertinent and beneficial advice to me, I’m also worried about it.</p>

<p>I just got off work and felt tired, let’s wrap it up here for today.</p>]]></content><author><name>Jmmt-mingrui</name></author><category term="diary" /><category term="boke" /><category term="recently" /><category term="thoughts" /><summary type="html"><![CDATA[Actually, maybe this is my first blog in my website, after I develop this. This article also will carry on the traditional style of my blog. In rencently, I meet various problems, and the more serious issue is the first alternate for the qualification shot.]]></summary></entry><entry><title type="html">发文章完整指南：图片、push、commit 一次讲清</title><link href="/writing/hello-jekyll/" rel="alternate" type="text/html" title="发文章完整指南：图片、push、commit 一次讲清" /><published>2026-09-12T00:00:00+08:00</published><updated>2026-09-12T00:00:00+08:00</updated><id>/writing/hello-jekyll</id><content type="html" xml:base="/writing/hello-jekyll/"><![CDATA[<blockquote>
  <p>这篇是给未来的自己看的。以后想发文章，打开这篇照着走。</p>
</blockquote>

<h2 id="整条链路">整条链路</h2>

<p>其实就四步：</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>写 Markdown  →  放图片  →  commit  →  push  →  等一分钟上线
</code></pre></div></div>

<p>没有数据库，没有 CMS 后台，没有构建配置。Jekyll 在 GitHub Pages 上自动跑，推什么上去就是什么。</p>

<h2 id="一建文件">一、建文件</h2>

<p>在 <code class="language-plaintext highlighter-rouge">_posts/</code> 下新建一个 <code class="language-plaintext highlighter-rouge">.md</code> 文件。<strong>文件名必须带日期</strong>：</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_posts/2026-09-12-go-microservices.md
</code></pre></div></div>

<p>日期决定排序和链接。标题部分用英文小写 + 短横线，会得到干净的 URL：<code class="language-plaintext highlighter-rouge">/writing/go-microservices</code>。别用中文或空格，链接会变得又长又乱。</p>

<h2 id="二写-frontmatter">二、写 frontmatter</h2>

<p>文件最开头两行 <code class="language-plaintext highlighter-rouge">---</code> 之间是配置：</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nn">---</span>
<span class="na">layout</span><span class="pi">:</span> <span class="s">post</span>
<span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">文章标题"</span>
<span class="na">date</span><span class="pi">:</span> <span class="s">2026-09-12</span>
<span class="na">category</span><span class="pi">:</span> <span class="s">笔记</span>
<span class="na">tags</span><span class="pi">:</span>
  <span class="pi">-</span> <span class="s">Go</span>
  <span class="pi">-</span> <span class="s">微服务</span>
<span class="na">summary</span><span class="pi">:</span> <span class="s">一句话摘要，显示在首页卡片和 RSS 里。</span>
<span class="na">cover</span><span class="pi">:</span> <span class="s">/assets/images/posts/我的封面.png</span>
<span class="nn">---</span>
</code></pre></div></div>

<table>
  <thead>
    <tr>
      <th>字段</th>
      <th>必填</th>
      <th>干什么</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">layout</code></td>
      <td>是</td>
      <td>固定写 <code class="language-plaintext highlighter-rouge">post</code>。删了文章页就没样式——这是个踩过的坑</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">title</code></td>
      <td>是</td>
      <td>文章标题</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">date</code></td>
      <td>是</td>
      <td>发布日期，<code class="language-plaintext highlighter-rouge">YYYY-MM-DD</code></td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">category</code></td>
      <td>否</td>
      <td>分类，显示成一个标签</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">tags</code></td>
      <td>否</td>
      <td>标签列表</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">summary</code></td>
      <td>否</td>
      <td>首页卡片和分享卡片的摘要</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">cover</code></td>
      <td>否</td>
      <td>封面图路径，不写用站点默认图</td>
    </tr>
  </tbody>
</table>

<h2 id="三图片">三、图片</h2>

<p>这是最容易搞错的一步。</p>

<h3 id="放哪">放哪</h3>

<p>图片和文章一起放仓库里，统一丢这个目录：</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>assets/images/posts/
</code></pre></div></div>

<p>封面图和正文插图都放这。</p>

<h3 id="怎么传">怎么传</h3>

<p><strong>网页拖拽</strong>（最省事）：仓库页面 → Add file → Upload files → 拖进去 → Commit。</p>

<p><strong>本地放文件夹</strong>：把图片复制到本地仓库的 <code class="language-plaintext highlighter-rouge">assets/images/posts/</code>，和文章一起 push（见下一步）。</p>

<h3 id="怎么引用">怎么引用</h3>

<p>正文里用 Markdown 图片语法，<strong>路径最前面必须带 <code class="language-plaintext highlighter-rouge">/</code></strong>：</p>

<div class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">![</span><span class="nv">图片说明</span><span class="p">](</span><span class="sx">/assets/images/posts/go-cover.png</span><span class="p">)</span>
</code></pre></div></div>

<p>封面在 frontmatter 里写 <code class="language-plaintext highlighter-rouge">cover</code> 字段：</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">cover</span><span class="pi">:</span> <span class="s">/assets/images/posts/go-cover.png</span>
</code></pre></div></div>

<h3 id="三个必踩的坑">三个必踩的坑</h3>

<ol>
  <li><strong>少写斜杠</strong>：<code class="language-plaintext highlighter-rouge">assets/images/xxx.png</code>（没有开头的 <code class="language-plaintext highlighter-rouge">/</code>）会 404</li>
  <li><strong>大小写不一致</strong>：文件是 <code class="language-plaintext highlighter-rouge">go-cover.png</code>，引用写成 <code class="language-plaintext highlighter-rouge">go-cover.PNG</code> 也会 404</li>
  <li><strong>图没传就引用</strong>：先确认图片真的在仓库里，再引用，否则永远是个裂图</li>
</ol>

<h2 id="四commit-和-push">四、commit 和 push</h2>

<p>文章写好了，图片也放了，接下来提交到 GitHub。</p>

<h3 id="命令行推荐">命令行（推荐）</h3>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git add <span class="nb">.</span>
git commit <span class="nt">-m</span> <span class="s2">"post: 发了一篇 Go 微服务的文章"</span>
git push origin main
</code></pre></div></div>

<p>三条命令各干什么：</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">git add .</code> — 把所有改动（新文章 + 新图片）加进暂存区</li>
  <li><code class="language-plaintext highlighter-rouge">git commit</code> — 固化成本地的一次提交</li>
  <li><code class="language-plaintext highlighter-rouge">git push</code> — 推到 GitHub，这一步之后网站才更新</li>
</ul>

<h3 id="网页编辑">网页编辑</h3>

<p>不想碰命令行也行：</p>

<ol>
  <li>仓库 → Add file → Create new file</li>
  <li>文件名填 <code class="language-plaintext highlighter-rouge">_posts/2026-09-12-标题.md</code>（<strong>一定要带 <code class="language-plaintext highlighter-rouge">_posts/</code> 前缀</strong>）</li>
  <li>粘正文</li>
  <li>图片单独用 Upload files 传</li>
  <li>Commit changes</li>
</ol>

<h3 id="push-之后">push 之后</h3>

<p>GitHub Pages 自动构建，<strong>通常一分钟内</strong>线上就能看到。构建日志在仓库的 Actions 标签页。</p>

<blockquote>
  <p>如果 push 后页面还是旧的，等一两分钟再刷新。构建不是瞬间的。</p>
</blockquote>

<h2 id="补充">补充</h2>

<h3 id="文章目录">文章目录</h3>

<p>想在正文里插一段自动目录，在目标位置加：</p>

<div class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">*</span> TOC
{:toc}
</code></pre></div></div>

<p>kramdown 会根据 <code class="language-plaintext highlighter-rouge">##</code> 标题自动生成。</p>

<h3 id="本地预览">本地预览</h3>

<p>日常直接 push 看线上就够了。想本地跑：</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gem <span class="nb">install </span>jekyll bundler
jekyll serve
</code></pre></div></div>

<p>打开 <code class="language-plaintext highlighter-rouge">http://localhost:4000</code>。</p>

<h2 id="总结">总结</h2>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>1. 建文件    _posts/日期-标题.md
2. 写配置    frontmatter（title / date / tags…）
3. 放图片    assets/images/posts/xxx.png
4. 引用图    ![](/assets/images/posts/xxx.png)
5. commit    git add . &amp;&amp; git commit -m "..."
6. push      git push origin main
</code></pre></div></div>

<p>六步。没有第七步。</p>]]></content><author><name>Jmmt-mingrui</name></author><category term="笔记" /><category term="博客" /><category term="Jekyll" /><category term="Git" /><summary type="html"><![CDATA[这篇是给未来的自己看的。以后想发文章，打开这篇照着走。]]></summary></entry></feed>