-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
17 lines (17 loc) · 22.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html><html lang="en"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="description" content=""><title>禅游人生 | Life Of Zen Tour</title><link rel="stylesheet" type="text/css" href="/css/style.css?v=1.0.0"><link rel="stylesheet" type="text/css" href="//lib.baomitu.com/normalize/latest/normalize.min.css"><link rel="stylesheet" type="text/css" href="//lib.baomitu.com/pure/latest/pure-min.min.css"><link rel="stylesheet" type="text/css" href="//lib.baomitu.com/pure/latest/grids-responsive-min.min.css"><link rel="stylesheet" href="//lib.baomitu.com/font-awesome/4.7.0/css/font-awesome.min.css"><script type="text/javascript" src="//lib.baomitu.com/jquery/latest/jquery.min.js"></script><link rel="icon" mask="" sizes="any" href="/favicon.ico"><link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico"><link rel="apple-touch-icon" href="/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png"><script type="text/javascript" src="//lib.baomitu.com/clipboard.js/latest/clipboard.min.js"></script><script type="text/javascript" src="//lib.baomitu.com/toastr.js/latest/toastr.min.js"></script><link rel="stylesheet" href="//lib.baomitu.com/toastr.js/latest/toastr.min.css"><meta name="generator" content="Hexo 6.2.0"></head><body><div class="body_container"><div id="header"><div class="site-name"><h1 class="hidden">禅游人生</h1><a id="logo" href="/.">禅游人生</a><p class="description">Life Of Zen Tour</p></div><div id="nav-menu"><a class="current" href="/."><i class="fa fa-home"> Home</i></a><a href="/archives/"><i class="fa fa-archive"> Archive</i></a><a href="/about/"><i class="fa fa-user"> About</i></a></div></div><div class="pure-g" id="layout"><div class="pure-u-1 pure-u-md-3-4"><div class="content_container"><div class="post"><h1 class="post-title"><a href="/my-clash-config-templates.html">📝自用clash配置模板</a></h1><div class="post-meta">2024-11-15</div><div class="post-content"><figure class="highlight yaml"><table><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><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">mixed-port:</span> <span class="number">7890</span></span><br><span class="line"></span><br><span class="line"><span class="attr">allow-lan:</span> <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># info / warning / error / debug / silent</span></span><br><span class="line"><span class="attr">log-level:</span> <span class="string">warning</span></span><br><span class="line"></span><br><span class="line"><span class="attr">mode:</span> <span class="string">rule</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#自定义 geodata url</span></span><br><span class="line"><span class="attr">geox-url:</span></span><br><span class="line"> <span class="attr">geoip:</span> <span class="string">"https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat"</span></span><br><span class="line"> <span class="attr">geosite:</span> <span class="string">"https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat"</span></span><br><span class="line"> <span class="attr">mmdb:</span> <span class="string">"https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.metadb"</span></span><br><span class="line"><span class="attr">geo-auto-update:</span> <span class="literal">true</span> <span class="comment"># 是否自动更新 geodata</span></span><br><span class="line"><span class="attr">geo-update-interval:</span> <span class="number">72</span> <span class="comment"># 更新间隔,单位:小时</span></span><br><span class="line"></span><br><span class="line"><span class="attr">ipv6:</span> <span class="literal">false</span></span><br><span class="line"></span><br><span class="line"><span class="attr">profile:</span></span><br><span class="line"> <span class="attr">store-selected:</span> <span class="literal">true</span></span><br><span class="line"> <span class="attr">store-fake-ip:</span> <span class="literal">true</span></span><br><span class="line"></span><br><span class="line"><span class="attr">dns:</span></span><br><span class="line"> <span class="attr">enable:</span> <span class="literal">true</span></span><br><span class="line"> <span class="attr">listen:</span> <span class="number">127.0</span><span class="number">.0</span><span class="number">.1</span><span class="string">:1053</span></span><br><span class="line"> <span class="attr">prefer-h3:</span> <span class="literal">false</span> </span><br><span class="line"> <span class="attr">ipv6:</span> <span class="literal">true</span> <span class="comment"># when the false, response to AAAA questions will be empty</span></span><br><span class="line"> <span class="attr">enhanced-mode:</span> <span class="string">fake-ip</span></span><br><span class="line"> <span class="attr">fake-ip-range:</span> <span class="number">198.18</span><span class="number">.0</span><span class="number">.1</span><span class="string">/16</span></span><br><span class="line"> <span class="comment">#fake-ip-filter:</span></span><br><span class="line"> <span class="comment"># - '*.lan'</span></span><br><span class="line"> <span class="comment"># - localhost.ptlogin2.qq.com</span></span><br><span class="line"> <span class="comment">## 默认dns 用于解析DNS服务器的域名</span></span><br><span class="line"> <span class="attr">default-nameserver:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="number">223.5</span><span class="number">.5</span><span class="number">.5</span> <span class="comment"># alibaba</span></span><br><span class="line"> <span class="comment">#- 119.29.29.29 # tencent</span></span><br><span class="line"> <span class="bullet">-</span> <span class="number">114.114</span><span class="number">.114</span><span class="number">.114</span> <span class="comment"># isp</span></span><br><span class="line"> <span class="comment">## 只配置国外DNS 与nameserver-policy配合使用</span></span><br><span class="line"> <span class="attr">nameserver:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">https://208.67.222.222/dns-query</span> <span class="comment"># opendns https://dns.opendns.com/dns-query</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">https://101.101.101.101/dns-query</span> <span class="comment"># taiwan https://dns.twnic.tw/dns-query</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">tls://8.8.8.8:853</span> <span class="comment"># google dot</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">tls://1.1.1.1:853</span> <span class="comment"># cloudflare dot</span></span><br><span class="line"> <span class="comment">## DNS解析策略 国内域名走国内DNS 其余走nameserver</span></span><br><span class="line"> <span class="attr">nameserver-policy:</span></span><br><span class="line"> <span class="string">"geosite:cn,private"</span><span class="string">:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">https://dns.alidns.com/dns-query</span> <span class="comment"># alibaba doh</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">https://doh.pub/dns-query</span> <span class="comment"># tencent doh</span></span><br><span class="line"> <span class="attr">"geosite:category-ads-all":</span> <span class="string">rcode://success</span> </span><br><span class="line"></span><br><span class="line"><span class="attr">proxies:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">foo1</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">foo2</span></span><br><span class="line"></span><br><span class="line"><span class="attr">proxy-groups:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="attr">name:</span> <span class="string">PROXY</span></span><br><span class="line"> <span class="attr">type:</span> <span class="string">select</span> </span><br><span class="line"> <span class="attr">proxies:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">foo1</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">foo2</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 规则. 常访问的国外服务靠前配置PROXY,GEOIP/GEOSITE为国内的DIRECT,其余默认PROXY</span></span><br><span class="line"><span class="attr">rules:</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">GEOSITE,google,PROXY</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">GEOSITE,microsoft,PROXY</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">GEOIP,PRIVATE,DIRECT</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">GEOIP,LAN,DIRECT</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">GEOSITE,CN,DIRECT</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">GEOIP,CN,DIRECT</span></span><br><span class="line"> <span class="bullet">-</span> <span class="string">MATCH,PROXY</span></span><br></pre></td></tr></table></figure></div><p class="readmore"><a href="/my-clash-config-templates.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/My-NAS.html">搭建个人NAS</a></h1><div class="post-meta">2023-05-28</div><div class="post-content"><h2 id="序言"><a href="#序言" class="headerlink" title="序言"></a>序言</h2><p> 几年前自己买了一块RockPro64,想着自己搞个NAS用用。然而其实历史经验告诉我,自己动手能力其实挺一般的,之所以自己搞,主要还是因为穷吧,一个简简单单两盘位的群晖NAS最便宜也要接近1K RMB了。<br> 后来看了下就想着拿树莓派之类的SBC挂个硬盘得了,比来比去还是觉得RockPro64性价比更高,于是就下单了一组,包括SBC、NAS盒子、Wifi组件、风扇、CPU散热片。<br> 现在总结下来其实可能还是买现成的NAS更省钱,因为自己组建遇到的坑、花费的时间都远超过这点价差- -。Anyway,就当记录个历程吧,总结沉淀下。</p></div><p class="readmore"><a href="/My-NAS.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/In-Memory-Of-Haoel.html">In Memory of Haoel</a></h1><div class="post-meta">2023-05-15</div><div class="post-content"><p> 惊闻左耳朵耗子突发心梗辞世。震惊,怅然若失。</p>
<p> 回想自己迷茫的程序员之路,很多时候都是靠着这些大佬无私的分享才能坚持下来。他带给我们的绝不仅仅是技术,更多的是对自我、人生的思考,更深层次的处世哲学。</p>
<p> 自己总是会有很多零零散散的思考,短暂的,易忘的,也时常会想把这些总结下来,构建起像CoolShell一样博客,分享给别人,更分享给自己。然而自己还没有克服懒惰,指路灯塔却悄然熄灭,意料不及。</p></div><p class="readmore"><a href="/In-Memory-Of-Haoel.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/tweets-202211.html">📝Tweets-202211</a></h1><div class="post-meta">2022-11-23</div><div class="post-content"><p>Tweets in 202211.</p>
</div><p class="readmore"><a href="/tweets-202211.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/%E4%B8%BASSH%E7%99%BB%E9%99%86%E5%BC%80%E5%90%AF%E9%82%AE%E4%BB%B6%E6%8F%90%E9%86%92%E9%80%9A%E7%9F%A5.html">🧑💻为SSH登陆开启邮件提醒通知</a></h1><div class="post-meta">2021-07-14</div><div class="post-content"><h2 id="背景"><a href="#背景" class="headerlink" title="背景"></a>背景</h2><p> 想为自己的服务器开启登陆SSH登陆提醒,当有人登陆服务器时能够邮件通知到自己。避免服务器被“攻占”了自己还全然不知(这里只代表SSH登陆)。</p>
<h2 id="方法"><a href="#方法" class="headerlink" title="方法"></a>方法</h2><p> 实际这个方法时之前在网络上搜罗到的,不过忘记了参考链接。这里权当是备忘分享了。</p></div><p class="readmore"><a href="/%E4%B8%BASSH%E7%99%BB%E9%99%86%E5%BC%80%E5%90%AF%E9%82%AE%E4%BB%B6%E6%8F%90%E9%86%92%E9%80%9A%E7%9F%A5.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/%E7%82%92%E8%8A%B1%E8%9B%A4%E6%8A%80%E5%B7%A7.html">🍜炒花蛤技巧</a></h1><div class="post-meta">2020-07-13</div><div class="post-content"><ul>
<li><p>去沙</p>
<p>总的来说,不知道是不是我操作不当,反正网上说的双手来回交叉翻动、不锈钢盆左右抖动等等这类让花蛤“晕船”的办法似乎都没生效,就是不开口,搞得我以为他们都挂了。</p>
<p>开水直接焖煮一分钟 或者 花蛤洗净擦干热锅不放油直接翻炒(放少量水),这两个办法应该是靠谱的。我用的后者,还是可以吐出一些脏东西的。</p></div><p class="readmore"><a href="/%E7%82%92%E8%8A%B1%E8%9B%A4%E6%8A%80%E5%B7%A7.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/Mac%E8%87%AA%E7%94%A8%E8%BD%AF%E4%BB%B6%E9%9B%86%E9%94%A6.html">🧑💻Mac自用软件集锦</a></h1><div class="post-meta">2020-04-30</div><div class="post-content"><h2 id="不仅限于Mac-Just-For-Getting-Rid-of-Googles"><a href="#不仅限于Mac-Just-For-Getting-Rid-of-Googles" class="headerlink" title="不仅限于Mac(Just For Getting Rid of Googles)"></a>不仅限于Mac(Just For Getting Rid of Googles)</h2><p>之前找到了很多不错的专门用于寻找替代软件的网站,比如 alternativeto.net 等等,很有效,推荐长期使用。</p></div><p class="readmore"><a href="/Mac%E8%87%AA%E7%94%A8%E8%BD%AF%E4%BB%B6%E9%9B%86%E9%94%A6.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/%E6%B8%85%E7%A9%BA.html">📝清空</a></h1><div class="post-meta">2020-03-13</div><div class="post-content"><p>本以为会花很久才能清理完的收件箱,外加贼不靠谱的客户端操作。</p>
<p>不曾想,用官网页面操作快得要死,几年时光的积累,也不过如此。</p>
</div><p class="readmore"><a href="/%E6%B8%85%E7%A9%BA.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/All-Refreshed.html">📝All Refreshed</a></h1><div class="post-meta">2018-06-20</div><div class="post-content"><h2 id="复活"><a href="#复活" class="headerlink" title="复活"></a>复活</h2><p>博客重新部署完毕.Over.</p>
</div><p class="readmore"><a href="/All-Refreshed.html">Read More</a></p></div><div class="post"><h1 class="post-title"><a href="/stable%20is%20everything.html">2️⃣stable is everything</a></h1><div class="post-meta">2016-05-30</div><div class="post-content"><p>天真的我,以为linux下可以挂载ntfs了,就安心地把家目录所有内容都copy到ntfs分区下然后用软链链过去了。可谁知ntfs分区下chmod chown都没用的…… 而刚好有些要求~/.ssh目录下的文件权限仅自己可见…. 玩脱了…. 改了默认umask结果别的没法执行了,哎… 为了快速解决,只能先copy回来了</p></div><p class="readmore"><a href="/stable%20is%20everything.html">Read More</a></p></div><nav class="page-navigator"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">Next</a></nav></div></div><div class="pure-u-1-4 hidden_mid_and_down"><div id="sidebar"><div class="widget"><div class="search-form"><input id="local-search-input" placeholder="Search" type="text" name="q" results="0"/><div id="local-search-result"></div></div></div><div class="widget"><div class="widget-title"><i class="fa fa-folder-o"> Categories</i></div><ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%A5%BD%E7%89%A9%E5%88%86%E4%BA%AB/">好物分享</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%B7%A5%E5%85%B7/">工具</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/">心情随笔</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%88%91%E4%B8%8D%E6%98%AF%E5%90%83%E8%B4%A7/">我不是吃货</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E9%9A%8F%E6%83%B3/">随想</a></li></ul></div><div class="widget"><div class="widget-title"><i class="fa fa-star-o"> Tags</i></div><div class="tagcloud"><a href="/tags/Nextcloud/" style="font-size: 15px;">Nextcloud</a> <a href="/tags/NAS/" style="font-size: 15px;">NAS</a></div></div><div class="widget"><div class="widget-title"><i class="fa fa-file-o"> Recent</i></div><ul class="post-list"><li class="post-list-item"><a class="post-list-link" href="/my-clash-config-templates.html">📝自用clash配置模板</a></li><li class="post-list-item"><a class="post-list-link" href="/My-NAS.html">搭建个人NAS</a></li><li class="post-list-item"><a class="post-list-link" href="/In-Memory-Of-Haoel.html">In Memory of Haoel</a></li><li class="post-list-item"><a class="post-list-link" href="/tweets-202211.html">📝Tweets-202211</a></li><li class="post-list-item"><a class="post-list-link" href="/%E4%B8%BASSH%E7%99%BB%E9%99%86%E5%BC%80%E5%90%AF%E9%82%AE%E4%BB%B6%E6%8F%90%E9%86%92%E9%80%9A%E7%9F%A5.html">🧑💻为SSH登陆开启邮件提醒通知</a></li><li class="post-list-item"><a class="post-list-link" href="/%E7%82%92%E8%8A%B1%E8%9B%A4%E6%8A%80%E5%B7%A7.html">🍜炒花蛤技巧</a></li><li class="post-list-item"><a class="post-list-link" href="/Mac%E8%87%AA%E7%94%A8%E8%BD%AF%E4%BB%B6%E9%9B%86%E9%94%A6.html">🧑💻Mac自用软件集锦</a></li><li class="post-list-item"><a class="post-list-link" href="/%E6%B8%85%E7%A9%BA.html">📝清空</a></li><li class="post-list-item"><a class="post-list-link" href="/All-Refreshed.html">📝All Refreshed</a></li><li class="post-list-item"><a class="post-list-link" href="/stable%20is%20everything.html">2️⃣stable is everything</a></li></ul></div><div class="widget"><div class="widget-title"><i class="fa fa-external-link"> Links</i></div><ul></ul><a href="http://loztone.top/" title="loztone.top" target="_blank">loztone.top</a></div></div></div><div class="pure-u-1 pure-u-md-3-4"><div id="footer">Copyright © 2025 <a href="/." rel="nofollow">禅游人生.</a> Powered by<a rel="nofollow" target="_blank" href="https://hexo.io"> Hexo.</a><a rel="nofollow" target="_blank" href="https://github.com/tufu9441/maupassant-hexo"> Theme</a> by<a rel="nofollow" target="_blank" href="https://github.com/pagecho"> Cho.</a></div></div></div><a class="show" id="rocket" href="#top"></a><script type="text/javascript" src="/js/totop.js?v=1.0.0" async></script><script type="text/javascript" src="//lib.baomitu.com/fancybox/latest/jquery.fancybox.min.js" async></script><script type="text/javascript" src="/js/fancybox.js?v=1.0.0" async></script><link rel="stylesheet" type="text/css" href="//lib.baomitu.com/fancybox/latest/jquery.fancybox.min.css"><link rel="stylesheet" type="text/css" href="/css/search.css?v=1.0.0"><script type="text/javascript" src="/js/search.js?v=1.0.0"></script><script>var search_path = 'search.xml';
if (search_path.length == 0) {
search_path = 'search.xml';
}
var path = '/' + search_path;
searchFunc(path, 'local-search-input', 'local-search-result');
</script><script type="text/javascript" src="/js/copycode.js?v=1.0.0" successtext="Copy Successed!"></script><link rel="stylesheet" type="text/css" href="/css/copycode.css?v=1.0.0"><script type="text/javascript" src="/js/codeblock-resizer.js?v=1.0.0"></script><script type="text/javascript" src="/js/smartresize.js?v=1.0.0"></script></div></body></html>