<?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>程序员无尤</title><link>https://blog.zhjh.top</link><atom:link href="https://blog.zhjh.top/rss.xml" rel="self" type="application/rss+xml"/><description>书山有路勤为径，学海无涯苦作舟</description><generator>Halo v2.22.7</generator><language>zh-cn</language><lastBuildDate>Sun, 7 Jun 2026 07:30:02 GMT</lastBuildDate><item><title><![CDATA[Codex AI Agent 全教程]]></title><link>https://blog.zhjh.top/?p=bnMTnwHz</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Codex%20AI%20Agent%20%E5%85%A8%E6%95%99%E7%A8%8B&amp;url=/" width="1" height="1" alt="" style="opacity:0;">中转站推荐 用我邀请码有些送额度。 SuperAPI：倍率 0.02x ~ 0.1x Auto-code：free 倍率 0.1x / plus 倍率 0.145x Codex-For.Me：倍率 0.12x TiMi CC：倍率 0.15x CCTQ：倍率 0.15x]]></description><guid isPermaLink="false">/?p=bnMTnwHz</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Fri, 8 May 2026 03:32:50 GMT</pubDate></item><item><title><![CDATA[Maven 使用笔记]]></title><link>https://blog.zhjh.top/?p=tsTj46SO</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Maven%20%E4%BD%BF%E7%94%A8%E7%AC%94%E8%AE%B0&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 在 Java 开发的日常中，Maven 不仅仅是一个包管理工具，更是一个强大的构建系统。 批量运行指定包下的测试用例 在重构或新增功能时，我们往往只想运行某个特定包下的所有单元测试，而不是全量跑一遍。 命令： mvn clean test -Dtest='top.csaf.junit.**']]></description><guid isPermaLink="false">/?p=tsTj46SO</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Wed, 24 Dec 2025 09:01:14 GMT</pubDate></item><item><title><![CDATA[海康 HCNetSDK 兼容 jna 5.18.1 解决“无法启用共享目标需要的可执行栈: 无效的参数”]]></title><link>https://blog.zhjh.top/?p=qFn9pMSp</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=%E6%B5%B7%E5%BA%B7%20HCNetSDK%20%E5%85%BC%E5%AE%B9%20jna%205.18.1%20%E8%A7%A3%E5%86%B3%E2%80%9C%E6%97%A0%E6%B3%95%E5%90%AF%E7%94%A8%E5%85%B1%E4%BA%AB%E7%9B%AE%E6%A0%87%E9%9C%80%E8%A6%81%E7%9A%84%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%A0%88%3A%20%E6%97%A0%E6%95%88%E7%9A%84%E5%8F%82%E6%95%B0%E2%80%9D&amp;url=/" width="1" height="1" alt="" style="opacity:0;">本文记录了在 Linux 新内核环境下开发接入海康威视 SDK (HCNetSDK) 项目时,遇到的 "无法启用共享目标需要的可执行栈:无效的参数" 报错的排查与解决过程。 🚫 尝试方案:作者最初尝试使用 execstack 工具清除 libjnidispatch.so 的可执行栈标记并配置 VM 参数,但该方法运行一段时间后失效。 ✅ 最终解决方案: 通过升级 JNA 版本并重构 SDK 结构体定义彻底解决该问题,具体步骤如下: 1.依赖升级:引入 JNA 5.18.1 (如 jna-5.18.1.jar). 2.代码适配:在 HCNetSDK.java 中新增 SdkStructure 静态内部类作为新基类,利用反射自动实现 JNA 5.x 必须的 getFieldOrder 方法. 3.全局替换:将所有原继承自 Structure 的内部类(如 NET_DVR_SCHEDTIME)统一修改为继承 SdkStructure。]]></description><guid isPermaLink="false">/?p=qFn9pMSp</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Thu, 4 Dec 2025 09:31:00 GMT</pubDate></item><item><title><![CDATA[同步的 git 项目重新关联远程分支]]></title><link>https://blog.zhjh.top/?p=jNBhTHEW</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=%E5%90%8C%E6%AD%A5%E7%9A%84%20git%20%E9%A1%B9%E7%9B%AE%E9%87%8D%E6%96%B0%E5%85%B3%E8%81%94%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 同步软件设置过滤了 .git，同步到新机器后需要重新关联远程分支 步骤 初始化并配置远程 # 进入项目目录 $ cd project-dir # 初始化本地仓库 $ git init 提示： 使用 'master' 作为初始分支的名称。这个默认分支名称可能会更改。要在新仓库中 提示： 配置使]]></description><guid isPermaLink="false">/?p=jNBhTHEW</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Wed, 3 Dec 2025 11:00:40 GMT</pubDate></item><item><title><![CDATA[Synology Drive Client 同步过滤目录文件夹]]></title><link>https://blog.zhjh.top/?p=SSLgqawi</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Synology%20Drive%20Client%20%E5%90%8C%E6%AD%A5%E8%BF%87%E6%BB%A4%E7%9B%AE%E5%BD%95%E6%96%87%E4%BB%B6%E5%A4%B9&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 同步规则里只有过滤文件的。 解 创建同步规则后立马暂停。 配置后需要重启软件。 Windows C:\Users\duanluan\AppData\Local\SynologyDrive\data\session\下有数字目录，数字顺序就是创建的同步规则顺序。 打开数字目录下conf\blac]]></description><guid isPermaLink="false">/?p=SSLgqawi</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Tue, 18 Nov 2025 17:49:00 GMT</pubDate></item><item><title><![CDATA[Linux 新服务器主机换源+BBR网络加速+创建交换分区]]></title><link>https://blog.zhjh.top/?p=Fjs9ydhG</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Linux%20%E6%96%B0%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%BB%E6%9C%BA%E6%8D%A2%E6%BA%90%2BBBR%E7%BD%91%E7%BB%9C%E5%8A%A0%E9%80%9F%2B%E5%88%9B%E5%BB%BA%E4%BA%A4%E6%8D%A2%E5%88%86%E5%8C%BA&amp;url=/" width="1" height="1" alt="" style="opacity:0;">换源 使用 一键脚本使换源更简单 - LinuxMirrors。 # 方式一：执行在线脚本 $ bash &lt;(curl -sSL https://linuxmirrors.cn/main.sh) # 方式二：保存脚本后执行 $ curl -sSL https://linuxmirrors.cn/m]]></description><guid isPermaLink="false">/?p=Fjs9ydhG</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Thu, 25 Sep 2025 17:35:42 GMT</pubDate></item><item><title><![CDATA[免费一年 Google One Gemini 3 Pro 学生优惠免 EDU 邮箱]]></title><link>https://blog.zhjh.top/?p=jwC9YK6W</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=%E5%85%8D%E8%B4%B9%E4%B8%80%E5%B9%B4%20Google%20One%20Gemini%203%20Pro%20%E5%AD%A6%E7%94%9F%E4%BC%98%E6%83%A0%E5%85%8D%20EDU%20%E9%82%AE%E7%AE%B1&amp;url=/" width="1" height="1" alt="" style="opacity:0;">步骤 登录/注册账号 使用美国 IP 在 Gemini for Students — get free Google AI Pro for a year 点击 Get offer 登录或注册新账号或者一两块钱买个。 方式一：免 EDU 邮箱 在跳转后的 Google One service pack]]></description><guid isPermaLink="false">/?p=jwC9YK6W</guid><dc:creator>无尤</dc:creator><category>资源</category><pubDate>Tue, 23 Sep 2025 05:47:30 GMT</pubDate></item><item><title><![CDATA[Windows WSL2 vLLM 文本生成索引重排模型 + FastGPT 搭建知识库提问]]></title><link>https://blog.zhjh.top/?p=NHjUMytk</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Windows%20WSL2%20vLLM%20%E6%96%87%E6%9C%AC%E7%94%9F%E6%88%90%E7%B4%A2%E5%BC%95%E9%87%8D%E6%8E%92%E6%A8%A1%E5%9E%8B%20%2B%20FastGPT%20%E6%90%AD%E5%BB%BA%E7%9F%A5%E8%AF%86%E5%BA%93%E6%8F%90%E9%97%AE&amp;url=/" width="1" height="1" alt="" style="opacity:0;">TODO]]></description><guid isPermaLink="false">/?p=NHjUMytk</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Wed, 20 Aug 2025 09:31:19 GMT</pubDate></item><item><title><![CDATA[Windows 进入环境变量配置的几种方式]]></title><link>https://blog.zhjh.top/?p=qHIefGtV</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Windows%20%E8%BF%9B%E5%85%A5%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E9%85%8D%E7%BD%AE%E7%9A%84%E5%87%A0%E7%A7%8D%E6%96%B9%E5%BC%8F&amp;url=/" width="1" height="1" alt="" style="opacity:0;">打开系统属性方法一 Win（Windows 徽标键，一般在 Ctrl 和 Alt 的中间）+ R输入sysdm.cpl。 打开系统属性方法二 此电脑图标右键属性 - 高级系统设置，打开系统属性窗口。]]></description><guid isPermaLink="false">/?p=qHIefGtV</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Sat, 16 Aug 2025 13:11:55 GMT</pubDate></item><item><title><![CDATA[使用 pyenv 管理 Python 版本]]></title><link>https://blog.zhjh.top/?p=XtGdPqU1</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=%E4%BD%BF%E7%94%A8%20pyenv%20%E7%AE%A1%E7%90%86%20Python%20%E7%89%88%E6%9C%AC&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 源码：pyenv/pyenv: Simple Python version management 安装配置 Linux 参考：Installation - pyenv/pyenv # 获取 curl -fsSL https://pyenv.run | bash # 将命令添加到 ~/.bas]]></description><guid isPermaLink="false">/?p=XtGdPqU1</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Sat, 14 Jun 2025 17:41:46 GMT</pubDate></item><item><title><![CDATA[EmEditor 使用问题笔记]]></title><link>https://blog.zhjh.top/?p=G8MqGh6b</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=EmEditor%20%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98%E7%AC%94%E8%AE%B0&amp;url=/" width="1" height="1" alt="" style="opacity:0;">EmEditor Library：宏、插件、语法、模板、主题等。 语法高亮 Log4j/SLF4J/Logback TODO 宏 点击宏-自定义会打开“自定义宏”窗口，自带的宏，路径在C:\Users\xxx\AppData\Local\Programs\EmEditor\Macros下，也可以写作]]></description><guid isPermaLink="false">/?p=G8MqGh6b</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Tue, 20 May 2025 03:13:08 GMT</pubDate></item><item><title><![CDATA[Git 完整迁移仓库 保留提交记录、分支、标签]]></title><link>https://blog.zhjh.top/?p=ahezUZPu</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Git%20%E5%AE%8C%E6%95%B4%E8%BF%81%E7%A7%BB%E4%BB%93%E5%BA%93%20%E4%BF%9D%E7%95%99%E6%8F%90%E4%BA%A4%E8%AE%B0%E5%BD%95%E3%80%81%E5%88%86%E6%94%AF%E3%80%81%E6%A0%87%E7%AD%BE&amp;url=/" width="1" height="1" alt="" style="opacity:0;">命令行 # 如果本地没有旧仓库的话先 clone git clone &lt;旧仓库地址&gt; cd old-rep # 从默认远程仓库拉取所有分支的提交记录 git fetch --all # 添加新的远程仓库地址 git remote add new-origin &lt;新仓库地址&gt; # 推送所有分支和提]]></description><guid isPermaLink="false">/?p=ahezUZPu</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Mon, 19 May 2025 09:00:30 GMT</pubDate></item><item><title><![CDATA[Compose Multiplatform 自定义 TextField 解决 contentPadding 过大和 leadingIcon、trailingIcon 边距过大]]></title><link>https://blog.zhjh.top/?p=4hIZSxww</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Compose%20Multiplatform%20%E8%87%AA%E5%AE%9A%E4%B9%89%20TextField%20%E8%A7%A3%E5%86%B3%20contentPadding%20%E8%BF%87%E5%A4%A7%E5%92%8C%20leadingIcon%E3%80%81trailingIcon%20%E8%BE%B9%E8%B7%9D%E8%BF%87%E5%A4%A7&amp;url=/" width="1" height="1" alt="" style="opacity:0;">本文详细介绍了在 Compose Multiplatform UI Framework 开发过程中，如何自定义 TextField 组件以解决默认内边距过大的问题。作者通过复制并修改 androidx.compose.material.TextField 源码，创建了 MyTextField 组件，实现了以下优化： 增加 contentPadding 参数用于自定义左右内边距 将 minHeight 从 TextFieldDefaults.MinHeight 修改为 0.dp 以缩小上下内边距 解决了 leadingIcon 和 trailingIcon 内边距问题 优化了错误状态语义化处理 自定义布局结构，使用 Box 嵌套实现更紧凑的组件排列 实现了图标与文本框的精确间距控制 本文包含完整代码示例和效果对比图，适合需要在 Jetpack Compose 或 Compose Multiplatform 中自定义输入框组件的开发者参考。 关键词：Compose Multiplatform、TextField、BasicTextField、自定义组件、内边距优化、leadingIcon、trailingIcon、Kotlin UI、Jetpack Compose、TextFieldDefaults、contentPadding]]></description><guid isPermaLink="false">/?p=4hIZSxww</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Sun, 4 May 2025 13:08:42 GMT</pubDate></item><item><title><![CDATA[群晖 Docker 项目搭建 EasyTier 组网节点]]></title><link>https://blog.zhjh.top/?p=1sp9m0Jo</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=%E7%BE%A4%E6%99%96%20Docker%20%E9%A1%B9%E7%9B%AE%E6%90%AD%E5%BB%BA%20EasyTier%20%E7%BB%84%E7%BD%91%E8%8A%82%E7%82%B9&amp;url=/" width="1" height="1" alt="" style="opacity:0;">步骤 NAS Container Manager - 项目中新增，项目名称 easytier，路径/docker/easytier，来源选择“创建 docker-compose.yml”，内容如下： services: watchtower: # 用于自动更新easytier镜像，若不需要请删除]]></description><guid isPermaLink="false">/?p=1sp9m0Jo</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Mon, 21 Apr 2025 12:21:06 GMT</pubDate></item><item><title><![CDATA[Sunshine+Moonlight 低延迟远程串流和平板副屏]]></title><link>https://blog.zhjh.top/?p=uvdJRjuB</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Sunshine%2BMoonlight%20%E4%BD%8E%E5%BB%B6%E8%BF%9F%E8%BF%9C%E7%A8%8B%E4%B8%B2%E6%B5%81%E5%92%8C%E5%B9%B3%E6%9D%BF%E5%89%AF%E5%B1%8F&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 Sunshine 提供低延迟、云游戏服务器功能，支持 AMD、Intel 和 Nvidia GPU 进行硬件编码，同时也支持软件编码。 Moonlight 是开源游戏流媒体客户端。 安装 Sunshine 的设备发送画面声音，安装 Moonlight 的设备接收前者发送的画面声音。 安装 Su]]></description><guid isPermaLink="false">/?p=uvdJRjuB</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Mon, 10 Mar 2025 17:26:37 GMT</pubDate></item><item><title><![CDATA[Linux Debian/Deepin flatpak 换源安装软件]]></title><link>https://blog.zhjh.top/?p=lyfHOgD0</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=Linux%20Debian%2FDeepin%20flatpak%20%E6%8D%A2%E6%BA%90%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6&amp;url=/" width="1" height="1" alt="" style="opacity:0;">步骤 # 安装 flatpak sudo apt install flatpak # 添加 flatpak 的软件仓库 flathub sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathu]]></description><guid isPermaLink="false">/?p=lyfHOgD0</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Mon, 10 Mar 2025 14:41:38 GMT</pubDate></item><item><title><![CDATA[尝试 ffmpeg 持续推送单张动态图片到 RTMP 失败]]></title><link>https://blog.zhjh.top/?p=J32z645b</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=%E5%B0%9D%E8%AF%95%20ffmpeg%20%E6%8C%81%E7%BB%AD%E6%8E%A8%E9%80%81%E5%8D%95%E5%BC%A0%E5%8A%A8%E6%80%81%E5%9B%BE%E7%89%87%E5%88%B0%20RTMP%20%E5%A4%B1%E8%B4%A5&amp;url=/" width="1" height="1" alt="" style="opacity:0;">Docker 启动 SRS docker run -d --name srs -p 1935:11935 -p 1985:11985 -p 11248:8080 ossrs/srs 测试 RTMP 流是否可用 生成测试视频流推送到 RTMP 服务器： ffmpeg -re -f lavfi -i]]></description><guid isPermaLink="false">/?p=J32z645b</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Wed, 26 Feb 2025 12:17:19 GMT</pubDate></item><item><title><![CDATA[AI 大语言模型排行榜汇总]]></title><link>https://blog.zhjh.top/?p=tcXeIV3J</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=AI%20%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E6%8E%92%E8%A1%8C%E6%A6%9C%E6%B1%87%E6%80%BB&amp;url=/" width="1" height="1" alt="" style="opacity:0;">列表 Chatbot Arena (formerly LMSYS) Chatbot Arena 是一个开源的众包人工智能基准测试平台，由加州大学伯克利分校 SkyLab 和 LMArena 的研究人员开发。凭借超过 100 万用户的投票，该平台使用 Bradley-Terry 模型对最佳 LLM 和]]></description><guid isPermaLink="false">/?p=tcXeIV3J</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Wed, 19 Feb 2025 08:15:19 GMT</pubDate></item><item><title><![CDATA[CMD PowerShell 改为 Linux Bash Tab 补全方式]]></title><link>https://blog.zhjh.top/?p=mXxekomm</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=CMD%20PowerShell%20%E6%94%B9%E4%B8%BA%20Linux%20Bash%20Tab%20%E8%A1%A5%E5%85%A8%E6%96%B9%E5%BC%8F&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 在 Windows 中，CMD 和 PowerShell 的 Tab 补全方式默认是循环模式，会直接补全完相关的第一个名称，再按切换为下一个，而不是像 Bash 中按一次 Tab 补全部分（如果遇到有一个以上名称部分重合的）或全部。 现在通过修改注册表等来使 CMD 和 PowerShell]]></description><guid isPermaLink="false">/?p=mXxekomm</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Mon, 17 Feb 2025 10:58:23 GMT</pubDate></item><item><title><![CDATA[WSL msrdc.exe 一直弹窗 Remote Desktop Your computer was unable to connect to the remote computer]]></title><link>https://blog.zhjh.top/?p=d35EWLvN</link><description><![CDATA[<img src="https://blog.zhjh.top/plugins/feed/assets/telemetry.gif?title=WSL%20msrdc.exe%20%E4%B8%80%E7%9B%B4%E5%BC%B9%E7%AA%97%20Remote%20Desktop%20Your%20computer%20was%20unable%20to%20connect%20to%20the%20remote%20computer&amp;url=/" width="1" height="1" alt="" style="opacity:0;">简介 某次开机后C:\Program Files\WSL\msrdc.exe频繁弹窗“Remote Desktop Your computer was unable to connect to the remote computer”。 暂时找不到原因，先解决。 WSL 会自动打开远程桌面连接进程（]]></description><guid isPermaLink="false">/?p=d35EWLvN</guid><dc:creator>无尤</dc:creator><category>计算机</category><pubDate>Sun, 9 Feb 2025 07:00:50 GMT</pubDate></item></channel></rss>