<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Nozom&apos;s blog</title><description>Nozom 的技术、生活与二次元笔记。</description><link>https://n3m.org/</link><item><title>状态压缩的动态规划问题：骨牌完全覆盖棋盘问题</title><link>https://n3m.org/blog/algorithm-full-blanket/</link><guid isPermaLink="true">https://n3m.org/blog/algorithm-full-blanket/</guid><description>这个算法问题对于算法菊苣们来讲不过是小菜一碟。发到博客主要是希望能够对未来拿到这个问题而毫无头绪的读者带来些许帮助。 这篇文章实际上是我的《算法分析与设计》课程的大作业，从 Word 粘贴到博客仅做了一些格式上的修改，因此文章风格会比较离谱（报告文档的风格），敬请谅解。 问题题目 项目需求 本项目旨在解决以下的算法问题： 完全覆盖：有一天acmj在玩一种游戏</description><pubDate>Wed, 01 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Android卡刷包提示This package is for device: ... this device is ...的解决方案</title><link>https://n3m.org/blog/android-fix-package-device-error/</link><guid isPermaLink="true">https://n3m.org/blog/android-fix-package-device-error/</guid><description>本人用的是mi4，刷入秋叶随风的合并分区包以后再刷6.0的包提示“This package is for device: cancro this device is .” 看样子是不认设备了，就想到了直接从脚本里面干掉这个检测 [这里是一张该问题的截图，然而博主在将博客从WP人工迁移到Hexo时找不到了] 解决方案： 1.打开刷机包 2.编辑文件： META</description><pubDate>Sun, 31 Jan 2016 00:00:00 GMT</pubDate></item><item><title>自动获取Pixiv每日排行榜第一张图片（600x600 | 可用于博客背景图）</title><link>https://n3m.org/blog/autoget-pixiv-first-photo/</link><guid isPermaLink="true">https://n3m.org/blog/autoget-pixiv-first-photo/</guid><description>代码来自@mokeyjay的 Pixiv每日排行榜Top50小部件 ，本人做了一些修改来专用于输出第一张图片的完整图片（也可以输出其他的图片） 可用于获取Pixiv每日排行榜第一张图片并直接输出，比如作为博客背景图像（配合高斯模糊食用效果最佳） 食用方法： （两种任选） 第一种：直接把图片路径指向这个php文件 第二种：图片路径指向保存文件路径（默认为pix</description><pubDate>Thu, 28 Apr 2016 00:00:00 GMT</pubDate></item><item><title>手动保留常用端口，解决 Windows 端口被 Hyper-V / WinNAT 占用的问题</title><link>https://n3m.org/blog/avoid-windows-port-inuse/</link><guid isPermaLink="true">https://n3m.org/blog/avoid-windows-port-inuse/</guid><description>对于 Windows 10 及 Windows 11，当启用 Hyper-V 或者虚拟机平台后，Windows NAT 服务会随机保留一些端口以便于提供 NAT （网络地址转换） 服务，以实现虚拟机的上网。这些端口范围是随机确定的，因此很容易导致开发时遇到端口占用问题。比如会遇到以下错误： Error: listen EADDRINUSE: address</description><pubDate>Mon, 03 Jun 2024 00:00:00 GMT</pubDate></item><item><title>从旧版 PCS 到 MCP：百度网盘 API 这些年到底变了什么</title><link>https://n3m.org/blog/baidu-netdisk-api-changes-and-mcp/</link><guid isPermaLink="true">https://n3m.org/blog/baidu-netdisk-api-changes-and-mcp/</guid><description>重新看了一下 baidu-netdisk/mcp，以及旧版百度网盘脚本常见的鉴权、上传、路径编码、文件操作问题。顺手整理一下旧脚本如果要迁移，大概应该怎么改。</description><pubDate>Wed, 10 Jul 2024 00:00:00 GMT</pubDate></item><item><title>免Telent/TTL屏蔽运营商新版光猫的远控、TR069和RMS，获取动态随机超级管理员密码并固化权限</title><link>https://n3m.org/blog/block-tr069-and-rms/</link><guid isPermaLink="true">https://n3m.org/blog/block-tr069-and-rms/</guid><description>前言 在校园网、小区网等环境中，运营商的光猫通常会被 Technical Report - 069（TR069）和远程维护系统（RMS）远程管理，这些系统会在你不知情的情况下修改你的光猫配置，甚至会在你不知情的情况下重置你的光猫，导致你的网络配置失效，甚至设备全部失联。因此，屏蔽这些远程管理机制是非常有必要的。 然而，不幸地是，新版本的光猫早已修复了一切可以</description><pubDate>Sun, 25 Feb 2024 00:00:00 GMT</pubDate></item><item><title>计算机幻觉从入门到入土</title><link>https://n3m.org/blog/computer-vision-getting-started/</link><guid isPermaLink="true">https://n3m.org/blog/computer-vision-getting-started/</guid><description>[NOTICE] 本文仅为一篇我个人学习笔记，不适合作为其他人的学习引导。 因为博主写这篇笔记就是这个状态 ↓ ↑ 为此专门查了怎么用more标签隐藏文章内容 前言 为啥搞这？吃饭 这大概是我写过最粗暴的前言了 ( 注： 我在写这篇笔记时尚未学习高数II、大物和离散数学，所述内容可能存在错误。 为啥可以对图像进行分析呢？ 在 RGB 模型下，不谈 Alpha</description><pubDate>Sun, 10 Feb 2019 00:00:00 GMT</pubDate></item><item><title>禁用使用Intel核显的Windows笔记本自动调节亮度功能</title><link>https://n3m.org/blog/disabled-windows-auto-brightness/</link><guid isPermaLink="true">https://n3m.org/blog/disabled-windows-auto-brightness/</guid><description>Intel 核显自带一个“节电功能”，它的工作原理: 比如你设置的100%的亮度，放着一张白的图片，那么屏幕只能100%亮度显示。但是如果是50%灰的图片呢，我只要50%亮度显示纯白就行了诶。如果整个屏幕最亮的颜色只有10%，那就干脆把亮度降到10%来省电好了，然而对于电影这种明暗变化较快的没优化好，导致体验较差。 来源: 知乎/汤雨豪 这功能有多智障呢？博</description><pubDate>Fri, 27 Jul 2018 00:00:00 GMT</pubDate></item><item><title>扔鸡蛋问题</title><link>https://n3m.org/blog/drop-egg/</link><guid isPermaLink="true">https://n3m.org/blog/drop-egg/</guid><description>菜鸡第一次看算法题，这篇笔记还是不要看比较好 题目 x星球的居民脾气不太好，但好在他们生气的时候唯一的异常举动是：摔手机。 各大厂商也就纷纷推出各种耐摔型手机。x星球的质监局规定了手机必须经过耐摔测试，并且评定出一个耐摔指数来，之后才允许上市流通。 x星球有很多高耸入云的高塔，刚好可以用来做耐摔测试。塔的每一层高度都是一样的，与地球上稍有不同的是，他们的第一</description><pubDate>Thu, 14 Feb 2019 00:00:00 GMT</pubDate></item><item><title>修复Android DM-Verity 警告</title><link>https://n3m.org/blog/fix-android-dm-verity/</link><guid isPermaLink="true">https://n3m.org/blog/fix-android-dm-verity/</guid><description>刷入某些ROM可能导致手机在引导时弹出DM-Verity警告，警告内容为 The dm-verity is not started in enforcing mode …. 修复方法： 重开DM-Verity然后再禁用。 操作步骤： 1.连电脑，进fastboot 2.输入以下代码： fastboot oem disable_dm_verity fastbo</description><pubDate>Sat, 04 Mar 2017 00:00:00 GMT</pubDate></item><item><title>解决视频彩铃、语音通话自动转视频通话导致打电话自动挂断的问题</title><link>https://n3m.org/blog/fix-android-voice-call-auto-declined/</link><guid isPermaLink="true">https://n3m.org/blog/fix-android-voice-call-auto-declined/</guid><description>症状 使用Android手机向某些电话号码拨打电话时，由于运营商自动播放视频彩铃，导致电话自动转成视频通话，但由于某些bug，导致电话自动挂断，因而无法打出电话的问题 即：拨打电话，响铃几秒后，提示正在进行运营商视频通话，然后提示通话结束。对方能够听到短时间的响铃。 解决方法 打开设置–网络和互联网–SIM卡，找到 运营商视频通话 开关，关闭它。 这可能会同</description><pubDate>Fri, 22 Jul 2022 00:00:00 GMT</pubDate></item><item><title>修复国行 MIUI 打开 Google Play 始终提示 DF-DFERH-01 的问题</title><link>https://n3m.org/blog/fix-miui-df-dferh-01-issue/</link><guid isPermaLink="true">https://n3m.org/blog/fix-miui-df-dferh-01-issue/</guid><description>问题描述 自带 Google 服务框架的国行 MIUI， 即使设置全局代理 ，打开 Google Play 仍然提示 DF-DFERH-01. 反复对 Play Store/Service 清除数据、插拔 SIM 卡均无效。在其他第三方 ROM 上 Play 正常使用。 使用 adb logcat 查看日志，捕获到下列错误： 解决 思路（过程） Root 手</description><pubDate>Fri, 07 Jun 2019 00:00:00 GMT</pubDate></item><item><title>修复一加3/3T因固件过老导致刷入ROM时提示错误7的问题</title><link>https://n3m.org/blog/fix-oneplus3-firmware-warning/</link><guid isPermaLink="true">https://n3m.org/blog/fix-oneplus3-firmware-warning/</guid><description>博主在刷入Oneplus3 H2OS Openbeta 7后再刷LineageOS遇到了“Comparing TZ version TZ.BF.X.X-X.X.XXXX to TZ.BF.X.X-X.X.XXXX assert failed”报错 原因是当前手机固件版本过低或过高，第三方ROM不兼容。 我们知道， 原厂ROM刷机包一般都会带有完整的固件 ，位</description><pubDate>Sat, 11 Mar 2017 00:00:00 GMT</pubDate></item><item><title>（2024更新）修复黑群晖 DSM7.0 + Btrfs 存储空间/磁盘损毁/堪用 的问题</title><link>https://n3m.org/blog/fix-syno-dsm7-disk-damaged/</link><guid isPermaLink="true">https://n3m.org/blog/fix-syno-dsm7-disk-damaged/</guid><description>意外断电重启后，发现群晖提示硬盘损毁了，但是实际上硬盘还是正常的，S.M.A.R.T. 状态也良好，但是无法写入数据，系统状态报告为“严重”，群晖的程序也拒绝工作。 我们来先治标再治本。 治标：修复存储空间故障方法 通过 SSH 直接登录 root 账号。如果不方便直接登录 root，则执行： cd / sudo -i 对于虚拟机黑群晖如果SSH挂了也没事，</description><pubDate>Fri, 03 Mar 2023 00:00:00 GMT</pubDate></item><item><title>解决 VSCode 持续调用 WMIC 导致一个 CPU 核心完全被占满的问题</title><link>https://n3m.org/blog/fix-vscode-wmic-issue/</link><guid isPermaLink="true">https://n3m.org/blog/fix-vscode-wmic-issue/</guid><description>问题描述 只要启动 VSCode，无论是否有负载，VSCode 都会不停地调用 WMIC.exe ，WMIC.exe 完全占满一个 CPU 核心，导致 CPU 温度很高。 解决办法 打开 VSCode 设置，搜索 debug.node.autoAttach ，将其设置为 off In general the “wmic” call does not prod</description><pubDate>Fri, 15 Feb 2019 00:00:00 GMT</pubDate></item><item><title>修复升级 Windows10 版本后所有内置应用闪退+第三方应用参数错误的问题</title><link>https://n3m.org/blog/fix-win10app-param-error/</link><guid isPermaLink="true">https://n3m.org/blog/fix-win10app-param-error/</guid><description>昨天把Windows10升级到1809后所有应用都挂了，应用商店和内置应用闪退，常用的应用参数错误，连WSL都出问题了。容我先亲切问候一下微软 :) 修复内置应用闪退、应用商店打不开 这里有 几个没啥用的方法 ，反正对我来说真的没啥用。 修复办法： 打开 C:\Program Files 显示隐藏的文件，找到 WindowsApps ，点击上方菜单的 共享</description><pubDate>Fri, 05 Oct 2018 00:00:00 GMT</pubDate></item><item><title>解决 Windows 打开视频/图片文件夹很慢的问题</title><link>https://n3m.org/blog/fix-windows-open-photo-folder-slow/</link><guid isPermaLink="true">https://n3m.org/blog/fix-windows-open-photo-folder-slow/</guid><description>症状 ：打开视频/图片文件夹时，会卡在“正在加载”界面很久，或者直接卡死。此时打开任务管理器，观察到 explorer.exe 的 CPU 占用率很高，有一些磁盘占用。 一开始以为是我把视频和图片文件夹放到了 OneDrive 里，但是把文件夹移出 OneDrive 后问题依旧存在。后偶然观察到在库上打开此文件夹没有这种问题，遂怀疑到是否是因为 排序/分组</description><pubDate>Thu, 15 Jun 2023 00:00:00 GMT</pubDate></item><item><title>谈谈神舟的两艘贼船，Z7M-KP7S1 / Z7M-KP7SC</title><link>https://n3m.org/blog/fucking-hasee-z7m/</link><guid isPermaLink="true">https://n3m.org/blog/fucking-hasee-z7m/</guid><description>先放张蓝天的N85xEJ1模具的感人的拆机图镇楼 没错！这感天动地的单铜管散热！压 1050Ti + i7！我大神船的头就是这么铁！ 厉害了，我的船 蓝天的N85xEJ1模具吼不吼啊？吼啊！单铜管散热，A面指纹收集器，B面比丑更丑，C面城乡结合部设计，D面散热开孔比肩Macbook，船新设计检验玩家拆机水平。(Z7M-KP7S1) 单铜管散热吼不吼啊？吼啊！</description><pubDate>Sun, 15 Jul 2018 00:00:00 GMT</pubDate></item><item><title>留言板</title><link>https://n3m.org/blog/guestbook/</link><guid isPermaLink="true">https://n3m.org/blog/guestbook/</guid><description>这是一个留言板，它什么都不做</description><pubDate>Sat, 17 Feb 2018 00:00:00 GMT</pubDate></item><item><title>又一次 Hello world</title><link>https://n3m.org/blog/hello-world/</link><guid isPermaLink="true">https://n3m.org/blog/hello-world/</guid><description>是的我又回来了蛤铪蛤铪蛤铪蛤铪蛤铪 （假装笑得很开心） 旧的文章/友链啥时候恢复 正在从wordpress的数据库捡垃圾。 更新 emm 鼠标滚轮突然滑脱 这大过年的鼠标又寄不来 emm 这种不用滚轮写代码的感觉</description><pubDate>Fri, 16 Feb 2018 00:00:00 GMT</pubDate></item><item><title>Windows 选择指定的网卡来开承载网络型热点</title><link>https://n3m.org/blog/hotspot-with-custom-adapter/</link><guid isPermaLink="true">https://n3m.org/blog/hotspot-with-custom-adapter/</guid><description>Windows 10 自带的移动热点比较废，只允许带8个设备，并且在断网后自动关闭，不能满足需求。 而通过 netsh 创建的 Microsoft 承载网络虽好，但却不支持选择用于创建热点的网卡。 本文介绍的玄学方法可以让用户做到自己选择网卡开 Microsoft 承载网络 热点。 打开 网络和 Internet 设置 更改适配器选项 选择你希望使用的网卡，</description><pubDate>Sat, 03 Nov 2018 00:00:00 GMT</pubDate></item><item><title>Java 注解预处理 Annotation Processing &amp; 代码生成</title><link>https://n3m.org/blog/java-annotation-processing/</link><guid isPermaLink="true">https://n3m.org/blog/java-annotation-processing/</guid><description>关于 Java 的注解预处理的资料实在是过于稀少，连stackoverflow上都没多少人研究，以致于我这个萌新在尝试使用注解预处理来生成代码时踩了不少坑，正好博客也快长草了，遂决定留一篇文章，希望能够对后来者有所帮助。 本文章同时对一般 Java 项目和 Android 项目适用。 为何使用 Java 注解预处理 诚然，用反射处理注解来替代代码的复制粘贴可</description><pubDate>Sat, 02 Feb 2019 00:00:00 GMT</pubDate></item><item><title>Java 快速读取文本 (算法竞赛适用)</title><link>https://n3m.org/blog/java-fast-text-read/</link><guid isPermaLink="true">https://n3m.org/blog/java-fast-text-read/</guid><description>背景: 远离 Scanner 今天无意翻阅 Scanner 类时，发现了一个很坑的地方： // 摘抄自 Scanner JDK15 源码 public final class Scanner implements Iterator&lt;String&gt;, Closeable { .... // Internal matcher used for finding d</description><pubDate>Sat, 31 Oct 2020 00:00:00 GMT</pubDate></item><item><title>Java 学习笔记 (仍在更新)</title><link>https://n3m.org/blog/java-study/</link><guid isPermaLink="true">https://n3m.org/blog/java-study/</guid><description>Java 学习笔记 #4 by Nozom @ 2018-11-13 pm 内部类 内部类提供了更好的封装 例如，ConsoleOutput单独存在是没有意义的，将Output封装到Console则更具意义，即我们System.out 内部类可以访问外部类的私有成员，但外部类不可以。 枚举 java中，enum是类，但并不继承Object，因此具有类的特性</description><pubDate>Tue, 07 Nov 2017 00:00:00 GMT</pubDate></item><item><title>利用 ThreadLocal + Lambda，实现有状态变量的单例模式</title><link>https://n3m.org/blog/java-threadlocal/</link><guid isPermaLink="true">https://n3m.org/blog/java-threadlocal/</guid><description>通常情况下单例模式的对象 不 应该具有状态，然而现实是复杂的，总会有那么一些特殊情况下需要小小地【违例】一下。 动机 一个父类的方法执行前需要设置一个变量的值，变量值会对方法的执行结果产生影响。现希望子类以单例的方式继承父类。 以我实际遇到的一个问题为例，JOOQ 是一个 ORM 类库，这个类库能够自动扫描数据库并生成 DAO，但是自动生成的 DAO 功能有</description><pubDate>Wed, 19 Aug 2020 00:00:00 GMT</pubDate></item><item><title>配置用于 Gradle6.x + MySQL 8 的 jOOQ 3.14 代码自动生成 (已更新)</title><link>https://n3m.org/blog/jooq-autugen-with-gradle/</link><guid isPermaLink="true">https://n3m.org/blog/jooq-autugen-with-gradle/</guid><description>为什么要写这篇文章 之前介绍了一下 在旧版Gradle、SQLite上配置JOOQ ，不过那篇文章实在是太旧了，在新版Gradle上已无法使用，也不兼容Java11。 关于如何配置用于 Gradle + M 的 jOOQ 3.11 代码自动生成的文档可谓少之又少，网络上大部分文档，要么是使用 Maven，要么是针对于早期版本的 jOOQ（并不向后兼容），而</description><pubDate>Thu, 04 Oct 2018 00:00:00 GMT</pubDate></item><item><title>Kotlin 的那些骚操作</title><link>https://n3m.org/blog/kotlin-lang-tricks/</link><guid isPermaLink="true">https://n3m.org/blog/kotlin-lang-tricks/</guid><description>最近在学习 Kotlin 这门编程语言，不得不感叹 Kotlin 这语言是真的骚。 重载操作符 在伴生对象重载 invoke 操作符 interface BotUser { val id: Long val name: String val description: String companion object { operator fun invoke(</description><pubDate>Fri, 13 Dec 2019 00:00:00 GMT</pubDate></item><item><title>Linux 内核结构和子系统简介</title><link>https://n3m.org/blog/linux-kernel-structure-introduction/</link><guid isPermaLink="true">https://n3m.org/blog/linux-kernel-structure-introduction/</guid><description>本文是对 Anatomy of the Linux kernel 的部分翻译。 操作系统是计算机技术不可或缺的组成部分，是硬件设备在应用领域的延展与扩充，能够有效规划和设计计算机的工作流程，保证资源的合理配置和科学管理，确保用户能够便捷自如地操作计算机，满足多层面的任务需要。[1]在计算机上配置操作系统，主要是为了方便用户使用；提高系统资源利用率、提高系统吞</description><pubDate>Wed, 17 Feb 2021 00:00:00 GMT</pubDate></item><item><title>超低成本廉价考研教程：如何用小于￥500甚至￥300的开销考个研</title><link>https://n3m.org/blog/low-cost-postgraduate-entrance-examination/</link><guid isPermaLink="true">https://n3m.org/blog/low-cost-postgraduate-entrance-examination/</guid><description>在本科学历日渐贬值时代，读研基本成了一个日常话题，然而考研成本甚高，即使是不参与线下培训班、纯网课也往往需要花费万元以上。正好老早就有线下好友吐槽我博客技术文太多 哪有那么多啊，我真的从来都不写复杂技术的文章的啊 ，乘着手上的拟录取通知还热乎，今天就来分享分享如何用超低成本考研。 我的考研开销情况： 类目 花费（人民币/元） 备注 书本 249.65 126</description><pubDate>Mon, 11 Apr 2022 00:00:00 GMT</pubDate></item><item><title>真正实现Minecraft高级登录(外置登录)的几种方案</title><link>https://n3m.org/blog/minecraft-advanced-login/</link><guid isPermaLink="true">https://n3m.org/blog/minecraft-advanced-login/</guid><description>通常把Minecraft服务器的登录方式分为高级登录(外置登录)和内置登录。高级登录的特点是用户的登录操作在启动器完成，启动器传递token给Minecraft客户端，客户端在加入服务器时直接将token传递给服务端完成身份验证。正版Minecraft登录就是典型的外置登录。而一般的非正版服务器(online-mode=false)则是身份验证仅在用户加入游</description><pubDate>Sat, 21 Jul 2018 00:00:00 GMT</pubDate></item><item><title>MoeCDN -  加速Gravatar/GoogleAPIs等无法在国内访问的资源</title><link>https://n3m.org/blog/moecdn/</link><guid isPermaLink="true">https://n3m.org/blog/moecdn/</guid><description>2016-2-23 新增PHP通用版本（只需一次include） 这大概是我重建博客后第一次发布作品吧。。 目前该插件支持三种博客系统： Wordpress-由 Balthild Ires 维护 Typecho -由 Kirainmoe 维护 Emlog及PHP通用版 -由 Nozom(博主) 维护 （所以说emlog/通用版才是我的作品，请勿在意第一句）</description><pubDate>Tue, 23 Feb 2016 00:00:00 GMT</pubDate></item><item><title>[1.12.2+Mod] MoeCraft :: 自由开放的科技向公益 Mod 服务器</title><link>https://n3m.org/blog/moecraft/</link><guid isPermaLink="true">https://n3m.org/blog/moecraft/</guid><description>特色&amp;概述 MoeCraft 创立于 2016 年六月，是一个非盈利的、旨在为热爱 MC 的玩家创造最优环境的公益 Minecraft 服务器 高水平 每份入服申请均由多名老玩家及操作员审核，最大限度确保新玩家素质达到要求 自由 MoeCraft 并无严格的规则来限制玩家的行为，MoeCraft 信任每一位玩家的自我约束能力，即，MoeCraft 开放了几乎</description><pubDate>Sat, 11 Aug 2018 00:00:00 GMT</pubDate></item><item><title>我的 Windows 10 2004 新增 Bug 解决办法记录</title><link>https://n3m.org/blog/my-win10-2004-issues-fix/</link><guid isPermaLink="true">https://n3m.org/blog/my-win10-2004-issues-fix/</guid><description>虚拟化相关 大量端口被无端保留，50000 以上高位端口无法分配 这是 Hyper-V 导致的，可以卸载 Hyper-V 平台解决它。 具体参考： Hyper-V和IDEA运行端口占用问题 Cannot bind to some ports due to permission denied Unable to bind ports: Docker-for-W</description><pubDate>Sat, 06 Jun 2020 00:00:00 GMT</pubDate></item><item><title>实现带有Nvidia GPU+Rootless Podman+Docker+Systemd+自动驱动注入支持的systemd nspawn容器</title><link>https://n3m.org/blog/nspawn-advanced-nvidia-container-with-docker-podman/</link><guid isPermaLink="true">https://n3m.org/blog/nspawn-advanced-nvidia-container-with-docker-podman/</guid><description>在AI计算集群等场景中，系统级容器的稳定部署、GPU资源高效透传及多容器运行时兼容是核心需求，传统容器方案要么无法良好支持systemd服务管理，要么GPU透传配置复杂、需在容器内重复安装驱动，且难以兼顾Rootless Podman与Docker的二级容器运行需求。本文针对这一现状，详细阐述一套集成Nvidia GPU透传、自动驱动注入、systemd-n</description><pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate></item><item><title>OpenWRT/DNSMasq 配置DHCP静态路由主动推送 实现流量直达和旁路由流量零代价分载</title><link>https://n3m.org/blog/openwrt-dhcp-push-static-route/</link><guid isPermaLink="true">https://n3m.org/blog/openwrt-dhcp-push-static-route/</guid><description>背景 通常来说，如果我们划分了另一个网段，流量是需要通过网关来进行路由的。例如 LAN 网段为 172.20.0.0/24 ，然后我们在家庭 PVE 服务器上创建了一个用于虚拟机的 172.20.1.0/24 网段，其中 PVE 服务器的网卡的 IP 为 172.20.0.3 ，为了能够使得 LAN 的设备能直接访问虚拟机的 IP 段 172.20.1.0/</description><pubDate>Mon, 28 Aug 2023 00:00:00 GMT</pubDate></item><item><title>自编译 红米 AC2100 OpenWRT R21.7.26</title><link>https://n3m.org/blog/openwrt-redmi-ac2100-firmware/</link><guid isPermaLink="true">https://n3m.org/blog/openwrt-redmi-ac2100-firmware/</guid><description>分享一下之前自行编译的路由器固件给有需要的人 一句话总结特点： 锐捷 | 闭源驱动 | Wireguard | 组网 | NFS | 多拨 | 弱信号剔除 特色 轻量级固件，低内存占用。主路由/AP均适用 集成MiniEAP v0.93锐捷校园网认证， 也支持IEEE 802.1X 认证 集成常用 WireGuard, L2TP/IPSec 等跨区组网协议。</description><pubDate>Fri, 06 Aug 2021 00:00:00 GMT</pubDate></item><item><title>任意语言实现读取压缩包注释</title><link>https://n3m.org/blog/read-notes-in-compressed-file/</link><guid isPermaLink="true">https://n3m.org/blog/read-notes-in-compressed-file/</guid><description>前言:用记事本打开压缩包有惊喜。。 首先需要了解一下什么是压缩包注释，为什么要使用压缩包注释 压缩包注释 本质类似RAR+JPG( 知乎 )，就是在压缩包后面追加一堆文本 这些文本就是注释了 由此可见，压缩包注释并不是一种规范，但是大多数压缩软件在生成压缩包的时候都可以携带注释 为什么使用压缩包注释 1.注释本体不会被压缩，可以直接读取 2.压缩软件可以查看</description><pubDate>Sat, 05 Mar 2016 00:00:00 GMT</pubDate></item><item><title>(Android6.0~9.0) 清除锁屏密码</title><link>https://n3m.org/blog/remove-android-lockscreen-password/</link><guid isPermaLink="true">https://n3m.org/blog/remove-android-lockscreen-password/</guid><description>如果手机已经Root并且开了ADB调试并且以前授权过要连接的电脑，则直接连该电脑即可。 如果手机未Root但刷入了TWRP或CWM等Recovery，则需要重启后进recovery，然后连电脑。 然后运行以下命令即可： adb shell rm /data/system/gallery_private.key rm /data/system/gatekeep</description><pubDate>Tue, 25 Apr 2017 00:00:00 GMT</pubDate></item><item><title>使用树莓派实现定时拍照监控并发送邮件到邮箱</title><link>https://n3m.org/blog/rpi-monitor/</link><guid isPermaLink="true">https://n3m.org/blog/rpi-monitor/</guid><description>首先确保手上有下列东西： 1.树莓派（以下简称RPI）一个 2.一个USB免驱摄像头，支持YUY2或者JPEG均可（JPEG最佳）。RPICamera没试过 3.一个支持SMTP的邮箱 博主的配置： RPI3b 一个废弃的YUY2摄像头 QQ邮箱 那么，开工吧！ 1.打开终端，切换成root，若无法切换，请先为root设置密码（passwd root） 2.</description><pubDate>Sat, 23 Apr 2016 00:00:00 GMT</pubDate></item><item><title>继续监控！使用树莓派+Motion实现实时视频监控并通过浏览器查看</title><link>https://n3m.org/blog/rpi-monitor-2/</link><guid isPermaLink="true">https://n3m.org/blog/rpi-monitor-2/</guid><description>之前我们已经实现了 使用树莓派实现定时拍照监控并发送邮件到邮箱 ，但是定时拍照有两个缺点： 1.拍照每5min才进行一次，这中间会错过很多东西；提高拍照频率又会占用太多存储空间 2. 不具有即时性 。有时候你想查看这个时候的监控，却得等一小时后才能看，因为邮件还没发送。 所以我们还需要视频监控 首先确保手上有下列东西： 1.树莓派（以下简称RPI）一个 2.</description><pubDate>Sat, 30 Apr 2016 00:00:00 GMT</pubDate></item><item><title>在 Ubuntu 21.10 上启用蓝牙 LDAC/AAC/AptX 高质量音频编码支持</title><link>https://n3m.org/blog/setup-ubuntu-21-10-ldac/</link><guid isPermaLink="true">https://n3m.org/blog/setup-ubuntu-21-10-ldac/</guid><description>Ubuntu 21.10 已经默认 部分 安装了 PipeWire 并用于 WebRTC。我们只需要安装 PipeWire 所需的蓝牙音频编码器，并替代默认的 PulseAudio 声音系统即可自动启用 LDAC / AAC / AptX 支持。 方法 执行指令安装软件包： sudo apt install \ libfdk-aac2 \ libldacbt</description><pubDate>Thu, 10 Mar 2022 00:00:00 GMT</pubDate></item><item><title>在 VMware Workstation 桥接模式的网卡上让虚拟机使用 VLAN 的正确方法</title><link>https://n3m.org/blog/setup-vlan-for-vmware-workstation/</link><guid isPermaLink="true">https://n3m.org/blog/setup-vlan-for-vmware-workstation/</guid><description>要解决的问题 有一个虚拟机运行在 VMWare workstation 中，如何让这个虚拟机桥接到宿主机的网络上的某个 VLAN？ 常见使用场景 只有一个网口的单臂软路由，同时宿主机为 Windows，虚拟机软件为 VMware Workstation，在虚拟机中运行 OpenWrt 需要在一个网口上，利用 VLAN 实现虚拟 WAN 口上的 PPPoE 拨</description><pubDate>Fri, 28 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Ubuntu 上通过以太网分享网络连接(NAT)</title><link>https://n3m.org/blog/share-internet-by-ethernet-on-ubuntu/</link><guid isPermaLink="true">https://n3m.org/blog/share-internet-by-ethernet-on-ubuntu/</guid><description>Ubuntu 自带网络分享功能，但该功能很不稳定，往往断开连接后再连就无法使用了。 现在我们使用 DNSMASQ+IPTables 手动配置NAT. 禁用 systemd-resolved Ubuntu 提供的 systemd-resolved 抢占53端口，首先禁用它。 systemctl stop systemd-resolved systemctl d</description><pubDate>Thu, 03 Jan 2019 00:00:00 GMT</pubDate></item><item><title>好压 V2.7 Beta1 绿色版——功能强大，良心的压缩软件</title><link>https://n3m.org/blog/software-share-haozip/</link><guid isPermaLink="true">https://n3m.org/blog/software-share-haozip/</guid><description>注： 本文所讲的是瑞创网络的好压，并非现在的毒瘤2345好压 以下是官方介绍： 好压压缩软件（HaoZip）是完全免费的新一代压缩软件。好压软件功能包括强力压缩、分卷、加密、自解压，相比其它压缩软件系统资源占用更少，压缩率比较高。 LZ大概从10年就开始使用好压了，功能强大，界面美观，确实是当年的业界良心 可惜现在的好压已经彻底成了毒瘤，毕竟从了2345，哈</description><pubDate>Sat, 26 Mar 2016 00:00:00 GMT</pubDate></item><item><title>贴吧云签到 资源索引(下载|文档|插件)</title><link>https://n3m.org/blog/tieba-cloud-sign/</link><guid isPermaLink="true">https://n3m.org/blog/tieba-cloud-sign/</guid><description>贴吧云签到在Git@OSC和Github均有仓库，任选（国内推荐Git@OSC）。 云签到主程序 Git@OSC Github 云签到插件库 Git@OSC Github 云签到扩展库 Git@OSC Github 云签到开发文档 Git@OSC Github</description><pubDate>Sun, 08 May 2016 00:00:00 GMT</pubDate></item><item><title>USBCopyer 回调功能详细说明</title><link>https://n3m.org/blog/usbcopyer-callback/</link><guid isPermaLink="true">https://n3m.org/blog/usbcopyer-callback/</guid><description>“回调” 是 USBCopyer V5.0 新引入的一个概念，它用于在 USBCopyer 执行特定操作时触发用户指定的代码或程序，以便实现某种高级的、程序没有提供的功能。 基本使用方法： 在USBCopyer设置打开回调的开关 打开USBCopyer所在目录下的 USBCopyer\USBCopyerSystem 文件夹 建立 回调名字.bat ，例如 A</description><pubDate>Fri, 22 Jun 2018 00:00:00 GMT</pubDate></item><item><title>使用任意磁盘或路径保存 Windows 文件历史记录</title><link>https://n3m.org/blog/win10-customize-filehistory-savepath/</link><guid isPermaLink="true">https://n3m.org/blog/win10-customize-filehistory-savepath/</guid><description>不知为何，博主的 Windows 不允许使用本机的机械硬盘保存文件历史记录，这大概又是一个秘制bug吧。 无论是 Windows7 的备份还是 Windows10 的文件历史记录，它们都允许用户选择网络位置保存数据，于是我们就可以这样操作： \\localhost\X$\Path 该路径表示本机 X: 盘的 Path 文件夹 例如，我要将文件历史记录保存到</description><pubDate>Thu, 30 Aug 2018 00:00:00 GMT</pubDate></item><item><title>在Win10 Pro下挂载NFS(网络文件系统)</title><link>https://n3m.org/blog/win10-mount-nfs/</link><guid isPermaLink="true">https://n3m.org/blog/win10-mount-nfs/</guid><description>注意： Win10 Creators Update前只有Win10企业版可以挂载NFS， Creators Update后专业版也可挂载NFS了。此外，Windows 不支持挂载 NFSv4。 安装 按Win+R输入OptionalFeatures，勾选”NFS服务” 不需要勾选“管理工具”，那玩意是个废物，非WinServer只能靠命令行挂载NFS。 装好</description><pubDate>Sat, 24 Jun 2017 00:00:00 GMT</pubDate></item><item><title>Win10 资源管理器为所有格式激活“编辑”按钮并修改文本文件“编辑”按钮的编辑器</title><link>https://n3m.org/blog/windows-enable-edit-button-for-all-format/</link><guid isPermaLink="true">https://n3m.org/blog/windows-enable-edit-button-for-all-format/</guid><description>默认情况下，Windows 10 资源管理器的功能区对绝大多数文本格式的不可用的，即使能够使用（例如 .js .cpp .txt 等格式），“编辑”按钮所对应的编辑器也是废物一般的记事本（用记事本写代码？）,使得这个“编辑”按钮显得华而不实。为了让编辑文本更加方便、充分利用这个“编辑”按钮，本文将介绍如何通过修改注册表以为为所有格式激活“编辑”按钮并修改文本</description><pubDate>Thu, 14 Jun 2018 00:00:00 GMT</pubDate></item><item><title>利用Windows卷影副本(Volume Shadow)找回被覆盖和删除的数据</title><link>https://n3m.org/blog/windows-restore-file-from-volume-shadow/</link><guid isPermaLink="true">https://n3m.org/blog/windows-restore-file-from-volume-shadow/</guid><description>Windows默认启用的系统恢复机制会定期创建卷影副本，创建的时机通常为安装或卸载软件以及系统更新。卷影副本 (Volume Shadow) 实际上就是我们在 Linux 上经常提到的 “快照(Snapshot)”，它利用写时复制 (CoW) 机制为我们提供了文件系统在某个时间点的一个状态的视图。通过利用这个视图，我们可以找回近期不慎删除或被覆盖的数据，也可</description><pubDate>Thu, 04 Jan 2024 00:00:00 GMT</pubDate></item><item><title>WordPress 更换站点地址后批量修改文章/评论中的旧地址</title><link>https://n3m.org/blog/wordpress-replace-old-siteurl/</link><guid isPermaLink="true">https://n3m.org/blog/wordpress-replace-old-siteurl/</guid><description>仅作记录，不建议使用。 运行以下代码即可： 前一个地址 是要替换的旧地址 后一个地址 是新地址 #替换文章 update wp_posts set post_content=replace(post_content,&apos;https://n3m.org&apos;,&apos;https://n3m.org&apos;); update wp_posts set post_con</description><pubDate>Sun, 23 Apr 2017 00:00:00 GMT</pubDate></item><item><title>修复 Windows 环境下的程序访问 WSL 中的 MySQL 提示 Access Denied 的问题</title><link>https://n3m.org/blog/wsl-mysql-access-denied/</link><guid isPermaLink="true">https://n3m.org/blog/wsl-mysql-access-denied/</guid><description>症状 Windows 10 版本 1803 + Ubuntu 18.04 位于 Windows 下的程序(例如Navicat)连接 MySQL 提示 Access Denied 同样位于 WSL 的程序可以正常访问 MySQL 原因 MySQL 把 Windows 下的程序的连接视为远程 MySQL 请求，若你使用的 MySQL 用户没有远程权限，则会出错。</description><pubDate>Fri, 31 Aug 2018 00:00:00 GMT</pubDate></item><item><title>修复 WSL 下 PHP+FastCGI 卡死的问题</title><link>https://n3m.org/blog/wsl-php-freezed-fix/</link><guid isPermaLink="true">https://n3m.org/blog/wsl-php-freezed-fix/</guid><description>症状 Windows 10 版本 1803 + Ubuntu 18.04 以 Nginx 服务端为例，访问多数 PHP 文件，PHP 会直接卡死。 访问那些极其简单的 PHP 文件 (例如Hello world, phpinfo()) 虽然可以加载出来但浏览器显示网页仍未加载完全。 原因 你肯定用了 Unix Socket 方式连接 Nginx 和 PHP，</description><pubDate>Fri, 31 Aug 2018 00:00:00 GMT</pubDate></item></channel></rss>