<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>/1dreamGN/Blog | 瞬间</title><link>http://gowninng.cn/</link><atom:link href="http://gowninng.cn/feed/moments/rss.xml" rel="self" type="application/rss+xml"/><description>/1dreamGN/Blog | 瞬间</description><generator>Halo v2.27.1</generator><language>zh-cn</language><image><url>http://gowninng.cn/upload/header.png</url><title>/1dreamGN/Blog | 瞬间</title><link>http://gowninng.cn/</link></image><lastBuildDate>Sun, 8 Nov 2026 23:44:05 GMT</lastBuildDate><item><title><![CDATA[GowNinng published on 2026-02-28 23:28:52]]></title><link>http://gowninng.cn/moments/moment-otmn8j4p</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202026-02-28%2023%3A28%3A52&amp;url=/moments/moment-otmn8j4p" width="1" height="1" alt="" style="opacity:0;">
<p style="">CCB配合git规范开发，很棒的工作流，Claude负责规范整体架构，codex负责写代码改bug。</p>
<p style=""><hyperlink-inline-card target="_blank" href="https://github.com/bfly123/claude_code_bridge" theme="inline" custom-title="GitHub – bfly123/claude_code_bridge" custom-image="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%202A10%2010%200%200%200%202%2012c0%204.42%202.87%208.17%206.84%209.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1%20.07%201.53%201.03%201.53%201.03c.87%201.52%202.34%201.07%202.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2%201.03-2.71c-.1-.25-.45-1.29.1-2.64c0%200%20.84-.27%202.75%201.02c.79-.22%201.65-.33%202.5-.33s1.71.11%202.5.33c1.91-1.29%202.75-1.02%202.75-1.02c.55%201.35.2%202.39.1%202.64c.65.71%201.03%201.6%201.03%202.71c0%203.82-2.34%204.66-4.57%204.91c.36.31.69.92.69%201.85V21c0%20.27.16.59.67.5C19.14%2020.16%2022%2016.42%2022%2012A10%2010%200%200%200%2012%202%22%2F%3E%3C%2Fsvg%3E"><a href="https://github.com/bfly123/claude_code_bridge" target="_blank">https://github.com/bfly123/claude_code_bridge</a></hyperlink-inline-card></p>
<p style=""><a href="http://gowninng.cn/moments?tag=%E5%BC%80%E5%8F%91" class="tag">开发</a></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2FIMG_0018.png&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-otmn8j4p</guid><pubDate>Sat, 28 Feb 2026 15:28:52 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2026-02-27 09:34:32]]></title><link>http://gowninng.cn/moments/moment-4rpxjshp</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202026-02-27%2009%3A34%3A32&amp;url=/moments/moment-4rpxjshp" width="1" height="1" alt="" style="opacity:0;">
<p style="">Webman：面向spring编程🤗。</p>
<p style=""><hyperlink-inline-card target="_blank" href="https://www.workerman.net/doc/webman/route.html" theme="inline"><a href="https://www.workerman.net/doc/webman/route.html" target="_blank">https://www.workerman.net/doc/webman/route.html</a></hyperlink-inline-card></p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%BC%80%E5%8F%91" data-pjax="">开发</a></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2F948528ba-9901-4810-8d1a-f17a35793a36.png&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-4rpxjshp</guid><pubDate>Fri, 27 Feb 2026 01:34:32 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2026-01-27 10:36:30]]></title><link>http://gowninng.cn/moments/moment-ewagbef8</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202026-01-27%2010%3A36%3A30&amp;url=/moments/moment-ewagbef8" width="1" height="1" alt="" style="opacity:0;">
<p style="">希望在某天还能回到老东家，在TOPSEC的日子很开心，结识了好多朋友和前辈。</p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E6%97%A5%E5%B8%B8" data-pjax="">日常</a></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2Ff395a29c-d741-44d4-a194-eb91ef9b01a0.png&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-ewagbef8</guid><pubDate>Tue, 27 Jan 2026 02:36:30 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-12-21 20:16:16]]></title><link>http://gowninng.cn/moments/moment-8g3n2vae</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-12-21%2020%3A16%3A16&amp;url=/moments/moment-8g3n2vae" width="1" height="1" alt="" style="opacity:0;">
<p style="">我都不知道我这么喜欢喝柠檬水。</p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" data-pjax="">吐槽</a></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2F37c9ef369cd88e456d12257227b4ee96.jpeg&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-8g3n2vae</guid><pubDate>Sun, 21 Dec 2025 12:16:16 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-12-12 09:38:34]]></title><link>http://gowninng.cn/moments/moment-qi9bbj6k</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-12-12%2009%3A38%3A34&amp;url=/moments/moment-qi9bbj6k" width="1" height="1" alt="" style="opacity:0;">
<p style="">这俩人老远就看见我，刚停车就拉车门，我还以为偷东西的，吓得我狂按喇叭，结果是把我当成出租车了。。。。</p>
<p style=""></p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" data-pjax="">吐槽</a></p>
<video controls><source src="http://gowninng.cn/upload/093736765-FGCx.mp4" type="video/mp4"></video>]]></description><guid isPermaLink="false">moments/moment-qi9bbj6k</guid><pubDate>Fri, 12 Dec 2025 01:38:34 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-12-03 22:11:34]]></title><link>http://gowninng.cn/moments/moment-6rl6eulu</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-12-03%2022%3A11%3A34&amp;url=/moments/moment-6rl6eulu" width="1" height="1" alt="" style="opacity:0;">
<p style="">稍微丢点儿良心，你会活得更舒服。</p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" data-pjax="">吐槽</a></p>]]></description><guid isPermaLink="false">moments/moment-6rl6eulu</guid><pubDate>Wed, 3 Dec 2025 14:11:34 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-11-18 16:44:26]]></title><link>http://gowninng.cn/moments/moment-kdguq3g1</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-11-18%2016%3A44%3A26&amp;url=/moments/moment-kdguq3g1" width="1" height="1" alt="" style="opacity:0;">
<p style="">依旧流感</p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" data-pjax="">吐槽</a></p>]]></description><guid isPermaLink="false">moments/moment-kdguq3g1</guid><pubDate>Tue, 18 Nov 2025 08:44:26 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-11-11 14:23:55]]></title><link>http://gowninng.cn/moments/moment-hldc01ux</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-11-11%2014%3A23%3A55&amp;url=/moments/moment-hldc01ux" width="1" height="1" alt="" style="opacity:0;">
<p style="">软考信安选择题感觉炸了，没看书光刷真题了</p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" data-pjax="">吐槽</a></p>]]></description><guid isPermaLink="false">moments/moment-hldc01ux</guid><pubDate>Tue, 11 Nov 2025 06:23:55 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-07-20 00:56:46]]></title><link>http://gowninng.cn/moments/moment-ze0mshuh</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-07-20%2000%3A56%3A46&amp;url=/moments/moment-ze0mshuh" width="1" height="1" alt="" style="opacity:0;">
<p style="">最舒服的就是每次双休都能给家躺两天🤗</p>
<p style=""><a class="tag" href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" data-pjax="">吐槽</a></p>]]></description><guid isPermaLink="false">moments/moment-ze0mshuh</guid><pubDate>Sat, 19 Jul 2025 16:56:46 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-07-10 10:58:42]]></title><link>http://gowninng.cn/moments/moment-fpgmracc</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-07-10%2010%3A58%3A42&amp;url=/moments/moment-fpgmracc" width="1" height="1" alt="" style="opacity:0;">
<p style="">大半夜睡不着</p>
<p style=""><a href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" class="tag">吐槽</a></p>
<p style=""></p>
<p style=""></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2FIMG_3422.jpeg&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-fpgmracc</guid><pubDate>Thu, 10 Jul 2025 02:58:42 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-06-22 10:19:47]]></title><link>http://gowninng.cn/moments/moment-xu5fswyf</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-06-22%2010%3A19%3A47&amp;url=/moments/moment-xu5fswyf" width="1" height="1" alt="" style="opacity:0;">
<p style="">联动封禁平台，把各个告警设备和封禁设备对接进行自动封禁。仍在优化代码架构中。</p>
<p style=""><a href="http://gowninng.cn/moments?tag=%E5%BC%80%E5%8F%91" class="tag">开发</a></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2F1750558534576.png&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-xu5fswyf</guid><pubDate>Sun, 22 Jun 2025 02:19:47 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-06-19 21:40:00]]></title><link>http://gowninng.cn/moments/moment-hhgswjgr</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-06-19%2021%3A40%3A00&amp;url=/moments/moment-hhgswjgr" width="1" height="1" alt="" style="opacity:0;">
<p style=""><span style="font-size: 16px">Tomcat中这三个StandardContext、ApplicationContext、ServletContext都是干什么的？</span>对这三个Context的描述可能还是有点不理解，用一个餐厅的比喻​​来理解这三个概念的区别和协作方式。</p>
<p style=""><strong>🍽️ ​​场景：Tomcat 是一家餐厅​​</strong></p>
<p style=""><strong>1. ​​</strong><code>StandardContext</code><strong>：后厨管理系统​​</strong></p>
<ul>
 <li>
  <p style="">​<strong>​角色​</strong>​：餐厅的 ​<strong>​后厨总监​</strong>​（负责所有核心运营）。</p>
 </li>
 <li>
  <p style="">​<strong>​功能​</strong>​：</p>
  <ul>
   <li>
    <p style="">管理厨师（Servlet）、服务员（Filter）、食材（资源路径）。</p>
   </li>
   <li>
    <p style="">记录菜单（<code>web.xml</code> 配置）。</p>
   </li>
   <li>
    <p style="">控制餐厅的营业状态（启动/停止）。</p>
   </li>
  </ul>
 </li>
 <li>
  <p style="">​<strong>​特点​</strong>​：
   <br>
   顾客看不到他，但他才是真正的“幕后大佬”。</p>
 </li>
</ul>
<blockquote>
 <p style="line-height: 1.75">🔧 ​<strong>​例子​</strong>​：
  <br>
  后厨总监决定：</p>
 <ul>
  <li>
   <p style="">哪些厨师做哪些菜（URL 映射到 Servlet）。</p>
  </li>
  <li>
   <p style="">食材存放在哪里（<code>WEB-INF/classes</code> 和 <code>WEB-INF/lib</code>）。</p>
  </li>
 </ul>
</blockquote>
<p style=""><strong>2. ​​</strong><code>ApplicationContext</code><strong>：餐厅经理​​</strong></p>
<ul>
 <li>
  <p style="">​<strong>​角色​</strong>​：后厨总监的 ​<strong>​公开代言人​</strong>​，直接对接顾客需求。</p>
 </li>
 <li>
  <p style="">​<strong>​功能​</strong>​：</p>
  <ul>
   <li>
    <p style="">对外提供菜单（<code>getResource()</code>）。</p>
   </li>
   <li>
    <p style="">接受顾客的特殊要求（动态注册 Filter/Servlet）。</p>
   </li>
   <li>
    <p style="">管理餐厅的公共信息（如今日特价=<code>getInitParameter()</code>）。</p>
   </li>
  </ul>
 </li>
 <li>
  <p style="">​<strong>​特点​</strong>​：
   <br>
   顾客以为经理就是“最高负责人”，实际他需要和后厨总监沟通。</p>
 </li>
</ul>
<blockquote>
 <p style="line-height: 1.75">🎯 ​<strong>​例子​</strong>​：
  <br>
  顾客问经理：</p>
 <ul>
  <li>
   <p style="">“有没有番茄酱？” → 经理去后厨系统查 (<code>ctx.getResource("/ketchup.txt")</code>)。</p>
  </li>
  <li>
   <p style="">“我想定制一道菜” → 经理协调后厨动态添加 (<code>ctx.addServlet()</code>)。</p>
  </li>
 </ul>
</blockquote>
<p style=""><strong>3. ​​</strong><code>ServletContext</code><strong>：餐厅的菜单和客服电话​​</strong></p>
<ul>
 <li>
  <p style="">​<strong>​角色​</strong>​：顾客能直接接触的 ​<strong>​标准化接口​</strong>​。</p>
 </li>
 <li>
  <p style="">​<strong>​功能​</strong>​：</p>
  <ul>
   <li>
    <p style="">提供统一的菜单（所有顾客看到的都一样）。</p>
   </li>
   <li>
    <p style="">接受投诉或反馈（<code>setAttribute("feedback", "汤太咸")</code>）。</p>
   </li>
   <li>
    <p style="">提供外卖服务（静态资源访问）。</p>
   </li>
  </ul>
 </li>
 <li>
  <p style="">​<strong>​特点​</strong>​：
   <br>
   无论后厨换厨师（Tomcat 升级）还是经理换人（<code>ApplicationContext</code> 实现变化），菜单格式（接口）不变。</p>
 </li>
</ul>
<blockquote>
 <p style="line-height: 1.75">📞 ​<strong>​例子​</strong>​：
  <br>
  顾客通过菜单（<code>ServletContext</code>）：</p>
 <ul>
  <li>
   <p style="">点一份披萨（访问 <code>/pizza</code> 路径）。</p>
  </li>
  <li>
   <p style="">查今日特价（<code>ctx.getInitParameter("discount")</code>）。</p>
  </li>
 </ul>
</blockquote>
<p style=""><strong>🎭 ​​协作流程（顾客点餐）​​</strong></p>
<ol>
 <li>
  <p style="">​<strong>​顾客​</strong>​（浏览器）打开菜单（<code>ServletContext</code>）点餐：<code>/order?dish=pasta</code>。</p>
 </li>
 <li>
  <p style="">​<strong>​菜单​</strong>​ 将请求转给 ​<strong>​餐厅经理​</strong>​（<code>ApplicationContext</code>）。</p>
 </li>
 <li>
  <p style="">​<strong>​经理​</strong>​ 查询 ​<strong>​后厨系统​</strong>​（<code>StandardContext</code>）：</p>
  <ul>
   <li>
    <p style="">找到负责 <code>pasta</code> 的厨师（Servlet）。</p>
   </li>
   <li>
    <p style="">检查是否需要先过滤（如验证顾客权限 = Filter）。</p>
   </li>
  </ul>
 </li>
 <li>
  <p style="">​<strong>​后厨总监​</strong>​ 调度厨师做菜，最终结果通过经理返回给顾客。</p>
 </li>
</ol>
<p style=""><img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2Fimage-jxLe.png&amp;size=m" width="100%" height="100%" style="display: inline-block"></p>
<p style=""><a href="http://gowninng.cn/moments?tag=%E6%9D%82%E8%AE%B0" class="tag">杂记</a></p>]]></description><guid isPermaLink="false">moments/moment-hhgswjgr</guid><pubDate>Thu, 19 Jun 2025 13:40:00 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-04-18 09:02:34]]></title><link>http://gowninng.cn/moments/moment-xpDdi</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-04-18%2009%3A02%3A34&amp;url=/moments/moment-xpDdi" width="1" height="1" alt="" style="opacity:0;">
<p style="">感觉记忆力变差了，刚记完的笔记过了一会儿就忘了。</p>
<p style=""><a href="http://gowninng.cn/moments?tag=%E5%90%90%E6%A7%BD" class="tag">吐槽</a></p>]]></description><guid isPermaLink="false">moments/moment-xpDdi</guid><pubDate>Fri, 18 Apr 2025 01:02:34 GMT</pubDate></item><item><title><![CDATA[GowNinng published on 2025-04-18 08:51:28]]></title><link>http://gowninng.cn/moments/moment-vbgXJ</link><description><![CDATA[<img src="http://gowninng.cn/plugins/feed/assets/telemetry.gif?title=GowNinng%20published%20on%202025-04-18%2008%3A51%3A28&amp;url=/moments/moment-vbgXJ" width="1" height="1" alt="" style="opacity:0;">
<p style="">研究Java漏洞的利用链的时候，需要用到低版本Java，用的scoop里面没有低版本的1.8，于是自己Fork了Scoop Bucket Template，用这个写了JDK 8u41的下载模板，Bucket地址：</p>
<p style=""><hyperlink-inline-card target="_blank" href="https://github.com/1dreamGN/MyBucket" theme="inline" custom-title=""><a href="https://github.com/1dreamGN/MyBucket" target="_blank">https://github.com/1dreamGN/MyBucket</a></hyperlink-inline-card></p>
<p style=""><a href="http://gowninng.cn/moments?tag=开发" class="tag">开发</a></p>
<img src="http://gowninng.cn/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=http%3A%2F%2Fgowninng.cn%2Fupload%2F1744937329357.png&amp;size=m" alt="moment photo">]]></description><guid isPermaLink="false">moments/moment-vbgXJ</guid><pubDate>Fri, 18 Apr 2025 00:51:28 GMT</pubDate></item></channel></rss>