<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[HeLiang7的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/HeLiang7</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; HeLiang7]]></copyright><item><title><![CDATA[MySQL 8 zip包版 windows 安装]]></title><link>https://blog.csdn.net/HeLiang7/article/details/164806724</link><guid>https://blog.csdn.net/HeLiang7/article/details/164806724</guid><author>HeLiang7</author><pubDate>Thu, 10 Sep 2026 09:35:28 +0800</pubDate><description><![CDATA[本文详细介绍了在Windows系统上通过ZIP包安装MySQL 8的步骤：下载解压后配置环境变量，创建my.ini配置文件，以管理员身份执行mysqld --initialize --console初始化数据库并记录临时密码，随后使用mysqld --install安装服务，启动服务后用临时密码登录，修改root用户密码完成配置。注意事项包括安装VC++运行库及数据目录重置方法。]]></description><category></category></item><item><title><![CDATA[proguard 混淆 使用JDK17 的 springboot4 + JPA]]></title><link>https://blog.csdn.net/HeLiang7/article/details/161506452</link><guid>https://blog.csdn.net/HeLiang7/article/details/161506452</guid><author>HeLiang7</author><pubDate>Fri, 29 May 2026 09:35:28 +0800</pubDate><description><![CDATA[本文介绍了Spring Boot项目使用ProGuard进行代码混淆的配置方法。关键点包括：1) pom.xml中ProGuard插件需置于Spring Boot打包插件之前；2) 提供详细的proguard.cfg配置文件，保留Spring注解类、JPA实体、DTO等关键元素；3) 解决了stackmap验证失败问题。文中还总结了不同组件（如Controller、Service、JPA等）的混淆保留规则，并解释了保留这些元素的原因，主要是为了避免Spring反射机制和JPA映射等功能因混淆而失效。]]></description><category></category></item><item><title><![CDATA[【DIFY】插件安装错误问题解决]]></title><link>https://blog.csdn.net/HeLiang7/article/details/161395068</link><guid>https://blog.csdn.net/HeLiang7/article/details/161395068</guid><author>HeLiang7</author><pubDate>Mon, 25 May 2026 16:07:07 +0800</pubDate><description><![CDATA[DIFY插件安装错误分析与解决方案]]></description><category></category></item><item><title><![CDATA[spring security 无法获取登录用户]]></title><link>https://blog.csdn.net/HeLiang7/article/details/156608569</link><guid>https://blog.csdn.net/HeLiang7/article/details/156608569</guid><author>HeLiang7</author><pubDate>Mon, 05 Jan 2026 16:04:08 +0800</pubDate><description><![CDATA[摘要：Spring Boot从2.7.x升级到3.5.x导致Spring Security默认持久化行为变更，不再自动保存SecurityContext。官方文档说明需显式保存。解决方案二选一：1) 在SecurityFilterChain配置中添加.requireExplicitSave(false)恢复自动保存；2) 在登录控制器中手动保存，通过注入SecurityContextRepository，在认证成功后调用saveContext()方法显式存储安全上下文。两种方式均可解决因版本升级导致的会话保]]></description><category></category></item><item><title><![CDATA[WIN11 Docker Desktop 安装问题解决]]></title><link>https://blog.csdn.net/HeLiang7/article/details/148365010</link><guid>https://blog.csdn.net/HeLiang7/article/details/148365010</guid><author>HeLiang7</author><pubDate>Sun, 01 Jun 2025 12:17:02 +0800</pubDate><description><![CDATA[解决Windows Docker Desktop启动问题摘要 在Windows 10系统上安装Docker Desktop后若启动失败，可通过以下步骤解决： 安装Virtual Machine Platform功能（控制面板→程序→启用Windows功能） 直接下载安装WSL安装包（GitHub releases页面），无需使用wsl --update命令 注：部分操作可能需要特殊网络访问方式。系统版本可通过命令行&quot;ver&quot;命令查看。]]></description><category></category></item><item><title><![CDATA[SPRINGBOOT HTTP REQUEST 打印]]></title><link>https://blog.csdn.net/HeLiang7/article/details/142913782</link><guid>https://blog.csdn.net/HeLiang7/article/details/142913782</guid><author>HeLiang7</author><pubDate>Mon, 14 Oct 2024 11:27:54 +0800</pubDate><description><![CDATA[【代码】SPRINGBOOT HTTP REQUEST 打印]]></description><category></category></item><item><title><![CDATA[JPA 多对多关系双向删除（Remove Entity with Many-to-Many Relationship in JPA）]]></title><link>https://blog.csdn.net/HeLiang7/article/details/138843556</link><guid>https://blog.csdn.net/HeLiang7/article/details/138843556</guid><author>HeLiang7</author><pubDate>Tue, 14 May 2024 10:20:50 +0800</pubDate><description><![CDATA[参考：]]></description><category></category></item><item><title><![CDATA[Spring Data JPA specification 集合条件(in)查询]]></title><link>https://blog.csdn.net/HeLiang7/article/details/138719667</link><guid>https://blog.csdn.net/HeLiang7/article/details/138719667</guid><author>HeLiang7</author><pubDate>Sat, 11 May 2024 16:06:25 +0800</pubDate><description><![CDATA[参考：]]></description><category></category></item><item><title><![CDATA[Javascript 文件 md5]]></title><link>https://blog.csdn.net/HeLiang7/article/details/136911968</link><guid>https://blog.csdn.net/HeLiang7/article/details/136911968</guid><author>HeLiang7</author><pubDate>Thu, 21 Mar 2024 16:08:49 +0800</pubDate><description><![CDATA[使用 sparkmd5。]]></description><category></category></item><item><title><![CDATA[SPRINGBOOT redis cache TTL 配置多缓存解决]]></title><link>https://blog.csdn.net/HeLiang7/article/details/128627008</link><guid>https://blog.csdn.net/HeLiang7/article/details/128627008</guid><author>HeLiang7</author><pubDate>Tue, 10 Jan 2023 11:41:02 +0800</pubDate><description><![CDATA[如果需要和其他系统公用缓存，用Jackson的RedisSerializer，这里直接jdk的序列化。Spring为了兼容多Cache，注解@Cacheable没有直接TTL参数。可以简单配置2个redis cache，一个指定固定TTL，一个长期缓存。需要长期存储的，使用 默认cacheManager即可。如果需要TTL，使用注解。]]></description><category></category></item><item><title><![CDATA[SPRINGBOOT jar 包运行404，view名前斜杠问题]]></title><link>https://blog.csdn.net/HeLiang7/article/details/126994161</link><guid>https://blog.csdn.net/HeLiang7/article/details/126994161</guid><author>HeLiang7</author><pubDate>Thu, 22 Sep 2022 16:24:21 +0800</pubDate><description><![CDATA[controller方法中开发运行正常，JAR包运行404改为后运行正常。]]></description><category></category></item><item><title><![CDATA[Springboot 基本类型参数验证]]></title><link>https://blog.csdn.net/HeLiang7/article/details/123900073</link><guid>https://blog.csdn.net/HeLiang7/article/details/123900073</guid><author>HeLiang7</author><pubDate>Fri, 01 Apr 2022 15:55:18 +0800</pubDate><description><![CDATA[Bean类型验证网上很多，但是基本类型的验证直接使用下面的方式是无效的。


@GetMapping("t2")
public ResponseEntity&lt;String&gt; t2(@Validated @Size(min = 5, max = 9) String user) {
     return new ResponseEntity&lt;&gt;("t2", HttpStatus.OK);
}

需要在类上使用@Validated才能生效。


@RestController
@Requ]]></description><category></category></item><item><title><![CDATA[python图片转PDF]]></title><link>https://blog.csdn.net/HeLiang7/article/details/105243289</link><guid>https://blog.csdn.net/HeLiang7/article/details/105243289</guid><author>HeLiang7</author><pubDate>Wed, 01 Apr 2020 12:36:45 +0800</pubDate><description><![CDATA[发现网上的图片批处理和转pdf都要收费，自己用python就写了两段代码用。
图片旋转，调整大小，并保持灰度图
需要安装numpy 和 scikit-image
from skimage import io, transform, color
import numpy as np


def convert_gray(f):
    rgb = io.imread(f)  # 依次读取rgb图片
...]]></description><category></category></item><item><title><![CDATA[windwos10  TTS SAPI 文本存wav文件]]></title><link>https://blog.csdn.net/HeLiang7/article/details/103499529</link><guid>https://blog.csdn.net/HeLiang7/article/details/103499529</guid><author>HeLiang7</author><pubDate>Wed, 11 Dec 2019 21:01:02 +0800</pubDate><description><![CDATA[安装pywin32，使用com，参考MS

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms723627(v=vs.85)






import win32com.client as client

fileStream = client.Dispatch("SAPI.SpFileStream")
fi...]]></description><category></category></item><item><title><![CDATA[win10 2016 LTSB]]></title><link>https://blog.csdn.net/HeLiang7/article/details/82949881</link><guid>https://blog.csdn.net/HeLiang7/article/details/82949881</guid><author>HeLiang7</author><pubDate>Sat, 06 Oct 2018 11:31:10 +0800</pubDate><description><![CDATA[win10 2016 LTSB
win10 2016 长期服务版的ISO文件中本身就带有KMS激活KEY，不用输入任何KEY，连接网络进入CMD，只要输入：
slmgr /skms kms.digiboy.ir
slmgr /ato
这两条命令，就可以KMS激活。
转自https://blog.csdn.net/chaoyu168/article/details/79241506

...]]></description><category></category></item><item><title><![CDATA[欢迎使用CSDN-markdown编辑器]]></title><link>https://blog.csdn.net/HeLiang7/article/details/56489466</link><guid>https://blog.csdn.net/HeLiang7/article/details/56489466</guid><author>HeLiang7</author><pubDate>Wed, 22 Feb 2017 17:19:21 +0800</pubDate><description><![CDATA[Swagger,自定义模板,swagger-codegen]]></description><category></category></item><item><title><![CDATA[自家光猫的破解]]></title><link>https://blog.csdn.net/HeLiang7/article/details/53207119</link><guid>https://blog.csdn.net/HeLiang7/article/details/53207119</guid><author>HeLiang7</author><pubDate>Thu, 17 Nov 2016 21:13:11 +0800</pubDate><description><![CDATA[自家光猫的破解
HG221GS 2.0]]></description><category></category></item><item><title><![CDATA[JetBrains 全系列keygen源码（github链接）]]></title><link>https://blog.csdn.net/HeLiang7/article/details/46784845</link><guid>https://blog.csdn.net/HeLiang7/article/details/46784845</guid><author>HeLiang7</author><pubDate>Tue, 07 Jul 2015 09:19:40 +0800</pubDate><description><![CDATA[jetbrains 全系列 注册机 源码]]></description><category></category></item><item><title><![CDATA[centos 7 安装及部署 docker]]></title><link>https://blog.csdn.net/HeLiang7/article/details/44832399</link><guid>https://blog.csdn.net/HeLiang7/article/details/44832399</guid><author>HeLiang7</author><pubDate>Thu, 02 Apr 2015 15:08:49 +0800</pubDate><description><![CDATA[安装centos7比想象的麻烦点，因为是用U盘安装的。
具体可以参考这篇文章http://www.augsky.com/599.html


用ultraISO写入U盘后，启动到安装界面，需要按tab指定下U盘的参数，这个比较麻烦。


然后安装docker-io之前，先安装下

sudo yum install lvm2
然后再
sudo yum install docke]]></description><category></category></item><item><title><![CDATA[jruby部署（打包）]]></title><link>https://blog.csdn.net/HeLiang7/article/details/43529389</link><guid>https://blog.csdn.net/HeLiang7/article/details/43529389</guid><author>HeLiang7</author><pubDate>Thu, 05 Feb 2015 16:17:54 +0800</pubDate><description><![CDATA[主要使用warbler这个gem。
仔细阅读warble关于jar包的描述，发现需要目录结构大概是这样的。
启动文件，也就算是ruby程序的入口代码，需要放在bin目录下面。
其他文件放在lib目录下面，包括依赖的gem。


放置主要的ruby文件到lib下面当然没什么问题，但是依赖的gem就又要折腾一番了。


这里的原理大概是这样的，将gem打包成jar，并且在classp]]></description><category></category></item></channel></rss>