<?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>Cuirx's Blog</title><link>https://cuirx.me</link><atom:link href="https://cuirx.me/rss.xml" rel="self" type="application/rss+xml"/><description>行百里者半九十</description><generator>Halo v2.25.3</generator><language>zh-cn</language><image><url>https://cuirx.me/upload/%E9%BB%91%E7%8C%AB.png</url><title>Cuirx's Blog</title><link>https://cuirx.me</link></image><lastBuildDate>Wed, 24 Jun 2026 04:34:39 GMT</lastBuildDate><item><title><![CDATA[自用中转站，满血ChatGPT-5.5，Opus-4.8]]></title><link>https://cuirx.me/archives/fgwbBppw</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E8%87%AA%E7%94%A8%E4%B8%AD%E8%BD%AC%E7%AB%99%EF%BC%8C%E6%BB%A1%E8%A1%80ChatGPT-5.5%EF%BC%8COpus-4.8&amp;url=/archives/fgwbBppw" width="1" height="1" alt="" style="opacity:0;">
<p style="">自用中转站，满血高速ChatGPT-5.5，plus倍率0.1，pro倍率0.2。Opus-4.8，max倍率0.99，kiro倍率0..3</p>
<p style=""><a href="https://api.cuirx.me" target="_blank" rel="">https://api.cuirx.me</a></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-TTjg.png&amp;size=m">
</figure>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/fgwbBppw</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-TTjg.png&amp;size=m" type="image/jpeg" length="168631"/><pubDate>Wed, 17 Jun 2026 01:59:09 GMT</pubDate></item><item><title><![CDATA[百度贴吧自动签到]]></title><link>https://cuirx.me/archives/aq0F1edI</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E7%99%BE%E5%BA%A6%E8%B4%B4%E5%90%A7%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0&amp;url=/archives/aq0F1edI" width="1" height="1" alt="" style="opacity:0;">
<h1 style="" id="%E7%99%BE%E5%BA%A6%E8%B4%B4%E5%90%A7%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0">百度贴吧自动签到</h1>
<h2 style="" id="%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80%EF%BC%9Adiuhgg%2Ftieba-sign">项目地址：<a href="https://github.com/diuhgg/tieba-sign">diuhgg/tieba-sign</a></h2>
<h2 style="" id="%E5%9C%A8%E7%BA%BF%E4%BD%BF%E7%94%A8%EF%BC%9A">在线使用：</h2>
<h2 style="" id="%E7%AE%80%E4%BB%8B%EF%BC%9A">简介：</h2>
<p style="line-height: inherit">我这台小服务器部署的东西越来越多，就显得之前用的签到助手占用大了，于是用ai搓了一个简单的签到助手。</p>
<h2 style="" id="%E8%B4%B4%E5%90%A7%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0"><strong>贴吧自动签到</strong></h2>
<p style="line-height: inherit">一个基于 Python 标准库 HTTP 服务实现的百度贴吧自动签到网站。项目支持多用户注册登录、添加百度账号 <code>BDUSS</code>、同步关注贴吧、确认签到贴吧、手动签到、服务器定时自动签到，以及管理员后台管理。</p>
<p style="line-height: inherit">当前版本：<code>v1.0.1</code></p>
<h2 style="" id="%E9%A1%B9%E7%9B%AE%E6%88%AA%E5%9B%BE"><strong>项目截图</strong></h2>
<p style=""><strong>首页</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-20260608093525812.png&amp;size=m" width="2552px">
</figure>
<p style=""><strong>管理员后台</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-20260608093654304-tEpD.png&amp;size=m">
</figure>
<p style=""><strong>用户中心</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-20260608093820830.png&amp;size=m" width="2552px">
</figure>
<h2 style="" id="%E5%8A%9F%E8%83%BD%E7%89%B9%E6%80%A7"><span><strong>功能特性</strong></span></h2>
<h3 style="" id="%E7%94%A8%E6%88%B7%E5%8A%9F%E8%83%BD"><span><strong>用户功能</strong></span></h3>
<ul>
 <li>
  <p style="line-height: inherit"><span>用户注册、登录、退出</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>用户修改登录密码</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>第一个注册用户自动成为管理员</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>添加百度账号备注和 </span><code>BDUSS</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>自动同步该百度账号关注的贴吧</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>用户确认需要签到的贴吧后才会执行签到</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>手动触发单个百度账号签到</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>删除已添加的百度账号</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>查看账号状态、同步时间、签到时间和签到记录</span></p>
 </li>
</ul>
<h3 style="" id="%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0"><span><strong>自动签到</strong></span></h3>
<ul>
 <li>
  <p style="line-height: inherit"><span>后台调度器每 300 秒检查一次</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>每天 </span><code>06:00</code><span> 到 </span><code>23:59</code><span> 之间自动执行</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>每个百度账号每天只会自动处理一次</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>已成功签到或已因风控暂停的账号当天不会重复签到</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>单个贴吧之间按环境变量设置随机延迟</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>不同账号之间额外随机间隔 3 到 8 秒</span></p>
 </li>
</ul>
<h3 style="" id="%E7%AE%A1%E7%90%86%E5%91%98%E5%8A%9F%E8%83%BD"><span><strong>管理员功能</strong></span></h3>
<p style="line-height: inherit"><span>管理员可进入 </span><code>/admin</code><span> 后台，查看和管理：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><span>今日签到任务统计</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>今日成功、失败、暂停数量</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>当前程序版本号</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>所有用户列表</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>所有百度账号列表</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>审计日志</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>封禁 / 恢复普通用户</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>删除普通用户</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>修改普通用户密码</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>暂停 / 恢复百度账号</span></p>
 </li>
</ul>
<h3 style="" id="%E5%AE%89%E5%85%A8%E8%AE%BE%E8%AE%A1"><span><strong>安全设计</strong></span></h3>
<ul>
 <li>
  <p style="line-height: inherit"><span>不保存百度账号明文密码</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>只使用用户自行填写的 </span><code>BDUSS</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>BDUSS</code><span> 使用 </span><code>AES-GCM</code><span> 加密保存</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>登录密码使用 </span><code>PBKDF2-HMAC-SHA256</code><span> 加盐哈希保存</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>Session 使用随机 token，有效期 14 天</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>管理员不能封禁或删除当前登录的管理员自己</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>遇到验证码、风控或异常登录时，不绕过验证，只暂停账号等待用户处理</span></p>
 </li>
</ul>
<h2 style="" id="%E6%8A%80%E6%9C%AF%E6%A0%88"><span><strong>技术栈</strong></span></h2>
<ul>
 <li>
  <p style="line-height: inherit"><span>Python 3</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>SQLite</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>requests</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>cryptography</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>Tailwind CSS CDN</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>Iconify CDN</span></p>
 </li>
</ul>
<p style="line-height: inherit"><span>项目没有使用 Flask、Django 等 Web 框架，HTTP 服务由 Python 标准库 </span><code>http.server</code><span> 提供。</span></p>
<h2 style="" id="%E5%BF%AB%E9%80%9F%E8%BF%90%E8%A1%8C"><span><strong>快速运行</strong></span></h2>
<p style="line-height: inherit"><span>安装依赖：</span></p>
<pre><code>python3 -m pip install -r requirements.txt</code></pre>
<p style="line-height: inherit"><span>启动服务：</span></p>
<pre><code>python3 app.py</code></pre>
<p style="line-height: inherit"><span>默认访问地址：</span></p>
<pre><code>http://127.0.0.1:8000</code></pre>
<h2 style="" id="%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F"><span><strong>环境变量</strong></span></h2>
<p style="line-height: inherit"><span>可通过环境变量调整运行配置：</span></p>
<div style="overflow-x: auto; overflow-y: hidden;">
 <table style="width: 300px">
  <colgroup>
   <col style="width: 100px">
   <col style="width: 100px">
   <col style="width: 100px">
  </colgroup>
  <tbody>
   <tr style="box-sizing: border-box; break-inside: avoid; break-after: auto; border: 1px solid rgb(223, 226, 229); margin: 0px; padding: 0px;">
    <th colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; font-weight: bold; border-width: 1px 1px 0px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(223, 226, 229); border-right-color: rgb(223, 226, 229); border-left-color: rgb(223, 226, 229); border-image: initial; border-bottom-style: initial; border-bottom-color: initial; margin: 0px;">
     <p style=""><span><strong>变量</strong></span></p>
    </th>
    <th colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; font-weight: bold; border-width: 1px 1px 0px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(223, 226, 229); border-right-color: rgb(223, 226, 229); border-left-color: rgb(223, 226, 229); border-image: initial; border-bottom-style: initial; border-bottom-color: initial; margin: 0px;">
     <p style=""><span><strong>默认值</strong></span></p>
    </th>
    <th colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; font-weight: bold; border-width: 1px 1px 0px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(223, 226, 229); border-right-color: rgb(223, 226, 229); border-left-color: rgb(223, 226, 229); border-image: initial; border-bottom-style: initial; border-bottom-color: initial; margin: 0px;">
     <p style=""><span><strong>说明</strong></span></p>
    </th>
   </tr>
   <tr style="box-sizing: border-box; break-inside: avoid; break-after: auto; border: 1px solid rgb(223, 226, 229); margin: 0px; padding: 0px;">
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>HOST</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>127.0.0.1</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><span>服务监听地址</span></p>
    </td>
   </tr>
   <tr style="box-sizing: border-box; break-inside: avoid; break-after: auto; border: 1px solid rgb(223, 226, 229); margin: 0px; padding: 0px; background-color: rgb(248, 248, 248);">
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>PORT</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>8000</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><span>服务监听端口</span></p>
    </td>
   </tr>
   <tr style="box-sizing: border-box; break-inside: avoid; break-after: auto; border: 1px solid rgb(223, 226, 229); margin: 0px; padding: 0px;">
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>APP_SECRET</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><span>空</span></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><span>用于加密 </span><code>BDUSS</code><span> 的固定密钥</span></p>
    </td>
   </tr>
   <tr style="box-sizing: border-box; break-inside: avoid; break-after: auto; border: 1px solid rgb(223, 226, 229); margin: 0px; padding: 0px; background-color: rgb(248, 248, 248);">
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>SIGN_DELAY_MIN</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>0.2</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><span>单个贴吧签到最小间隔秒数</span></p>
    </td>
   </tr>
   <tr style="box-sizing: border-box; break-inside: avoid; break-after: auto; border: 1px solid rgb(223, 226, 229); margin: 0px; padding: 0px;">
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>SIGN_DELAY_MAX</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><code>0.8</code></p>
    </td>
    <td colspan="1" rowspan="1" colwidth="100" style="box-sizing: border-box; padding: 6px 13px; border: 1px solid rgb(223, 226, 229); margin: 0px; min-width: 32px;">
     <p style=""><span>单个贴吧签到最大间隔秒数</span></p>
    </td>
   </tr>
  </tbody>
 </table>
</div>
<p style="line-height: inherit"><span>示例：</span></p>
<pre><code>HOST=0.0.0.0 PORT=8000 APP_SECRET='change-me' SIGN_DELAY_MIN=0.2 SIGN_DELAY_MAX=0.8 python3 app.py</code></pre>
<p style="line-height: inherit"><span>生产环境必须固定设置 </span><code>APP_SECRET</code><span>。如果未设置，程序会自动生成 </span><code>.app_secret</code><span> 文件作为本地密钥。</span></p>
<h2 style="" id="%E6%95%B0%E6%8D%AE%E6%96%87%E4%BB%B6"><span><strong>数据文件</strong></span></h2>
<p style="line-height: inherit"><span>程序运行目录下会产生：</span></p>
<pre><code>tieba.db
tieba.db-shm
tieba.db-wal
.app_secret</code></pre>
<p style="line-height: inherit"><span>说明：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><code>tieba.db</code><span>：SQLite 主数据库</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>tieba.db-shm</code><span> / </span><code>tieba.db-wal</code><span>：SQLite WAL 模式文件</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>.app_secret</code><span>：未设置 </span><code>APP_SECRET</code><span> 时自动生成的本地加密密钥</span></p>
 </li>
</ul>
<p style="line-height: inherit"><span>注意：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><span>不要公开这些文件</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>不要提交到公开仓库</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>备份数据库时应同时备份密钥</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>如果丢失 </span><code>APP_SECRET</code><span> 或 </span><code>.app_secret</code><span>，已保存的 </span><code>BDUSS</code><span> 将无法解密</span></p>
 </li>
</ul>
<h2 style="" id="%E4%BD%BF%E7%94%A8%E6%B5%81%E7%A8%8B"><span><strong>使用流程</strong></span></h2>
<ol start="NaN">
 <li>
  <p style="line-height: inherit"><span>启动网站</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>注册第一个用户，第一个用户会自动成为管理员</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>登录后进入控制台</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>添加百度账号备注和 </span><code>BDUSS</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>系统自动同步关注贴吧</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>在贴吧确认页面勾选需要签到的贴吧</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>返回控制台后可手动签到</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>后续系统会在每日自动签到时间段内定时签到</span></p>
 </li>
</ol>
<h2 style="" id="%E8%8E%B7%E5%8F%96-bduss"><span><strong>获取 BDUSS</strong></span></h2>
<p style="line-height: inherit"><code>BDUSS</code><span> 是百度登录 Cookie 中的一项。需要用户自行从浏览器 Cookie 中获取并填写。</span></p>
<p style="line-height: inherit"><span>请注意：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><code>BDUSS</code><span> 等同于登录凭据，应妥善保管</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>不要把 </span><code>BDUSS</code><span> 发给不可信的人</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>如果担心泄露，可在百度账号中退出登录或修改密码使其失效</span></p>
 </li>
</ul>
<h2 style="" id="1panel-%2F-docker-%E9%83%A8%E7%BD%B2"><span><strong>1Panel / Docker 部署</strong></span></h2>
<p style="line-height: inherit"><span>推荐使用 1Panel 的「容器编排」功能，通过 Docker Compose 部署。这样可以固定 Python 运行环境，并把数据库持久化到服务器目录中。</span></p>
<h3 style="" id="1.-%E5%87%86%E5%A4%87%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9B%AE%E5%BD%95"><span><strong>1. 准备服务器目录</strong></span></h3>
<p style="line-height: inherit"><span>建议在服务器创建项目目录：</span></p>
<pre><code>mkdir -p /opt/tieba-sign/data
cd /opt/tieba-sign</code></pre>
<p style="line-height: inherit"><span>最终目录建议如下：</span></p>
<pre><code>/opt/tieba-sign
├── app.py
├── requirements.txt
├── Dockerfile
├── docker-compose.yml
├── .env
└── data/
 &nbsp;  ├── tieba.db
 &nbsp;  └── .app_secret</code></pre>
<p style="line-height: inherit"><span>说明：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><code>app.py</code><span>：主程序</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>requirements.txt</code><span>：Python 依赖</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>Dockerfile</code><span>：镜像构建文件</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>docker-compose.yml</code><span>：容器编排文件</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>.env</code><span>：生产环境变量</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>data/</code><span>：数据库和密钥持久化目录</span></p>
 </li>
</ul>
<h3 style="" id="2.-%E4%B8%8A%E4%BC%A0%E9%A1%B9%E7%9B%AE%E6%96%87%E4%BB%B6"><span><strong>2. 上传项目文件</strong></span></h3>
<p style="line-height: inherit"><span>将本项目中的以下文件上传到服务器：</span></p>
<pre><code>/opt/tieba-sign/app.py
/opt/tieba-sign/requirements.txt</code></pre>
<p style="line-height: inherit"><span>如果服务器还没有 Dockerfile 和 docker-compose.yml，需要继续创建下面两个文件。</span></p>
<h3 style="" id="3.-%E5%88%9B%E5%BB%BA-dockerfile"><span><strong>3. 创建 Dockerfile</strong></span></h3>
<p style="line-height: inherit"><span>在 </span><code>/opt/tieba-sign/Dockerfile</code><span> 写入：</span></p>
<pre><code>FROM python:3.12-slim
​
WORKDIR /app
​
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
​
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
​
COPY app.py /app/app.py
​
EXPOSE 8000
​
CMD ["python", "app.py"]</code></pre>
<p style="line-height: inherit"><span>注意这里使用了：</span></p>
<pre><code>COPY app.py /app/app.py</code></pre>
<p style="line-height: inherit"><span>这表示 </span><code>app.py</code><span> 会在构建镜像时复制进容器。以后更新 </span><code>app.py</code><span> 后，必须重新构建镜像，不能只重启容器。</span></p>
<h3 style="" id="4.-%E5%88%9B%E5%BB%BA-docker-compose.yml"><span><strong>4. 创建 docker-compose.yml</strong></span></h3>
<p style="line-height: inherit"><span>在 </span><code>/opt/tieba-sign/docker-compose.yml</code><span> 写入：</span></p>
<pre><code>services:
  tieba-sign:
 &nbsp;  build: .
 &nbsp;  container_name: tieba-sign
 &nbsp;  restart: unless-stopped
 &nbsp;  env_file:
 &nbsp; &nbsp;  - .env
 &nbsp;  ports:
 &nbsp; &nbsp;  - "127.0.0.1:8000:8000"
 &nbsp;  volumes:
 &nbsp; &nbsp;  - ./data/tieba.db:/app/tieba.db
 &nbsp; &nbsp;  - ./data/.app_secret:/app/.app_secret
 &nbsp;  environment:
 &nbsp; &nbsp;  - TZ=Asia/Shanghai</code></pre>
<p style="line-height: inherit"><span>端口说明：</span></p>
<pre><code>127.0.0.1:8000:8000</code></pre>
<p style="line-height: inherit"><span>表示容器的 </span><code>8000</code><span> 端口只绑定到服务器本机，不直接暴露到公网。公网访问建议交给 1Panel 网站反向代理。</span></p>
<h3 style="" id="5.-%E5%88%9B%E5%BB%BA-.env"><span><strong>5. 创建 .env</strong></span></h3>
<p style="line-height: inherit"><span>在 </span><code>/opt/tieba-sign/.env</code><span> 写入：</span></p>
<pre><code>HOST=0.0.0.0
PORT=8000
APP_SECRET=请替换为一段足够长的随机密钥
SIGN_DELAY_MIN=0.2
SIGN_DELAY_MAX=0.8
TZ=Asia/Shanghai</code></pre>
<p style="line-height: inherit"><span>生成随机密钥可以执行：</span></p>
<pre><code>openssl rand -hex 32</code></pre>
<p style="line-height: inherit"><span>然后把输出内容填到 </span><code>APP_SECRET=</code><span> 后面。</span></p>
<p style="line-height: inherit"><span>重要说明：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><code>APP_SECRET</code><span> 必须固定</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>APP_SECRET</code><span> 用于加密数据库中的 </span><code>BDUSS</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>如果后续更换 </span><code>APP_SECRET</code><span>，旧数据库里的 </span><code>BDUSS</code><span> 将无法解密</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>.env</code><span> 不要公开，不要提交到公开仓库</span></p>
 </li>
</ul>
<h3 style="" id="6.-%E5%88%9D%E5%A7%8B%E5%8C%96%E6%8C%81%E4%B9%85%E5%8C%96%E6%96%87%E4%BB%B6"><span><strong>6. 初始化持久化文件</strong></span></h3>
<p style="line-height: inherit"><span>在 </span><code>/opt/tieba-sign</code><span> 下执行：</span></p>
<pre><code>touch data/tieba.db
touch data/.app_secret</code></pre>
<p style="line-height: inherit"><span>如果你已经有旧数据库，需要把旧文件放到：</span></p>
<pre><code>/opt/tieba-sign/data/tieba.db</code></pre>
<p style="line-height: inherit"><span>如果旧环境没有设置 </span><code>APP_SECRET</code><span>，而是使用自动生成的 </span><code>.app_secret</code><span>，也要一起迁移：</span></p>
<pre><code>/opt/tieba-sign/data/.app_secret</code></pre>
<h3 style="" id="7.-%E5%9C%A8-1panel-%E4%B8%AD%E5%88%9B%E5%BB%BA%E5%AE%B9%E5%99%A8%E7%BC%96%E6%8E%92"><span><strong>7. 在 1Panel 中创建容器编排</strong></span></h3>
<p style="line-height: inherit"><span>在 1Panel 后台操作：</span></p>
<ol start="NaN">
 <li>
  <p style="line-height: inherit"><span>打开「容器」</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>进入「编排」</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>点击「创建编排」或「新建编排」</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>选择或填写 </span><code>/opt/tieba-sign/docker-compose.yml</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>启动编排</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>等待镜像构建完成</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>确认容器 </span><code>tieba-sign</code><span> 状态为运行中</span></p>
 </li>
</ol>
<p style="line-height: inherit"><span>启动成功后，容器日志中应能看到类似：</span></p>
<pre><code>Tieba sign-in web is running: http://0.0.0.0:8000</code></pre>
<h3 style="" id="8.-%E9%85%8D%E7%BD%AE-1panel-%E7%BD%91%E7%AB%99%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86"><span><strong>8. 配置 1Panel 网站反向代理</strong></span></h3>
<p style="line-height: inherit"><span>因为容器端口只绑定到服务器本机，所以需要通过 1Panel 网站反向代理访问。</span></p>
<p style="line-height: inherit"><span>在 1Panel 后台：</span></p>
<ol start="NaN">
 <li>
  <p style="line-height: inherit"><span>打开「网站」</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>创建网站</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>类型选择「反向代理」</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>填写你的域名</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>代理地址填写：</span></p>
 </li>
</ol>
<pre><code>http://127.0.0.1:8000</code></pre>
<ol start="6">
 <li>
  <p style="line-height: inherit"><span>保存配置</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>按需申请并开启 HTTPS 证书</span></p>
 </li>
</ol>
<p style="line-height: inherit"><span>最终访问地址类似：</span></p>
<pre><code>https://你的域名</code></pre>
<h3 style="" id="9.-%E9%A6%96%E6%AC%A1%E8%AE%BF%E9%97%AE%E5%92%8C%E5%88%9D%E5%A7%8B%E5%8C%96%E7%AE%A1%E7%90%86%E5%91%98"><span><strong>9. 首次访问和初始化管理员</strong></span></h3>
<p style="line-height: inherit"><span>部署完成后：</span></p>
<ol start="NaN">
 <li>
  <p style="line-height: inherit"><span>打开网站域名</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>点击注册</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>注册第一个用户</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>第一个注册用户会自动成为管理员</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>登录后进入控制台</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>管理员可通过顶部导航进入「管理员后台」</span></p>
 </li>
</ol>
<p style="line-height: inherit"><span>管理员后台会显示当前运行版本号，例如：</span></p>
<pre><code>当前版本：v1.0.1</code></pre>
<p style="line-height: inherit"><span>这个版本号可用于确认服务器是否已经运行最新脚本。</span></p>
<h3 style="" id="10.-%E6%9B%B4%E6%96%B0-app.py"><span><strong>10. 更新 app.py</strong></span></h3>
<p style="line-height: inherit"><span>由于 Dockerfile 使用 </span><code>COPY app.py /app/app.py</code><span>，更新代码后必须重新构建镜像。</span></p>
<p style="line-height: inherit"><span>推荐更新流程：</span></p>
<ol start="NaN">
 <li>
  <p style="line-height: inherit"><span>备份数据库和密钥</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>替换服务器上的 </span><code>/opt/tieba-sign/app.py</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>重新构建编排 / 镜像</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>重启容器</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>登录管理员后台确认版本号是否更新</span></p>
 </li>
</ol>
<p style="line-height: inherit"><span>命令方式：</span></p>
<pre><code>cd /opt/tieba-sign
docker compose down
docker compose build --no-cache
docker compose up -d</code></pre>
<p style="line-height: inherit"><span>如果在 1Panel 中操作，需要选择「重新构建」「重建镜像」「重新构建编排」等操作，而不是只点「重启」。</span></p>
<p style="line-height: inherit"><span>只重启容器通常不会生效，因为容器仍然会使用旧镜像里的旧 </span><code>app.py</code><span>。</span></p>
<h3 style="" id="11.-%E6%A3%80%E6%9F%A5%E5%BD%93%E5%89%8D%E5%AE%B9%E5%99%A8%E5%86%85%E8%BF%90%E8%A1%8C%E7%9A%84-app.py"><span><strong>11. 检查当前容器内运行的 app.py</strong></span></h3>
<p style="line-height: inherit"><span>如果你不确定服务器是否已经使用新脚本，可以进入容器检查：</span></p>
<pre><code>docker exec -it tieba-sign sh</code></pre>
<p style="line-height: inherit"><span>进入容器后查看 </span><code>/app/app.py</code><span>：</span></p>
<pre><code>python - &lt;&lt;'PY'
from pathlib import Path
print(Path('/app/app.py').read_text()[:1000])
PY</code></pre>
<p style="line-height: inherit"><span>如果容器里的 </span><code>/app/app.py</code><span> 不是新内容，说明镜像没有重新构建成功。</span></p>
<h3 style="" id="12.-%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E6%8E%92%E6%9F%A5"><span><strong>12. 常见问题排查</strong></span></h3>
<h4 style="" id="%E7%BD%91%E7%AB%99%E8%AE%BF%E9%97%AE%E4%B8%8D%E5%88%B0"><span><strong>网站访问不到</strong></span></h4>
<p style="line-height: inherit"><span>检查容器是否运行：</span></p>
<pre><code>docker ps</code></pre>
<p style="line-height: inherit"><span>检查容器日志：</span></p>
<pre><code>docker logs tieba-sign</code></pre>
<p style="line-height: inherit"><span>确认 1Panel 反向代理地址是：</span></p>
<pre><code>http://127.0.0.1:8000</code></pre>
<h4 style="" id="%E6%9B%BF%E6%8D%A2-app.py-%E5%90%8E%E7%BD%91%E7%AB%99%E6%B2%A1%E5%8F%98%E5%8C%96"><span><strong>替换 app.py 后网站没变化</strong></span></h4>
<p style="line-height: inherit"><span>通常原因是只重启了容器，没有重新构建镜像。</span></p>
<p style="line-height: inherit"><span>解决：</span></p>
<pre><code>cd /opt/tieba-sign
docker compose down
docker compose build --no-cache
docker compose up -d</code></pre>
<p style="line-height: inherit"><span>然后登录管理员后台查看版本号。</span></p>
<h4 style="" id="%E7%99%BB%E5%BD%95%E5%90%8E%E6%95%B0%E6%8D%AE%E4%B8%A2%E5%A4%B1"><span><strong>登录后数据丢失</strong></span></h4>
<p style="line-height: inherit"><span>检查数据库是否正确挂载：</span></p>
<pre><code>volumes:
  - ./data/tieba.db:/app/tieba.db</code></pre>
<p style="line-height: inherit"><span>如果没有挂载，数据可能保存在容器内部，容器重建后会丢失。</span></p>
<h4 style="" id="bduss-%E6%97%A0%E6%B3%95%E8%A7%A3%E5%AF%86"><span><strong>BDUSS 无法解密</strong></span></h4>
<p style="line-height: inherit"><span>通常是密钥变了。</span></p>
<p style="line-height: inherit"><span>需要确认以下文件或变量和旧环境一致：</span></p>
<pre><code>APP_SECRET
.app_secret</code></pre>
<p style="line-height: inherit"><span>如果旧环境使用 </span><code>.app_secret</code><span>，迁移数据库时必须一起迁移 </span><code>.app_secret</code><span>。</span></p>
<h4 style="" id="%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0%E6%B2%A1%E6%9C%89%E6%89%A7%E8%A1%8C"><span><strong>自动签到没有执行</strong></span></h4>
<p style="line-height: inherit"><span>检查：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><span>服务器时间和时区是否正确</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><code>.env</code><span> 中是否设置 </span><code>TZ=Asia/Shanghai</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>当前时间是否在 </span><code>06:00</code><span> 到 </span><code>23:59</code><span> 之间</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>账号状态是否为 </span><code>active</code></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>贴吧是否已经确认</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>当天是否已经成功或暂停过</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>容器日志是否有异常</span></p>
 </li>
</ul>
<h4 style="" id="%E7%AB%AF%E5%8F%A3%E5%86%B2%E7%AA%81"><span><strong>端口冲突</strong></span></h4>
<p style="line-height: inherit"><span>如果服务器本机 </span><code>8000</code><span> 已被占用，可以修改 docker-compose.yml：</span></p>
<pre><code>ports:
  - "127.0.0.1:18000:8000"</code></pre>
<p style="line-height: inherit"><span>然后 1Panel 反向代理地址也改成：</span></p>
<pre><code>http://127.0.0.1:18000</code></pre>
<h2 style="" id="%E5%A4%87%E4%BB%BD%E5%BB%BA%E8%AE%AE"><span><strong>备份建议</strong></span></h2>
<p style="line-height: inherit"><span>建议定期备份：</span></p>
<pre><code>tieba.db
.app_secret
.env</code></pre>
<p style="line-height: inherit"><span>如果使用 1Panel 部署，推荐备份：</span></p>
<pre><code>/opt/tieba-sign/data/tieba.db
/opt/tieba-sign/data/.app_secret
/opt/tieba-sign/.env</code></pre>
<p style="line-height: inherit"><span>恢复时必须保证数据库和密钥匹配，否则数据库中的 </span><code>BDUSS</code><span> 无法解密。</span></p>
<h2 style="" id="%E5%AE%89%E5%85%A8%E8%BE%B9%E7%95%8C"><span><strong>安全边界</strong></span></h2>
<p style="line-height: inherit"><span>本项目只做自动化签到，不提供也不会尝试：</span></p>
<ul>
 <li>
  <p style="line-height: inherit"><span>百度账号密码登录</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>验证码识别</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>风控绕过</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>异常登录处理</span></p>
 </li>
 <li>
  <p style="line-height: inherit"><span>批量撞库或账号测试</span></p>
 </li>
</ul>
<p style="line-height: inherit"><span>当百度返回验证码、风控、账号异常或 </span><code>BDUSS</code><span> 失效时，系统会暂停相关账号，需要用户自行处理后再恢复。</span></p>]]></description><guid isPermaLink="false">/archives/aq0F1edI</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-20260608093525812.png&amp;size=m" type="image/jpeg" length="156434"/><category>开源</category><pubDate>Mon, 8 Jun 2026 03:08:42 GMT</pubDate></item><item><title><![CDATA[三角洲OBS吸附，Ai吸附]]></title><link>https://cuirx.me/archives/8P6wG1vl</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E4%B8%89%E8%A7%92%E6%B4%B2OBS%E5%90%B8%E9%99%84%EF%BC%8CAi%E5%90%B8%E9%99%84&amp;url=/archives/8P6wG1vl" width="1" height="1" alt="" style="opacity:0;">
<p style=""><span style="color: #dc2626">本人坚决反对一切通过不正当手段获取游戏优势，影响他人游戏体验行的行为。</span></p>
<p style=""><span style="color: #dc2626">仅供学习交流，使用此工具造成一切损失后果自负。</span></p>
<p style="">下载地址：<a href="https://pan.quark.cn/s/bfc27ede63bf" target="_blank" rel="">https://pan.quark.cn/s/bfc27ede63bf</a></p>
<p style="">官方重拳出击，文件内所有参数不可信，需要根据文件提供参数降到更低。</p>
<p style="">三角洲游戏群：<a href="https://qm.qq.com/q/QF72ZUDsCQ" target="_blank" rel="">288078317</a>（obs相关问题勿扰）</p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-kTVq.png&amp;size=m" width="553px">
</figure>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/8P6wG1vl</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage1736928789500.png&amp;size=m" type="image/jpeg" length="115633"/><category>游戏</category><pubDate>Wed, 20 May 2026 04:16:49 GMT</pubDate></item><item><title><![CDATA[三角洲新v5复活，高亮、除草、除水、解决曝光]]></title><link>https://cuirx.me/archives/dbJUdpLE</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E4%B8%89%E8%A7%92%E6%B4%B2%E6%96%B0v5%E5%A4%8D%E6%B4%BB%EF%BC%8C%E9%AB%98%E4%BA%AE%E3%80%81%E9%99%A4%E8%8D%89%E3%80%81%E9%99%A4%E6%B0%B4%E3%80%81%E8%A7%A3%E5%86%B3%E6%9B%9D%E5%85%89&amp;url=/archives/dbJUdpLE" width="1" height="1" alt="" style="opacity:0;">
<p style=""><strong>下载地址</strong>：<a href="https://pan.quark.cn/s/0f1b6225bc26" target="_blank" rel="">点击下载</a></p>
<p style=""><strong>链接</strong>：<a href="https://pan.quark.cn/s/0f1b6225bc26" target="_blank" rel="">https://pan.quark.cn/s/0f1b6225bc26</a></p>
<p style="">三角洲游戏群：<a href="https://qm.qq.com/q/QF72ZUDsCQ" target="_blank" rel="">288078317</a></p>
<p style=""><strong>原作者</strong>：老一代楚汇源</p>
<p style="">目前原作者已向三角洲官方提交该Bug，修复时间未知。</p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-aymb.png&amp;size=m" width="696px">
</figure>
<p style="">本文件包含除水 草 曝光 高亮</p>
<p style="">在OverrideSceneGM=后添加参数名,值,值 就能生效所有老参数</p>
<p style="">例如OverrideSceneGM=r.EyeAdaptationQuality,0,0</p>
<p style="">可以实现A卡橡皮泥 夜坝转白天等。</p>
<p style="">虽然自动曝光被PG插件强制禁用 但是还可以通过r.EyeAdaptationQuality来实现</p>
<p style=""></p>
<p style=""><strong>打开：</strong><span style="background-color: rgb(204, 235, 255); color: rgb(0, 0, 0); font-family: &quot;Color Emoji&quot;, system-ui, &quot;PingFang SC&quot;, PingFangSC-Regular, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, &quot;Heiti SC&quot;, &quot;WenQuanYi Micro Hei&quot;, Arial, Helvetica, sans-serif, &quot;Apple Braille&quot;, &quot;Color Emoji Fix&quot;; font-size: 14px"><mark data-color="#dcfce7" style="background-color: #dcfce7; color: inherit">~\DeltaForce(2001918)\DeltaForce\Saved\Config\WindowsClient</mark></span></p>
<p style="">替换：<mark data-color="#dbeafe" style="background-color: #dbeafe; color: inherit">OpenWorldSettings_HD.ini</mark></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-kojX.png&amp;size=m" width="766px">
</figure>
<h3 style="" id="%E4%BD%BF%E7%94%A8%E6%AD%A5%E9%AA%A4">使用步骤</h3>
<p style=""><strong>1.找到安装目录</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-dGsm.png&amp;size=m" width="295px">
</figure>
<p style=""></p>
<p style=""><strong>2.打开：</strong><span style="background-color: rgb(204, 235, 255); color: rgb(0, 0, 0); font-family: &quot;Color Emoji&quot;, system-ui, &quot;PingFang SC&quot;, PingFangSC-Regular, &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, &quot;Heiti SC&quot;, &quot;WenQuanYi Micro Hei&quot;, Arial, Helvetica, sans-serif, &quot;Apple Braille&quot;, &quot;Color Emoji Fix&quot;; font-size: 14px"><mark data-color="#dcfce7" style="background-color: #dcfce7; color: inherit">~\DeltaForce(2001918)\DeltaForce\Saved\Config\WindowsClient</mark></span></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2FSnowShot_Video_2026-05-20_13-23-20.gif&amp;size=m" width="1122px">
</figure>
<p style=""><strong>3.替换文件</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-cTWP.png&amp;size=m" width="962px">
</figure>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/dbJUdpLE</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fth-nUdD.jpg&amp;size=m" type="image/jpeg" length="51709"/><category>游戏</category><pubDate>Wed, 20 May 2026 03:53:55 GMT</pubDate></item><item><title><![CDATA[window安装hermes agent]]></title><link>https://cuirx.me/archives/Vy9AM5H9</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=window%E5%AE%89%E8%A3%85hermes%20agent&amp;url=/archives/Vy9AM5H9" width="1" height="1" alt="" style="opacity:0;">
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-bSnc.png&amp;size=m" width="1145px">
</figure>
<h2 style="" id="hermes-agent%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F">hermes agent是什么？</h2>
<p style="">Hermes Agent 是 Nous Research 开发的开源自主 AI 智能体框架，具备持久记忆、自我进化和多平台消息网关能力，可部署在本地或云端，随着使用时间越久越智能。</p>
<h2 style="" id="%E5%AE%89%E8%A3%85%E5%89%8D%E7%BD%AE%E7%8E%AF%E5%A2%83">安装前置环境</h2>
<p style="">hermes agent提供了linux、macos、wsl2的安装方法，在window使用时，推荐wsl2安装</p>
<h3 style="" id="%E5%AE%89%E8%A3%85wsl2">安装wsl2</h3>
<pre><code>wsl --install</code></pre>
<p style="">安装期间可能提示重启电脑，我们重启电脑就好。重启后继续输入<code>wsl --install</code></p>
<p style="">安装完成后重新打开终端，选择ubuntu</p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-rreB.png&amp;size=m" width="1113px">
</figure>
<h2 style="" id="%E5%AE%89%E8%A3%85hermes-agent">安装hermes agent</h2>
<pre><code>curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash</code></pre>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-pXkU.png&amp;size=m" width="1113px">
</figure>
<p style="">按照指引安装就可以了。</p>
<p style="">如果没有设置引导，输入hermes setup开始设置。</p>
<pre><code>hermes setup</code></pre>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-qslr.png&amp;size=m" width="1113px">
</figure>
<h4 style="" id="%E6%8E%A5%E5%85%A5%E6%B6%88%E6%81%AF%E5%B9%B3%E5%8F%B0">接入消息平台</h4>
<pre><code>hermes gateway setup</code></pre>
<p style="">在终端输入hermes gateway setup，根据引导接入即可。</p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-bTRW.png&amp;size=m" width="1113px">
</figure>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/Vy9AM5H9</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fimage-bSnc.png&amp;size=m" type="image/jpeg" length="11128"/><category>随记</category><pubDate>Wed, 29 Apr 2026 07:23:08 GMT</pubDate></item><item><title><![CDATA[微信小程序版摇骰子]]></title><link>https://cuirx.me/archives/WHbtTW41</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%89%88%E6%91%87%E9%AA%B0%E5%AD%90&amp;url=/archives/WHbtTW41" width="1" height="1" alt="" style="opacity:0;">
<p style="">项目地址：<a href="https://github.com/diuhgg/yaotouzi">diuhgg/yaotouzi</a></p>
<p style=""></p>
<p style="">和朋友用微信小程序玩摇骰子，有很多广告，所以用ai写了个摇骰子的小程序。</p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fyaotouzi.gif&amp;size=m" width="364px">
</figure>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/WHbtTW41</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fyaotouzi.gif&amp;size=m" type="image/jpeg" length="1139794"/><category>开源</category><pubDate>Tue, 28 Apr 2026 03:17:41 GMT</pubDate></item><item><title><![CDATA[MoonTV的docker部署]]></title><link>https://cuirx.me/archives/glVw54Ok</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=MoonTV%E7%9A%84docker%E9%83%A8%E7%BD%B2&amp;url=/archives/glVw54Ok" width="1" height="1" alt="" style="opacity:0;">
<p style=""><strong>项目地址：</strong><a href="https://github.com/MoonTechLab/LunaTV"><strong>https://github.com/MoonTechLab/LunaTV</strong></a></p>
<h2 style="" id="%E4%BB%80%E4%B9%88%E6%98%AFmoontv%EF%BC%9F"><strong>什么是MoonTV？</strong></h2>
<p style="line-height: inherit">🎬 <strong>MoonTV</strong> 是一个开箱即用的、跨平台的影视聚合播放器。它基于 <strong>Next.js 14</strong> + <strong>Tailwind CSS</strong> + <strong>TypeScript</strong> 构建，支持多资源搜索、在线播放、收藏同步、播放记录、云端存储，让你可以随时随地畅享海量免费影视内容。</p>
<figure data-content-type="image" style="display: flex; flex-direction: column;">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fscreenshot1.webp&amp;size=m" width="3828px">
</figure>
<h2 style="" id="docker%E9%83%A8%E7%BD%B2">Docker部署</h2>
<h3 style="" id="kvrocks-%E5%AD%98%E5%82%A8%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89"><strong>Kvrocks 存储（推荐）</strong></h3>
<p style="">新建docker-compose.yml</p>
<pre><code class="language-yaml">services:
  moontv-core:
 &nbsp;  image: ghcr.io/moontechlab/lunatv:latest
 &nbsp;  container_name: moontv-core
 &nbsp;  restart: on-failure
 &nbsp;  ports:
 &nbsp; &nbsp;  - '3000:3000'
 &nbsp;  environment:
 &nbsp; &nbsp;  - USERNAME=admin
 &nbsp; &nbsp;  - PASSWORD=admin_password
 &nbsp; &nbsp;  - NEXT_PUBLIC_STORAGE_TYPE=kvrocks
 &nbsp; &nbsp;  - KVROCKS_URL=redis://moontv-kvrocks:6666
 &nbsp;  networks:
 &nbsp; &nbsp;  - moontv-network
 &nbsp;  depends_on:
 &nbsp; &nbsp;  - moontv-kvrocks
  moontv-kvrocks:
 &nbsp;  image: apache/kvrocks
 &nbsp;  container_name: moontv-kvrocks
 &nbsp;  restart: unless-stopped
 &nbsp;  volumes:
 &nbsp; &nbsp;  - kvrocks-data:/var/lib/kvrocks
 &nbsp;  networks:
 &nbsp; &nbsp;  - moontv-network
networks:
  moontv-network:
 &nbsp;  driver: bridge
volumes:
  kvrocks-data:</code></pre>
<p style="">修改端口时，只需要修改外部端口即可。例</p>
<pre><code class="language-yaml">ports:
 &nbsp; &nbsp;  - '3001:3000'</code></pre>
<h3 style="" id="%E5%90%AF%E5%8A%A8">启动</h3>
<p style=""></p>
<pre><code class="language-auto">docker compose up -d</code></pre>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/glVw54Ok</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fscreenshot1.webp&amp;size=m" type="image/jpeg" length="547136"/><category>随记</category><pubDate>Sun, 15 Mar 2026 11:53:59 GMT</pubDate></item><item><title><![CDATA[三角洲优化版本答案icc滤镜+m模型+修改显卡型号]]></title><link>https://cuirx.me/archives/yX0MwkmK</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E4%B8%89%E8%A7%92%E6%B4%B2%E4%BC%98%E5%8C%96%E7%89%88%E6%9C%AC%E7%AD%94%E6%A1%88icc%E6%BB%A4%E9%95%9C%2Bm%E6%A8%A1%E5%9E%8B%2B%E4%BF%AE%E6%94%B9%E6%98%BE%E5%8D%A1%E5%9E%8B%E5%8F%B7&url=/archives/yX0MwkmK" width="1" height="1" alt="" style="opacity:0;" /><p style="">2026/6/8更新</p><p style="">自从三角洲禁止修改ini文件之后，目前最好用的优化方案依旧是改显卡型号+改模型+滤镜。</p><p style=""><strong>修改显卡型号：</strong>提高帧率。</p><p style=""><strong>改模型：</strong>提高画面清晰度但会降低帧率。</p><p style=""><strong>滤镜：</strong>解决游戏场景过曝。</p><p style="">QQ群：<a href="https://qm.qq.com/q/AY5GpJposM" target="_blank" rel="">288078317</a></p><h2 style="" id="%E4%BF%AE%E6%94%B9%E6%98%BE%E5%8D%A1%E5%9E%8B%E5%8F%B7">修改显卡型号</h2><h3 style="" id="%E8%87%AA%E5%8A%A8%E4%BF%AE%E6%94%B9">自动修改</h3><p style="">链接：<a href="链接：https://pan.quark.cn/s/da88f659f209" target="_blank" rel="">https://pan.quark.cn/s/da88f659f209</a></p><p style="">1.以管理员身份运行</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-JAUn.png" width="821px"></figure><p style="">2.查看当前显卡列表</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-kmxy.png" width="960px"></figure><p style="">3.修改显卡型号，工具提供了预设显卡型号，也可以自定义。根据实际情况选择要修改的显卡。看上图我的显卡是1，所以我选1。通常是0。</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-KTaq.png" width="960px"></figure><p style="">4.重启电脑</p><h3 style="" id="%E6%89%8B%E5%8A%A8%E4%BF%AE%E6%94%B9">手动修改</h3><p style="">win+r打开运行，输入regedit后回车打开注册表编辑器</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-UtYk.png" width="397px"></figure><p style="">然后找到<code>计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum</code> 路径</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-iCCg.png" width="1374px"></figure><p style="">打开计算机管理，选择设备管理器，找到我们的显卡</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-iwbn.png"></figure><p style="">右键我们的显卡，点击属性</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-YPTG.png" width="521px"></figure><p style="">打开后选择详细信息，选择设别实例路径，复制路径值</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-oYnf.png" width="971px"></figure><p style="">将复制的路径粘贴到注册表编辑器中，注意在PCI前面加上<code>\</code>，然后回车</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-ItuS.png" width="1378px"></figure><p style="">打开<code>DeviceDesc</code> 即可修改显卡型号。<strong>修改前一定要备份！修改前一定要备份！修改前一定要备份！</strong></p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-uqsZ.png" width="1386px"></figure><p style="">例如我要修改成1050ti，那就输入<code>NVIDIA GeForce GTX 1050ti</code> ，点击确认就行，修改后记得重启电脑。如果要还原的话，就把备份的那一串数据粘贴就行。</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-apKb.png" width="1379px"></figure><h2 style="" id="%E6%94%B9%E6%A8%A1%E5%9E%8B">改模型</h2><h3 style="" id="nvidia-app">NVIDIA App</h3><p style="">修改模型有很多工具，这里介绍<code>NVIDIA App</code> </p><p style="">打开后选择三角洲，找到DLSS优设-模型预设</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-rEFE.png" width="975px"></figure><p style="">50系以下推荐K模型，50系推荐M模型</p><figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image"><img src="/upload/image-XMWh.png" width="1282px"></figure><h2 style="" id="%E6%BB%A4%E9%95%9C">滤镜</h2><p style="">滤镜目前有ICC滤镜和N卡滤镜</p><p style="">ICC滤镜主要通过加载ICC配置文件来调整显示器或游戏画面的色彩和亮度，优点是不降低帧数，缺点是设置麻烦，每个人的显示器不一样，效果可能也不一样。</p><p style="">N卡滤镜的优点是设置方便，缺点是掉帧和有时会无法使用。</p>]]></description><guid isPermaLink="false">/archives/yX0MwkmK</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fphoto-1763760523160-4b6f9375ddc5.avif&amp;size=m" type="image/jpeg" length="419108"/><category>游戏</category><pubDate>Tue, 13 Jan 2026 06:29:32 GMT</pubDate></item><item><title><![CDATA[三角洲主播改枪码]]></title><link>https://cuirx.me/archives/ckFU7I4V</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E4%B8%89%E8%A7%92%E6%B4%B2%E4%B8%BB%E6%92%AD%E6%94%B9%E6%9E%AA%E7%A0%81&amp;url=/archives/ckFU7I4V" width="1" height="1" alt="" style="opacity:0;">
<p style=""><mark>各主播改枪码及工具汇总：</mark><a href="https://sjz.cuirx.me" target="_blank" rel=""><mark>sjz.cuirx.me</mark></a><mark>（实时更新）</mark></p>
<p style=""><strong>更新时间：</strong><mark>2026年3月1日</mark></p>
<p style=""><span style="color: #dc2626"><strong><mark>Ctrl+F搜索</mark></strong></span></p>
<h3 style="" id="%E6%95%B0%E6%8D%AE%E6%9D%A5%E6%BA%90%40%E7%99%BD%E6%9F%AF">数据来源@白柯</h3>
<p style="">AKM突击步枪（26w腰射直播同款）-烽火地带-6I2E558073BD2R3NDI4S3</p>
<p style="">杠杆式步枪-烽火地带-6IEAA38073BD2R3NDI4S3</p>
<p style="">K416突击步枪-烽火地带-6HLIK4S0ETFQ1MATQEOSO</p>
<p style="">移速AS Val突击步枪-烽火地带-6IMAMVC0EPKITGBDS8KHM</p>
<p style="">M4A1突击步枪-烽火地带-6IMAN1O0EPKITGBDS8KHM</p>
<p style="">AS Val突击步枪-烽火地带-6IVHB040A2S0ISQG9F2KH</p>
<p style="">PKM通用机枪-烽火地带-6IVQFMK04LN654SNA2RQF</p>
<p style="">MK47突击步枪-烽火地带-6IVHAIG0A2S0ISQG9F2KH</p>
<p style="">Vector冲锋枪-烽火地带-6J0DBJG0362O131ASR07T</p>
<p style="">MP7冲锋枪-烽火地带-6J0P28K0EPKITGBDS8KHM</p>
<p style="">MK4冲锋枪-烽火地带-6J5577C0EPKITGBDS8KHM</p>
<p style="">SVD狙击步枪-烽火地带-6J8N7H809BLC2VINVE13D</p>
<p style="">MCX LT突击步枪-烽火地带-6JC2BIS0EPKITGBDS8KHM</p>
<p style=""></p>
<p style="line-height: inherit"></p>
<h3 style="" id="%E6%95%B0%E6%8D%AE%E6%9D%A5%E6%BA%90%40%E8%81%AA%E8%81%AA">数据来源@聪聪</h3>
<h4 style="" id="qcq171"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">QCQ171</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">QCQ171性价比版本25万（兑换价17万）-6JDFPF80EU90O684D8QL5</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">QCQ171高改稳定版30万（可加装高导，兑换价23万）-6JDFQ9C0EU90O684D8QL5</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">QCQ171高改续航版30万（兑换价23万）-6JDFQHO0EU90O684D8QL5</span></p>
<h4 style="" id="sks"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SKS</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SKS标准死寂满改50万-6JCOQ5O0BAC7RIM3B0293</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SKS速射压制流-46万6JCOQBS0BAC7RIM3B0293</span></p>
<h4 style="" id="sg552"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SG552</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SG552超性价比版8万-6JCDD3C049H3TLFDHMKHO</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SG552中改版15万-6JCDCTK049H3TLFDHMKHO</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">SG552高改版24万-6JCDENK049H3TLFDHMKHO</span></p>
<h4 style="" id="vss"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">VSS</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">VSS低改15万-6JBVT4O0B0GKDDOTE9T6Q</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">VSS中改28万-6JBVTA40B0GKDDOTE9T6Q</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">VSS顶配稳定版44万-6JBVTEG0B0GKDDOTE9T6Q</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">VSS顶配高操控版42万-6JBVTJK0B0GKDDOTE9T6Q</span></p>
<p style=""></p>
<h4 style="" id="ptr32"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">PTR32</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">PTR32性价比版15万-6JAPPI80EU90O684D8QL5</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">PTR32中改性价比版19万-6JAPT3O0B1RRH96DI8AIT</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">PTR32高改稳定版22万-6JAPQ500EU90O684D8QL5</span></p>
<h4 style="" id="mcx"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">MCX</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">MCX炎魂高性价比版27万-6JAE2UC049H3TLFDHMKHO</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">MCX炎魂高改稳定版32万-6JAE37O049H3TLFDHMKHO</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">MCX炎魂高改45发版32万-6JAE3Q8049H3TLFDHMKHO </span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">MCX炎魂顶配45发稳定版43万-6JAE3D0049H3TLFDHMKHO</span></p>
<h4 style="" id="m250"><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">M250</span></h4>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">M250双流稳定版-6J9PBMC0B0GKDDOTE9T6Q</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">M250经典公式版-6J9PBS00B0GKDDOTE9T6Q</span></p>
<p style=""><span style="background-color: rgb(255, 255, 255); color: rgb(24, 25, 28); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-size: 16px">M250轻语共二版-6J9PBVK0B0GKDDOTE9T6Q</span></p>
<h4 style="" id="ak12">AK12</h4>
<p style="line-height: inherit">AK12超性价比15万-6J8D3F8049H3TLFDHMKHO</p>
<p style="line-height: inherit">AK12高性价比22万-6J8F7D8049H3TLFDHMKHO</p>
<p style="line-height: inherit">AK12中改版26万-6J8F7MS049H3TLFDHMKHO</p>
<p style="line-height: inherit">AK12高改倍镜专用版36万-6J8F884049H3TLFDHMKHO</p>
<h4 style="" id="mk47">MK47</h4>
<p style="line-height: inherit">MK47余烬幻影主宰者版-6J7FPN00B0GKDDOTE9T6Q</p>
<p style="line-height: inherit">MK47余烬均衡消音版-6J848NO049H3TLFDHMKHO</p>
<p style="line-height: inherit">MK47余烬均衡稳定版A-6J7FO800B0GKDDOTE9T6Q</p>
<p style="line-height: inherit">MK47余烬均衡稳定版B-6J7FPCG0B0GKDDOTE9T6Q</p>
<p style="line-height: inherit">MK47余烬无后坐BUG版（娱乐改法）-6J7FPUK0B0GKDDOTE9T6Q</p>
<h4 style="" id="%E7%BB%B4%E5%85%8B%E6%89%98">维克托</h4>
<p style="line-height: inherit">维克托112高腰射高属性格调版49万-6J7QC380EU90O684D8QL5</p>
<p style="line-height: inherit">维克托116极限腰射格调版50万-6J7QC7C0EU90O684D8QL5</p>
<p style="line-height: inherit">维克托长剑开镜格调版53万-6J7QCL80EU90O684D8QL5</p>
<h4 style="" id="m4a1">M4A1</h4>
<p style="line-height: inherit">M4A1经典碳纤维性价比双托版23万-6J71M3S0EU90O684D8QL5</p>
<p style="line-height: inherit">M4A1高操控堑壕性价比双托版24万-6J71MO40EU90O684D8QL5</p>
<p style="line-height: inherit">M4A1高改倍镜暗杀版35万-6J71N6S0EU90O684D8QL5</p>
<p style="line-height: inherit">M249性价比改法23万-6J68E8O0B0GKDDOTE9T6Q</p>
<p style="line-height: inherit">M249长枪管稳定高改版35万-6J6ENRS0BAC7RIM3B0293</p>
<p style="line-height: inherit">M249短枪管操控高改版35万-6J6EO5K0BAC7RIM3B0293</p>
<p style="line-height: inherit">M249极限BUG级后坐顶配43万-6J6EOR80BAC7RIM3B0293</p>
<h4 style="" id="scar">SCAR</h4>
<p style="line-height: inherit">SCAR稳压性价比版A25万-6J6QIP0049H3TLFDHMKHO</p>
<p style="line-height: inherit">SCAR稳压性价比版B25万-6J6QJA0049H3TLFDHMKHO</p>
<p style="line-height: inherit">SCAR长管高改版32万-6J6QK8K049H3TLFDHMKHO</p>
<p style="line-height: inherit">SCAR长管顶配版38万-6J6QJT8049H3TLFDHMKHO</p>
<h4 style="" id="mini14">MINI14</h4>
<p style="line-height: inherit">MINI14性价比20万-6J6FK680BAC7RIM3B0293</p>
<p style="line-height: inherit">MINI14暗杀版25万-6J6FKCG0BAC7RIM3B0293</p>
<p style="line-height: inherit">MINI14顶配暗杀33万-6J6FKK00BAC7RIM3B0293</p>
<h4 style="" id="ash12">ASH12</h4>
<p style="line-height: inherit">ASH12常规满改A-6J66QSC0B1RRH96DI8AIT</p>
<p style="line-height: inherit">ASH12常规满改B-6J66QP00B1RRH96DI8AIT</p>
<h4 style="" id="p90">P90</h4>
<p style="line-height: inherit">P90腰射基础版24万-6J5RTKK0BAC7RIM3B0293</p>
<p style="line-height: inherit">P90腰射高级版26万-6J5RTMS0BAC7RIM3B0293</p>
<p style="line-height: inherit">P90腰射豪华版32万-6J5RTQ40BAC7RIM3B0293</p>]]></description><guid isPermaLink="false">/archives/ckFU7I4V</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2F%25E4%25B9%259D%25E5%25BC%25A0%25E4%25B8%258D%25E5%2590%258C%25E9%25A3%258E%25E6%25A0%25BC%25E7%259A%2584%25E6%2589%258B%25E6%259C%25BA%25E5%25A3%2581%25E7%25BA%25B8_1_%25E4%25BB%258A%25E6%2597%25A5%25E4%25BB%25BD%25E5%25B0%258F%25E5%258F%25AF%25E7%2588%25B1_%25E6%259D%25A5%25E8%2587%25AA%25E5%25B0%258F%25E7%25BA%25A2%25E4%25B9%25A6%25E7%25BD%2591%25E9%25A1%25B5%25E7%2589%2588.webp&amp;size=m" type="image/jpeg" length="35168"/><category>游戏</category><pubDate>Sun, 30 Nov 2025 15:16:03 GMT</pubDate></item><item><title><![CDATA[typora+lsky图床自定义上传命令]]></title><link>https://cuirx.me/archives/hgwRPIwG</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=typora%2Blsky%E5%9B%BE%E5%BA%8A%E8%87%AA%E5%AE%9A%E4%B9%89%E4%B8%8A%E4%BC%A0%E5%91%BD%E4%BB%A4&amp;url=/archives/hgwRPIwG" width="1" height="1" alt="" style="opacity:0;">
<pre><code class="language-python">#!/usr/bin/env python3
import sys
import requests
import os

# 配置信息（根据你的图床修改）
CONFIG = {
    "api_url": "https://tc.cuirx.me/api/v1/upload",
    "token": "**********************************",  # Bearer Token
    "album_id": None,  # 可选相册ID
    "strategy": "default"  # 存储策略
}

def upload_image(image_path):
    headers = {
        "Authorization": f"Bearer {CONFIG['token']}"
    }

    files = {
        'file': (os.path.basename(image_path), 
        open(image_path, 'rb').read())
    }

    data = {
        "album_id": CONFIG['album_id'],
        "strategy": CONFIG['strategy']
    }

    try:
        response = requests.post(
            CONFIG['api_url'],
            headers=headers,
            files=files,
            data=data
        )
        result = response.json()
        
        if response.status_code == 200 and result.get("status"):
            return result["data"]["links"]["url"]
        else:
            return f"Error: {result.get('message', 'Unknown error')}"
            
    except Exception as e:
        return f"Exception: {str(e)}"

if __name__ == '__main__':
    if len(sys.argv) &lt; 2:
        print("Usage: python lskypro_uploader.py &lt;image_path&gt;")
        sys.exit(1)
        
    image_path = sys.argv[1]
    result = upload_image(image_path)
    print(result)</code></pre>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/hgwRPIwG</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2FMidjourney%25E9%25A6%2596%25E9%25A1%25B5%25E6%258E%25A8%25E8%258D%2590%2520%25E8%258D%2589%25E5%258E%259F%25E4%25B8%258E%25E5%25B1%25B1%25E7%25BE%258A_1_%25E8%2590%25A4%25E5%2585%2589AIGC_%25E6%259D%25A5%25E8%2587%25AA%25E5%25B0%258F%25E7%25BA%25A2%25E4%25B9%25A6%25E7%25BD%2591%25E9%25A1%25B5%25E7%2589%2588.webp&amp;size=m" type="image/jpeg" length="114366"/><category>随记</category><pubDate>Sun, 30 Nov 2025 14:39:06 GMT</pubDate></item><item><title><![CDATA[三角洲ini帧数优化]]></title><link>https://cuirx.me/archives/CqJLEgdP</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E4%B8%89%E8%A7%92%E6%B4%B2ini%E5%B8%A7%E6%95%B0%E4%BC%98%E5%8C%96&amp;url=/archives/CqJLEgdP" width="1" height="1" alt="" style="opacity:0;">
<h1 style="" id="%E4%B8%89%E8%A7%92%E6%B4%B2ini%E5%B8%A7%E6%95%B0%E4%BC%98%E5%8C%96">三角洲ini帧数优化</h1>
<p style="">设备：3060+4K</p>
<p style="">注意，不同设备提升的帧数不同。以下是我自己的设备对比，不代表全部情况。</p>
<p style="">使用教程和文件下载：<a href="https://cuirx.de/archives/zr3EGnLj">三角洲ini优化步骤 - cuirx</a></p>
<h2 style="" id="%E5%8E%9F%E7%89%88-90%E5%B8%A7">原版 90帧</h2>
<p style="">三角洲官方ini</p>
<p style=""><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F10%2F04%2Fnel218.webp&amp;size=m" width="991px" height="Infinitypx" style="display: inline-block"></p>
<h2 style="" id="%E8%87%AA%E7%94%A8ini-100%E5%B8%A7">自用ini 100帧</h2>
<p style="">自己常用的ini文件，有提升帧数的作用。</p>
<p style="text-align: left"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F10%2F04%2Fnf7d0y.webp&amp;size=m" width="100%" height="100%" style="display: inline-block"></p>
<h2 style="" id="%E4%BC%98%E5%8C%96ini-120%E5%B8%A7">优化ini 120帧</h2>
<p style="">优化帧数的ini文件。有略微提升角色可见度的作用。</p>
<p style=""><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F10%2F04%2Fnfq082.webp&amp;size=m" width="100%" height="100%" style="display: inline-block"></p>]]></description><guid isPermaLink="false">/archives/CqJLEgdP</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fwallhaven-968w68.webp&amp;size=m" type="image/jpeg" length="474018"/><category>游戏</category><pubDate>Sat, 4 Oct 2025 06:24:14 GMT</pubDate></item><item><title><![CDATA[VitePress美化代码块]]></title><link>https://cuirx.me/archives/8jrStk0z</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=VitePress%E7%BE%8E%E5%8C%96%E4%BB%A3%E7%A0%81%E5%9D%97&amp;url=/archives/8jrStk0z" width="1" height="1" alt="" style="opacity:0;">
<p style="">演示站：<a href="https://cuirx.me" target="_blank" rel="">Cuirx's Blog</a></p>
<h3 style="" id="1.%E4%BD%BF%E7%94%A8%E6%8F%92%E4%BB%B6"><strong>1.使用插件</strong></h3>
<pre><code class="language-shellscript">pnpm add vitepress-plugin-group-icons</code></pre>
<h3 style="" id="2.%E6%96%B0%E5%BB%BAcustom.css"><strong>2.新建custom.css</strong></h3>
<pre><code class="language-css">:root {
 &nbsp;/* MacOS窗口按钮颜色 */
 &nbsp;--mac-red: #ff5f58;
 &nbsp;--mac-yellow: #ffbd2e;
 &nbsp;--mac-green: #18c550;
 &nbsp;/* 标题栏尺寸 - 略微减小标题栏高度 */
 &nbsp;--titlebar-height: 20px;
 &nbsp;--button-size: 13px;
 &nbsp;--button-spacing: 8px;
 &nbsp;/* 新增：圆点顶部间距，控制与标题栏的空隙 */
 &nbsp;--dot-top-margin: 12px;
}
​
/* 基础代码块容器 - 仅对顶级代码块生效 */
.vp-doc &gt; div[class*="language-"],
.vp-doc section &gt; div[class*="language-"] {
 &nbsp;position: relative;
 &nbsp;border-radius: 8px;
 &nbsp;overflow: hidden;
 &nbsp;margin: 1.5rem 0;
 &nbsp;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
​
/* 标题栏背景 - 高度减小 */
.vp-doc &gt; div[class*="language-"]::before,
.vp-doc section &gt; div[class*="language-"]::before {
 &nbsp;content: "";
 &nbsp;position: absolute;
 &nbsp;top: 0;
 &nbsp;left: 0;
 &nbsp;right: 0;
 &nbsp;height: var(--titlebar-height);
 &nbsp;background-color: #f7f6f3;
 &nbsp;z-index: 1;
}
​
/* MacOS窗口按钮 - 调整垂直位置减小空隙 */
.vp-doc &gt; div[class*="language-"]::after,
.vp-doc section &gt; div[class*="language-"]::after {
 &nbsp;content: "";
 &nbsp;position: absolute;
 &nbsp;top: var(--dot-top-margin); /* 使用固定顶部间距替代居中计算 */
 &nbsp;left: 14px;
 &nbsp;width: var(--button-size);
 &nbsp;height: var(--button-size);
 &nbsp;border-radius: 50%;
 &nbsp;background-color: var(--mac-red);
 &nbsp;box-shadow: 
 &nbsp; &nbsp;calc(var(--button-size) + var(--button-spacing)) 0 0 var(--mac-yellow),
 &nbsp; &nbsp;calc(2 * (var(--button-size) + var(--button-spacing))) 0 0 var(--mac-green);
 &nbsp;z-index: 2;
}
​
/* 代码内容区域调整 - 适应减小的标题栏 */
div[class*="language-"] pre {
 &nbsp;padding: 1.5rem 1rem 1rem 1rem !important;
 &nbsp;padding-top: calc(var(--titlebar-height) + 0.8rem) !important;
 &nbsp;border: none !important;
 &nbsp;border-radius: 0 !important;
}
​
/* 代码组样式 */
.vp-code-group {
 &nbsp;position: relative;
 &nbsp;border-radius: 8px;
 &nbsp;overflow: hidden;
 &nbsp;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
​
.vp-code-group .tabs {
 &nbsp;padding-top: var(--titlebar-height) !important;
}
​
/* 代码组窗口按钮 - 调整垂直位置 */
.vp-code-group::before {
 &nbsp;content: "";
 &nbsp;position: absolute;
 &nbsp;top: var(--dot-top-margin);
 &nbsp;left: 14px;
 &nbsp;width: var(--button-size);
 &nbsp;height: var(--button-size);
 &nbsp;border-radius: 50%;
 &nbsp;background-color: var(--mac-red);
 &nbsp;box-shadow: 
 &nbsp; &nbsp;calc(var(--button-size) + var(--button-spacing)) 0 0 var(--mac-yellow),
 &nbsp; &nbsp;calc(2 * (var(--button-size) + var(--button-spacing))) 0 0 var(--mac-green);
 &nbsp;z-index: 10;
}
​
/* 代码组内的代码块 - 隐藏重复的圆点 */
.vp-code-group div[class*="language-"] {
 &nbsp;box-shadow: none;
 &nbsp;margin: 0;
}
​
.vp-code-group div[class*="language-"]::before,
.vp-code-group div[class*="language-"]::after {
 &nbsp;display: none !important;
}
​
/* 适配图标插件 */
.vp-code-block-title {
 &nbsp;position: relative;
 &nbsp;border-radius: 8px;
 &nbsp;overflow: hidden;
}
​
.vp-code-block-title-bar {
 &nbsp;position: relative;
 &nbsp;padding-top: var(--titlebar-height) !important;
 &nbsp;padding-left: 60px !important;
}
​
/* 带图标的代码块按钮 - 调整垂直位置 */
.vp-code-block-title-bar::before {
 &nbsp;content: "";
 &nbsp;position: absolute;
 &nbsp;top: var(--dot-top-margin);
 &nbsp;left: 14px;
 &nbsp;width: var(--button-size);
 &nbsp;height: var(--button-size);
 &nbsp;border-radius: 50%;
 &nbsp;background-color: var(--mac-red);
 &nbsp;box-shadow: 
 &nbsp; &nbsp;calc(var(--button-size) + var(--button-spacing)) 0 0 var(--mac-yellow),
 &nbsp; &nbsp;calc(2 * (var(--button-size) + var(--button-spacing))) 0 0 var(--mac-green);
 &nbsp;z-index: 100;
}
​
​
​
/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
 &nbsp;div[class*="language-"]::before,
  .vp-code-group::before {
 &nbsp; &nbsp;background-color: #1e1e1e;
  }
}
​</code></pre>
<p style="line-height: inherit">:::</p>
<h3 style="" id="3.%E5%AF%BC%E5%85%A5%E5%88%B0%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE"><strong>3.导入到主题配置</strong></h3>
<p style="line-height: inherit"></p>
<pre><code class="language-css">import './custom.css'</code></pre>
<p style="line-height: inherit">:::</p>
<h3 style="" id="4.%E6%95%88%E6%9E%9C"><strong>4.效果</strong></h3>
<p style="line-height: inherit"></p>
<figure data-content-type="image" data-position="left" style="display: flex; flex-direction: column; align-items: start">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F30%2Fxdh8ku-2.webp&amp;size=m" alt="image-20250730201244237" width="100%" height="100%" data-position="left">
</figure>
<p style=""><span style="color: rgb(51, 51, 51); font-size: 16px">
  <br>
 </span></p>]]></description><guid isPermaLink="false">/archives/8jrStk0z</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fphoto-1763917695032-cd494f8839cc.avif&amp;size=m" type="image/jpeg" length="32019"/><category>随记</category><pubDate>Wed, 30 Jul 2025 13:21:50 GMT</pubDate></item><item><title><![CDATA[VitePress集成Twikoo评论]]></title><link>https://cuirx.me/archives/shgh6qKd</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=VitePress%E9%9B%86%E6%88%90Twikoo%E8%AF%84%E8%AE%BA&amp;url=/archives/shgh6qKd" width="1" height="1" alt="" style="opacity:0;">
<p style="">演示站：<a href="https://cuirx.me" target="_blank" rel="">Cuirx's Blog</a></p>
<p style="">前置：<a href="https://twikoo.js.org/backend.html">部署Twikoo云端</a></p>
<p style="line-height: inherit">1.安装Twikoo</p>
<pre><code class="language-shellscript">pnpm install twikoo</code></pre>
<p style="line-height: inherit">2.初始化Twikoo</p>
<pre><code class="language-javascript">&lt;template&gt;
 &nbsp;&lt;div id="twikoo"&gt;&lt;/div&gt;
&lt;/template&gt;
​
&lt;script setup lang="ts"&gt;
import { onMounted, watch } from 'vue'
import { useRoute } from 'vitepress'
​
const route = useRoute()
​
const initTwikoo = async () =&gt; {
 &nbsp;// 判断是否在浏览器环境中
 &nbsp;if (typeof window !== 'undefined') {
 &nbsp; &nbsp;try {
 &nbsp; &nbsp; &nbsp;const twikoo = await import('twikoo')
 &nbsp; &nbsp; &nbsp;console.log('Twikoo loaded successfully')
 &nbsp; &nbsp; &nbsp;await twikoo.init({
 &nbsp; &nbsp; &nbsp; &nbsp;envId: 'https://tw.xxx.com/', // 请替换为您自己的Twikoo服务地址
 &nbsp; &nbsp; &nbsp; &nbsp;el: '#twikoo'
 &nbsp; &nbsp;  })
 &nbsp; &nbsp; &nbsp;console.log('Twikoo initialized successfully')
 &nbsp;  } catch (err) {
 &nbsp; &nbsp; &nbsp;console.error('Twikoo initialization failed:', err)
 &nbsp;  }
  }
}
​
// 监听路由刷新评论
watch(route, () =&gt; {
 &nbsp;initTwikoo()
})
​
// 组件挂载时初始化
onMounted(() =&gt; {
 &nbsp;initTwikoo()
})
&lt;/script&gt;</code></pre>
<p style="line-height: inherit">3.插入layout插槽</p>
<pre><code class="language-javascript">&lt;script setup lang="ts"&gt;
import ThemeAsync from 'vitepress-theme-async'//这里是我用的主题，默认主题为import DefaultTheme from 'vitepress/theme'
import Twikoo from './Twikoo.vue' //评论组件
​
const { Layout } = ThemeAsync
&lt;/script&gt;
​
&lt;template&gt;
 &nbsp;&lt;Layout&gt;
 &nbsp; &nbsp;&lt;template #post-after&gt; //同上，默认为#doc-after
 &nbsp; &nbsp; &nbsp;&lt;div class="post-after"&gt;
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;Twikoo&gt;&lt;/Twikoo&gt;
 &nbsp; &nbsp; &nbsp;&lt;/div&gt;
 &nbsp; &nbsp;&lt;/template&gt;
 &nbsp; &nbsp;&lt;template #links-after&gt;
 &nbsp; &nbsp; &nbsp;&lt;div class="post-after"&gt;
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;Twikoo&gt;&lt;/Twikoo&gt;
 &nbsp; &nbsp; &nbsp;&lt;/div&gt;
 &nbsp; &nbsp;&lt;/template&gt;
 &nbsp; &nbsp;
 &nbsp;&lt;/Layout&gt;
&lt;/template&gt;
​</code></pre>
<p style="line-height: inherit">4.导入布局</p>
<pre><code class="language-javascript">import ThemeAsync from 'vitepress-theme-async';
import Layout from './Layout.vue'
export default {
 &nbsp; &nbsp;...ThemeAsync,
 &nbsp; &nbsp;Layout,
}</code></pre>
<p style="">
 <br>
</p>]]></description><guid isPermaLink="false">/archives/shgh6qKd</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fpremium_photo-1764183313984-617caa6d5937%2520%281%29.avif&amp;size=m" type="image/jpeg" length="210476"/><category>随记</category><pubDate>Wed, 30 Jul 2025 13:21:24 GMT</pubDate></item><item><title><![CDATA[三角洲ini优化步骤]]></title><link>https://cuirx.me/archives/zr3EGnLj</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E4%B8%89%E8%A7%92%E6%B4%B2ini%E4%BC%98%E5%8C%96%E6%AD%A5%E9%AA%A4&amp;url=/archives/zr3EGnLj" width="1" height="1" alt="" style="opacity:0;">
<p style=""></p>
<p style=""></p>
<h1 style="" id="%E6%96%B0v5%E5%A4%8D%E6%B4%BB%E7%89%88%EF%BC%9A%E4%B8%89%E8%A7%92%E6%B4%B2%E6%96%B0v5%E5%A4%8D%E6%B4%BB%EF%BC%8C%E9%AB%98%E4%BA%AE%E3%80%81%E9%99%A4%E8%8D%89%E3%80%81%E9%99%A4%E6%B0%B4%E3%80%81%E8%A7%A3%E5%86%B3%E6%9B%9D%E5%85%89---cuirx's-blog"><strong>新v5复活版：</strong><a href="https://cuirx.me/archives/dbJUdpLE">三角洲新v5复活，高亮、除草、除水、解决曝光 - Cuirx's Blog</a></h1>
<h1 style="" id="%E6%96%B0v5%E5%A4%8D%E6%B4%BB%E7%89%88%EF%BC%9A%E4%B8%89%E8%A7%92%E6%B4%B2%E6%96%B0v5%E5%A4%8D%E6%B4%BB%EF%BC%8C%E9%AB%98%E4%BA%AE%E3%80%81%E9%99%A4%E8%8D%89%E3%80%81%E9%99%A4%E6%B0%B4%E3%80%81%E8%A7%A3%E5%86%B3%E6%9B%9D%E5%85%89---cuirx's-blog-1"><strong>新v5复活版：</strong><a href="https://cuirx.me/archives/dbJUdpLE">三角洲新v5复活，高亮、除草、除水、解决曝光 - Cuirx's Blog</a></h1>
<h1 style="" id="%E6%96%B0v5%E5%A4%8D%E6%B4%BB%E7%89%88%EF%BC%9A%E4%B8%89%E8%A7%92%E6%B4%B2%E6%96%B0v5%E5%A4%8D%E6%B4%BB%EF%BC%8C%E9%AB%98%E4%BA%AE%E3%80%81%E9%99%A4%E8%8D%89%E3%80%81%E9%99%A4%E6%B0%B4%E3%80%81%E8%A7%A3%E5%86%B3%E6%9B%9D%E5%85%89---cuirx's-blog-2"><strong>新v5复活版：</strong><a href="https://cuirx.me/archives/dbJUdpLE">三角洲新v5复活，高亮、除草、除水、解决曝光 - Cuirx's Blog</a></h1>
<p style=""></p>
<p style=""></p>
<h1 style="" id="%E4%B8%89%E8%A7%92%E6%B4%B2ini%E4%BC%98%E5%8C%96%E6%AD%A5%E9%AA%A4">三角洲ini优化步骤</h1>
<p style="line-height: inherit"></p>
<p style="line-height: inherit"><strong>下载地址：</strong><a href="https://pan.quark.cn/s/8a13314d0a80" target="_blank" rel=""><strong>三角洲特调ini</strong></a></p>
<p style=""><strong>一键过检测工具</strong>：<a href="https://pan.quark.cn/s/5bed2de5bd08" target="_blank" rel=""><strong>点击下载</strong></a></p>
<p style="line-height: inherit"></p>
<p style="line-height: inherit">Q：封号吗？</p>
<p style="line-height: inherit">A：怕别用，用别怕</p>
<p style="line-height: inherit">Q：什么效果？</p>
<p style="line-height: inherit">A：解决室外曝光，提升敌对角色亮度（更容易看见敌人），提升帧数</p>
<p style="line-height: inherit">反馈/交流QQ群：<a href="https://qm.qq.com/q/IvCp4U0l6W" target="_blank" rel="">288078317</a></p>
<p style="line-height: inherit"><strong>以下效果为：v5_人物高亮。效果各有不同，可自行测试。</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F09%2F22%2Fh4fpvx.webp&amp;size=m" width="100%" height="100%">
</figure>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F09%2F22%2Fh53poc.webp&amp;size=m" width="50%" height="auto">
</figure>
<p style="line-height: inherit"><strong>以下为v5_人物加加加亮</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F10%2F02%2Fzd7ao0.webp&amp;size=m" width="100%" height="100%">
</figure>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F10%2F02%2Fzd8yr4.webp&amp;size=m" width="100%" height="100%">
</figure>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F10%2F02%2Fze6b94.webp&amp;size=m" width="100%" height="100%">
</figure>
<p style="line-height: inherit"><strong>以下为：v5_人物加亮</strong></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F09%2F30%2Fzoxk67.webp&amp;size=m" width="100%" height="100%">
</figure>
<p style="line-height: inherit">ps：</p>
<p style="line-height: inherit"><strong>目前没听说直接封号，都是先警告。警告了删掉就行了。</strong></p>
<p style="line-height: inherit"></p>
<p style="line-height: inherit">v5解决室外曝光，提升敌对角色亮度（更容易看见敌人），提升帧数。</p>
<h3 style="" id="1.%E4%B8%8B%E8%BD%BDini%E6%96%87%E4%BB%B6"><strong>1.下载ini文件</strong></h3>
<p style="line-height: inherit">下载地址：<a href="https://pan.quark.cn/s/8a13314d0a80" target="_blank" rel="">三角洲特调ini</a></p>
<p style="line-height: inherit"></p>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F29%2Fk2f20f-2.webp&amp;size=m" alt="image-20250729121337502" width="100%" height="100%">
</figure>
<h3 style="" id="2.%E6%89%93%E5%BC%80ini%E6%96%87%E4%BB%B6%E5%A4%B9"><strong>2.打开ini文件夹</strong></h3>
<h4 style="" id="2.1%E5%A6%82%E6%9E%9C%E4%BD%A0%E6%98%AFwegame"><strong>2.1如果你是WeGame</strong></h4>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F29%2Fotbu93-2.webp&amp;size=m" alt="image-20250729150042270" width="100%" height="100%">
</figure>
<h4 style="" id="2.2%E5%A6%82%E6%9E%9C%E4%BD%A0%E6%98%AF%E5%AE%A2%E6%88%B7%E7%AB%AF"><strong>2.2如果你是客户端</strong></h4>
<p style="line-height: inherit">右上角打开下载地址，然后打开：</p>
<p style="line-height: inherit"><strong>\DeltaForce(2001918)\DeltaForce\Saved\Config\WindowsClient</strong></p>
<p style="line-height: inherit"></p>
<p style="line-height: inherit"></p>
<h4 style="" id="2.3%E6%89%93%E5%BC%80%E5%90%8E%E6%98%AF%E8%BF%99%E6%A0%B7%E7%9A%84"><strong>2.3打开后是这样的</strong></h4>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F29%2Fkibtlr-2.webp&amp;size=m" alt="image-20250729124009798" width="100%" height="100%">
</figure>
<p style="line-height: inherit"></p>
<h4 style="" id="2.4%E8%A7%A3%E5%8E%8B%E4%B8%8B%E8%BD%BD%E7%9A%84%E6%96%87%E4%BB%B6"><strong>2.4解压下载的文件</strong></h4>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F29%2Flklpwc-2.gif&amp;size=m" alt="2.2" width="100%" height="100%">
</figure>
<h4 style="" id="2.5%E6%9B%BF%E6%8D%A2ini%E6%96%87%E4%BB%B6"><strong>2.5替换ini文件</strong></h4>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F29%2Fklyyms-2.gif&amp;size=m" alt="2.1" width="100%" height="100%">
</figure>
<h3 style="" id="3.%E6%8E%A8%E8%8D%90%E9%87%8D%E5%90%AF%E7%9D%80%E7%83%AD%E5%99%A8%EF%BC%8C%E9%81%BF%E5%85%8D%E5%8D%A1%E9%A1%BFbug"><strong>3.推荐重启着热器，避免卡顿BUG</strong></h3>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F08%2F08%2Fsq8ktm.webp&amp;size=m" alt="image-20250729123743504" width="100%" height="100%">
</figure>
<h3 style="" id="4.%E6%95%88%E6%9E%9C%E5%B1%95%E7%A4%BA%EF%BC%9A"><strong>4.效果展示：</strong></h3>
<figure style="align-items: start; display: flex; flex-direction: column" data-content-type="image">
 <img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F09%2F22%2Fh4fpvx.webp&amp;size=m" width="100%" height="100%">
</figure>
<h3 style="" id="5.%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9%EF%BC%9A%E6%9B%BF%E6%8D%A2ini%E6%96%87%E4%BB%B6%E5%90%8E%E6%B8%B8%E6%88%8F%E7%94%BB%E9%9D%A2%E4%BC%9A%E5%8F%98%E7%81%B0"><strong>5.注意事项：替换ini文件后游戏画面会变灰</strong></h3>
<p style="line-height: inherit">解决方案1：使用显卡滤镜</p>
<p style="line-height: inherit">解决方案2：使用游戏加加滤镜</p>]]></description><guid isPermaLink="false">/archives/zr3EGnLj</guid><dc:creator>cuirx</dc:creator><enclosure url="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fphoto-1764111812995-b73ff58fc7d7.avif&amp;size=m" type="image/jpeg" length="298869"/><category>游戏</category><pubDate>Wed, 30 Jul 2025 01:33:52 GMT</pubDate></item><item><title><![CDATA[语音开黑软件推荐]]></title><link>https://cuirx.me/archives/DaKAJSy0</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E8%AF%AD%E9%9F%B3%E5%BC%80%E9%BB%91%E8%BD%AF%E4%BB%B6%E6%8E%A8%E8%8D%90&amp;url=/archives/DaKAJSy0" width="1" height="1" alt="" style="opacity:0;">
<p style="">首先我对广告的容忍度极低，所以有没有广告是我推荐先后的重要指标。</p>
<h3 style="" id="1.teamspeak"><strong>1.TeamSpeak</strong></h3>
<p style="line-height: inherit">最推荐的语音开黑软件。（teamspeak需要自建服务器，服务端是通用的。）</p>
<h4 style="" id="1.1-teamspeak3"><strong>1.1 teamspeak3</strong></h4>
<p style="line-height: inherit">优点：内存占用极小（大概67M），音质好。<strong>不需要注册</strong>，打开即用。极简ui。</p>
<p style="line-height: inherit">缺点：需要另安装汉化。UI不像2025年的应该用的软件。</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F25%2Fez25ej-2.webp&amp;size=m" alt="image-20250725090540531" width="100%" height="100%" style="display: inline-block"></p>
<h4 style="" id="1.2-teamspeak6"><strong>1.2 teamspeak6</strong></h4>
<p style="line-height: inherit">TeamSpeak的新客户端</p>
<p style="line-height: inherit">优点：相对3来说，UI好看点，自带中文，聊天支持图片和文件。</p>
<p style="line-height: inherit">缺点：强制登陆TeamSpeak账号，用于保存连接服务器信息。内存占用大，340M（Oopz大概170M，teamspeak3大概67M）</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F25%2Fex9wy2-2.webp&amp;size=m" alt="image-20250725090240249" width="100%" height="100%" style="display: inline-block"></p>
<h3 style="" id="2.oopz"><strong>2.Oopz</strong></h3>
<p style="line-height: inherit">也是<strong>目前在用</strong>的语音开黑软件 优点：占用相对小（大概170M），ui简洁。核心功能免费，会员可以当加速器使用，不过体验一般，加速游戏时不会同时加速平台？</p>
<p style="line-height: inherit">缺点：貌似在走kook的老路，承诺的无广告也没有做到，一点点的加广告，试探用户。</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F09%2F17%2Fhgtcmk.webp&amp;size=m" width="991px" height="600px" style="display: inline-block"></p>
<p style="line-height: inherit"></p>
<h3 style="" id="3.dodo"><strong>3.dodo</strong></h3>
<p style="line-height: inherit">优点：ui简洁，功能齐全，有小工具，可以内置攻略文档等（这一点比oopz好用） 缺点：倒闭了（图片是网上截图的）</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F25%2Fdypb1d-2.webp&amp;size=m" alt="image-20250725084433195" width="100%" height="100%" style="display: inline-block"></p>
<h3 style="" id="4.kook"><strong>4.kook</strong></h3>
<p style="line-height: inherit">优点：对我来说这软件没什么优点。 缺点：奇怪交互逻辑，巨多的广告。甚至做出过降噪收费的离谱操作。虚空底噪。</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F09%2F17%2Fhgt7go.webp&amp;size=m" width="100%" height="100%" style="display: inline-block"></p>
<h3 style="" id="5.yy"><strong>5.yy</strong></h3>
<p style="line-height: inherit">缺点：广告模拟器</p>
<p style="line-height: inherit"></p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F25%2Fe0lmfo-2.webp&amp;size=m" alt="image-20250725084751622" width="100%" height="100%" style="display: inline-block"></p>
<p style="line-height: inherit"></p>
<p style="">
 <br>
</p>]]></description><guid isPermaLink="false">/archives/DaKAJSy0</guid><dc:creator>cuirx</dc:creator><category>软件推荐</category><pubDate>Fri, 25 Jul 2025 01:24:22 GMT</pubDate></item><item><title><![CDATA[fiddler抓包雷电模拟器9]]></title><link>https://cuirx.me/archives/Kav08g2X</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=fiddler%E6%8A%93%E5%8C%85%E9%9B%B7%E7%94%B5%E6%A8%A1%E6%8B%9F%E5%99%A89&amp;url=/archives/Kav08g2X" width="1" height="1" alt="" style="opacity:0;">
<h3 style="" id="1.%E6%89%93%E5%BC%80%E8%BF%9C%E7%A8%8B%E8%BF%9E%E6%8E%A5fiddler%E7%9A%84%E9%80%89%E9%A1%B9"><strong>1.打开远程连接fiddler的选项</strong></h3>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F22%2Fc4ofmi-2.webp&amp;size=m" alt="image-20250722073344936" width="50%" height="auto" style="display: inline-block"></p>
<h3 style="" id="2.%E6%89%93%E5%BC%80%E9%9B%B7%E7%94%B5%E6%A8%A1%E6%8B%9F%E5%99%A8%E7%9A%84root%E6%9D%83%E9%99%90"><strong>2.打开雷电模拟器的root权限</strong></h3>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F22%2Fc5tez0-2.webp&amp;size=m" alt="image-20250722073535703" width="50%" height="auto" style="display: inline-block"></p>
<h3 style="" id="3.%E9%80%89%E6%8B%A9%E5%8F%AF%E5%86%99%E5%85%A5"><strong>3.选择可写入</strong></h3>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F22%2Fc5cqhi-2.webp&amp;size=m" alt="image-20250722073458301" width="50%" height="auto" style="display: inline-block"></p>
<h3 style="" id="4.%E4%BF%AE%E6%94%B9%E6%A8%A1%E6%8B%9F%E5%99%A8%E7%BD%91%E7%BB%9C"><strong>4.修改模拟器网络</strong></h3>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F22%2Fc6fxu8-2.webp&amp;size=m" alt="image-20250722073641197" width="25%" height="auto" style="display: inline-block"></p>
<h3 style="" id="5.%E8%AE%BF%E9%97%AEip%3A8866(%E4%B8%8A%E9%9D%A2fiddler%E8%AE%BE%E7%BD%AE%E7%9A%84%E7%AB%AF%E5%8F%A3)%EF%BC%8C%E5%AE%89%E8%A3%85%E8%AF%81%E4%B9%A6"><strong>5.访问ip:8866(上面fiddler设置的端口)，安装证书</strong></h3>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F22%2Fc7iwu6-2.webp&amp;size=m" alt="image-20250722073823024" width="25%" height="auto" style="display: inline-block"></p>
<h3 style="" id="6.cmd"><strong>6.cmd</strong></h3>
<pre><code class="language-shellscript"># 在windows窗口运行以下命令

adb root
​
adb remount
 
adb shell
 
# 查看用户证书位置
ls /data/misc/user/0/cacerts-added/
​

# 1fc2fgb.0 证书名字
 
# 拷贝证书到目标文件夹
mv /data/misc/user/0/cacerts-added/证书名字 /system/etc/security/cacerts/</code></pre>
<p style=""></p>]]></description><guid isPermaLink="false">/archives/Kav08g2X</guid><dc:creator>cuirx</dc:creator><category>随记</category><pubDate>Mon, 21 Jul 2025 23:46:01 GMT</pubDate></item><item><title><![CDATA[Typora+简单图床的自定义上传命令]]></title><link>https://cuirx.me/archives/b5xZBCe5</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=Typora%2B%E7%AE%80%E5%8D%95%E5%9B%BE%E5%BA%8A%E7%9A%84%E8%87%AA%E5%AE%9A%E4%B9%89%E4%B8%8A%E4%BC%A0%E5%91%BD%E4%BB%A4&amp;url=/archives/b5xZBCe5" width="1" height="1" alt="" style="opacity:0;">
<p style="">之前用的图床挂了，自己搭了个简单图床来用，以下是typora+简单图床easyimage2.0的自定义上传命令：</p>
<pre><code class="language-python">import sys
import os
import requests
import time
import mimetypes
​
# ===== 修复Windows控制台乱码问题 =====
if sys.platform == 'win32':
 &nbsp; &nbsp;# 强制设置控制台编码为UTF-8
 &nbsp; &nbsp;os.system('chcp 65001 &gt; nul')
 &nbsp; &nbsp;if hasattr(sys.stdout, 'reconfigure'):
 &nbsp; &nbsp; &nbsp; &nbsp;sys.stdout.reconfigure(encoding='utf-8') &nbsp;# Python 3.7+
 &nbsp; &nbsp;elif sys.version_info &lt; (3, 7):
 &nbsp; &nbsp; &nbsp; &nbsp;import io
 &nbsp; &nbsp; &nbsp; &nbsp;sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
 &nbsp; &nbsp;os.environ['PYTHONIOENCODING'] = 'utf-8'
​
# 配置参数
token = "your_token_value_here" &nbsp; &nbsp; &nbsp; &nbsp; # 替换为你的实际token
api_url = "http://127.0.0.1/api/index.php" &nbsp;# 图床API地址
​
# 存储成功上传的URL列表
success_urls = []
​
# 检查命令行参数
if len(sys.argv) &lt; 2:
 &nbsp; &nbsp;print("错误：请提供至少一个图片文件路径作为参数")
 &nbsp; &nbsp;print("使用示例：")
 &nbsp; &nbsp;print("  python easy.py \"C:\\path\\to\\image1.png\" \"C:\\path\\to\\image2.jpg\"")
 &nbsp; &nbsp;sys.exit(1)
​
# 从命令行参数获取图片路径
image_paths = []
for arg in sys.argv[1:]:
 &nbsp; &nbsp;# 处理可能被引号包裹的路径
 &nbsp; &nbsp;cleaned_arg = arg.strip('"')
 &nbsp; &nbsp;if os.path.exists(cleaned_arg):
 &nbsp; &nbsp; &nbsp; &nbsp;image_paths.append(cleaned_arg)
 &nbsp; &nbsp;else:
 &nbsp; &nbsp; &nbsp; &nbsp;print(f"警告：忽略无效路径参数 '{arg}'")
​
if not image_paths:
 &nbsp; &nbsp;print("错误：未找到有效的图片路径")
 &nbsp; &nbsp;sys.exit(1)
​
print(f"准备上传 {len(image_paths)} 张图片...")
​
# 遍历所有图片路径
for i, image_path in enumerate(image_paths):
 &nbsp; &nbsp;# 验证图片文件是否存在
 &nbsp; &nbsp;if not os.path.isfile(image_path):
 &nbsp; &nbsp; &nbsp; &nbsp;print(f"错误：图片文件不存在 '{image_path}'")
 &nbsp; &nbsp; &nbsp; &nbsp;continue
 &nbsp; &nbsp;
 &nbsp; &nbsp;try:
 &nbsp; &nbsp; &nbsp; &nbsp;# 获取文件名（仅用于显示）
 &nbsp; &nbsp; &nbsp; &nbsp;filename = os.path.basename(image_path)
 &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;# 获取文件MIME类型
 &nbsp; &nbsp; &nbsp; &nbsp;mime_type, _ = mimetypes.guess_type(image_path)
 &nbsp; &nbsp; &nbsp; &nbsp;if not mime_type:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mime_type = 'application/octet-stream'
 &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;# 以二进制模式打开图片文件
 &nbsp; &nbsp; &nbsp; &nbsp;with open(image_path, 'rb') as image_file:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# 构建multipart/form-data格式数据
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;files = {'image': (filename, image_file, mime_type)}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;data = {'token': token}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# 发送POST请求
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"正在上传 ({i+1}/{len(image_paths)}): {filename}...")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;start_time = time.time()
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;try:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;response = requests.post(api_url, files=files, data=data, timeout=30)
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;except requests.exceptions.Timeout:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"✗ 上传超时: {filename}")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;continue
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;except requests.exceptions.RequestException as e:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"✗ 网络请求异常: {filename} - {str(e)}")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;continue
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# 计算上传耗时
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;upload_time = time.time() - start_time
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;file_size = os.path.getsize(image_path)
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;speed = file_size / (1024 * upload_time) if upload_time &gt; 0 else 0
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# 处理响应结果
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if response.status_code == 200:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# 尝试解析JSON响应
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;try:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;result = response.json()
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if result.get('code') == 200: &nbsp;# 根据图床返回结构判断
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;image_url = result.get('url', '')
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if image_url:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;success_urls.append(image_url)
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# print(f"上传成功: {filename} (耗时: {upload_time:.2f}s, 速度: {speed:.2f}KB/s)")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"上传成功但未获取到URL: {filename}")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;error_msg = result.get('msg', '未知错误')
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"✗ 上传失败: {filename} - {error_msg}")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;except ValueError: &nbsp;# 非JSON响应处理
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"非JSON格式响应: {filename}")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print("原始响应:", response.text[:200]) &nbsp;# 只显示前200字符
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print(f"请求失败: {filename} - 状态码: {response.status_code}")
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print("错误详情:", response.text[:200]) &nbsp;# 只显示前200字符
​
 &nbsp; &nbsp;except IOError as e:
 &nbsp; &nbsp; &nbsp; &nbsp;print(f"文件读取错误: {filename} - {str(e)}")
 &nbsp; &nbsp;except Exception as e:
 &nbsp; &nbsp; &nbsp; &nbsp;print(f"处理图片时出错: {filename} - {str(e)}")
​
# 所有图片处理完成后，输出成功上传的URL
if success_urls:
 &nbsp; &nbsp;print("\nUpload Success:")
 &nbsp; &nbsp;for url in success_urls:
 &nbsp; &nbsp; &nbsp; &nbsp;print(url)
else:
 &nbsp; &nbsp;print("\n没有图片上传成功")</code></pre>
<p style="">
 <br>
</p>]]></description><guid isPermaLink="false">/archives/b5xZBCe5</guid><dc:creator>cuirx</dc:creator><category>随记</category><pubDate>Mon, 21 Jul 2025 01:26:04 GMT</pubDate></item><item><title><![CDATA[F8只有抬起，没有按下。]]></title><link>https://cuirx.me/archives/8wx58KBG</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=F8%E5%8F%AA%E6%9C%89%E6%8A%AC%E8%B5%B7%EF%BC%8C%E6%B2%A1%E6%9C%89%E6%8C%89%E4%B8%8B%E3%80%82&amp;url=/archives/8wx58KBG" width="1" height="1" alt="" style="opacity:0;">
<h2 style="" id="%E9%97%AE%E9%A2%98%E6%8F%8F%E8%BF%B0%EF%BC%9A"><strong>问题描述：</strong></h2>
<p style="line-height: inherit">今天闲着没事给键盘清洗一遍，安装键帽的时候，我会在键盘测试网站对照着安装，然后就发现了一个问题：F8只有抬起，没有按下。如图。</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F21%2Ffcoae1-2.webp&amp;size=m" width="25%" height="auto" style="display: inline-block"></p>
<h2 style="" id="%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%EF%BC%9A"><strong>解决方案：</strong></h2>
<p style="line-height: inherit">退出有道翻译</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F21%2Ffcq7v7-2.webp&amp;size=m" width="25%" height="auto" style="display: inline-block"></p>
<p style=""><strong>总结：</strong>很奇葩，还以为是键盘出问题了
 <br></p>]]></description><guid isPermaLink="false">/archives/8wx58KBG</guid><dc:creator>cuirx</dc:creator><category>随记</category><pubDate>Thu, 17 Jul 2025 01:16:39 GMT</pubDate></item><item><title><![CDATA[落枕原因及不同症状的松解]]></title><link>https://cuirx.me/archives/N3lIbsBG</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=%E8%90%BD%E6%9E%95%E5%8E%9F%E5%9B%A0%E5%8F%8A%E4%B8%8D%E5%90%8C%E7%97%87%E7%8A%B6%E7%9A%84%E6%9D%BE%E8%A7%A3&amp;url=/archives/N3lIbsBG" width="1" height="1" alt="" style="opacity:0;">
<h2 style="" id="%E4%B8%80%E3%80%81%E8%90%BD%E6%9E%95%E6%98%AF%E6%80%8E%E4%B9%88%E5%8F%91%E7%94%9F%E7%9A%84"><strong>一、落枕是怎么发生的</strong></h2>
<p style="line-height: inherit"><strong>1.睡姿不正确</strong></p>
<p style="line-height: inherit"><strong>2.枕头不合适</strong></p>
<p style="line-height: inherit"><strong>3.颈部受凉</strong></p>
<h2 style="" id="%E4%BA%8C%E3%80%81%E8%90%BD%E6%9E%95%E7%9A%84%E7%9C%9F%E6%AD%A3%E5%8E%9F%E5%9B%A0"><strong>二、落枕的真正原因</strong></h2>
<p style="line-height: inherit">然而以上这些因素只是落枕的诱因，要了解落枕的真正原因，就要从我们的肌肉说起。</p>
<p style="line-height: inherit">低头抬头转头这些动作都是由我们的颈部肌肉来完成的，长期保持同一个姿势，如伏案工作、长时间低头使用手机等，使颈部肌肉处于过度使用的状态，这时加上以上因素，就很容易造成落枕，颈部长期劳损的人，还有可能反复出现落枕的情况。</p>
<h2 style="" id="%E4%B8%89%E3%80%81%E8%90%BD%E6%9E%95%E7%9A%84%E4%B8%8D%E5%90%8C%E7%97%87%E7%8A%B6%E5%8F%8A%E6%9D%BE%E8%A7%A3%E7%82%B9"><strong>三、落枕的不同症状及松解点</strong></h2>
<h3 style="" id="%E8%83%B8%E9%94%81%E4%B9%B3%E7%AA%81%E8%82%8C"><strong>胸锁乳突肌</strong></h3>
<p style="line-height: inherit"><strong>起点：</strong>胸骨柄前面、锁骨内1/3上缘</p>
<p style="line-height: inherit"><strong>止点：</strong>颞骨乳突外面，上项线外1/3</p>
<p style="line-height: inherit"><strong>主要作用：</strong>一侧收缩使头向同侧倾斜，脸转向对侧；两侧同时收缩可使头后仰。</p>
<p style="line-height: inherit"><strong>症状：</strong>同侧和对侧转动都会痛</p>
<p style="line-height: inherit"><strong>松解点：</strong>耳后高骨~胸锁关节</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F21%2Ffem12o-2.webp&amp;size=m" width="100%" height="100%" style="display: inline-block"></p>
<p style="line-height: inherit"></p>
<h3 style="" id="%E8%82%A9%E8%83%9B%E6%8F%90%E8%82%8C"><strong>肩胛提肌</strong></h3>
<p style="line-height: inherit"><strong>起点：</strong>上位颈椎横突</p>
<p style="line-height: inherit"><strong>止点：</strong>肩胛骨上角和内侧缘的上部</p>
<p style="line-height: inherit"><strong>主要作用：</strong>上提肩胛骨</p>
<p style="line-height: inherit"><strong>症状：</strong>同侧转动同侧痛</p>
<p style="line-height: inherit"><strong>松解点：</strong>发际线~肩井穴</p>
<p style="line-height: inherit"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F21%2Ffewf7q-2.webp&amp;size=m" width="100%" height="100%" style="display: inline-block"></p>
<h3 style="" id="%E6%96%9C%E6%96%B9%E8%82%8C"><strong>斜方肌</strong></h3>
<p style="line-height: inherit"><strong>起点：</strong>上项线、枕外隆凸、项韧带、全部胸椎棘突</p>
<p style="line-height: inherit"><strong>止点：</strong>锁骨外1/3、肩峰、肩胛冈</p>
<p style="line-height: inherit"><strong>主要作用：</strong>拉肩胛骨向中线靠拢，上部纤维提肩胛骨，下部纤维降肩胛骨</p>
<p style="line-height: inherit"><strong>症状：</strong>同侧转动对侧痛，抬头低头都会痛</p>
<p style="line-height: inherit"><strong>松解点：</strong>颈后侧~颈肩结合处~胸椎旁1寸处</p>
<p style="line-height: inherit"><a href="https://tc.cuirx.de/i/2025/07/21/feybbu-2.webp"><img src="https://cuirx.me/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Ftc.cuirx.de%2Fi%2F2025%2F07%2F21%2Ffeybbu-2.webp&amp;size=m" width="991px" height="Infinitypx" style="display: inline-block"></a></p>
<h2 style="" id="%E5%9B%9B%E3%80%81%E8%82%8C%E8%82%89%E6%8D%9F%E4%BC%A4%E6%B5%8B%E8%AF%95"><strong>四、肌肉损伤测试</strong></h2>
<p style="line-height: inherit">1.向后收缩肩胛时：活动头部疼痛降低或活动度增加，说明胸小肌、中下斜方肌、菱形肌受损，需要松解。</p>
<p style="line-height: inherit">2.抱胸被动顶在桌子上：活动头部疼痛降低或活动度增加，说明斜方肌、肩胛提肌受损，需要松解。</p>
<p style="line-height: inherit">3.握拳双手向上举高：活动头部疼痛降低或活动度增加，说明胸锁乳突肌、斜角肌受损，需要松解。</p>]]></description><guid isPermaLink="false">/archives/N3lIbsBG</guid><dc:creator>cuirx</dc:creator><category>随记</category><pubDate>Thu, 29 May 2025 00:51:15 GMT</pubDate></item><item><title><![CDATA[Typora+Lsky Pro]]></title><link>https://cuirx.me/archives/8tIQVlDc</link><description><![CDATA[<img src="https://cuirx.me/plugins/feed/assets/telemetry.gif?title=Typora%2BLsky%20Pro&amp;url=/archives/8tIQVlDc" width="1" height="1" alt="" style="opacity:0;">
<p style="">众所周知啊，我还挺喜欢用Typora写东西的，然后嘞，其实也不怎么需要图床。</p>
<p style="line-height: inherit">不过啊，为了看上去高端一点，所以也跟风用用图床。</p>
<p style="line-height: inherit">不知道什么原因啊，PicGo的方案老是抽风，总是失败啊，所以配合这个自定义命令，做为新的方案使用</p>
<pre><code>import sys
import requests
import os
​
# 配置信息（根据你的图床修改）
CONFIG = {
 &nbsp; &nbsp;"api_url": "https://your-lsky-domain.com/api/v1/upload",
 &nbsp; &nbsp;"token": "your-api-token-here", &nbsp;# Bearer Token
 &nbsp; &nbsp;"album_id": None, &nbsp;# 可选相册ID
 &nbsp; &nbsp;"strategy": "default" &nbsp;# 存储策略
}
​
def upload_image(image_path):
 &nbsp; &nbsp;headers = {
 &nbsp; &nbsp; &nbsp; &nbsp;"Authorization": f"Bearer {CONFIG['token']}"
 &nbsp;  }
​
 &nbsp; &nbsp;files = {
 &nbsp; &nbsp; &nbsp; &nbsp;'file': (os.path.basename(image_path), 
 &nbsp; &nbsp; &nbsp; &nbsp;open(image_path, 'rb').read()
 &nbsp; &nbsp;}
​
 &nbsp; &nbsp;data = {
 &nbsp; &nbsp; &nbsp; &nbsp;"album_id": CONFIG['album_id'],
 &nbsp; &nbsp; &nbsp; &nbsp;"strategy": CONFIG['strategy']
 &nbsp;  }
​
 &nbsp; &nbsp;try:
 &nbsp; &nbsp; &nbsp; &nbsp;response = requests.post(
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CONFIG['api_url'],
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;headers=headers,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;files=files,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;data=data
 &nbsp; &nbsp; &nbsp;  )
 &nbsp; &nbsp; &nbsp; &nbsp;result = response.json()
 &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;if response.status_code == 200 and result.get("status"):
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return result["data"]["links"]["url"]
 &nbsp; &nbsp; &nbsp; &nbsp;else:
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return f"Error: {result.get('message', 'Unknown error')}"
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp;except Exception as e:
 &nbsp; &nbsp; &nbsp; &nbsp;return f"Exception: {str(e)}"
​
if __name__ == '__main__':
 &nbsp; &nbsp;if len(sys.argv) &lt; 2:
 &nbsp; &nbsp; &nbsp; &nbsp;print("Usage: python lskypro_uploader.py &lt;image_path&gt;")
 &nbsp; &nbsp; &nbsp; &nbsp;sys.exit(1)
 &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp;image_path = sys.argv[1]
 &nbsp; &nbsp;result = upload_image(image_path)
 &nbsp; &nbsp;print(result)</code></pre>
<p style="">
 <br>
</p>]]></description><guid isPermaLink="false">/archives/8tIQVlDc</guid><dc:creator>cuirx</dc:creator><category>随记</category><pubDate>Thu, 6 Mar 2025 07:45:30 GMT</pubDate></item></channel></rss>