图片批量命名-时间升序

This Python script renames and reorders image files in a specified directory based on their modification time. It supports both prefix-less and prefix-based renaming. The script copies the files to an output directory with new names sequentially from 001.


python脚本打包成.exe可执行文件

This article provides a guide for packaging Python scripts into standalone executable files using PyInstaller. It covers how to install the tool, create a script with functions to detect duplicate files, and package the script into a .exe file. The process is ideal for distributing and running Python applications on Windows platforms.


处理重复文件

This Python script finds and handles duplicate files in a given directory. It calculates file hashes to identify duplicates, then deletes or moves them based on specified actions. The script walks through the directory, checks file hashes, and processes duplicates accordingly.


图片批量命名+webp转换

This Python script renames and converts PDF files in a directory to WebP format. It first renames images with a prefix and number, then converts them to WebP. If the new name already exists, it skips the file. The script also supports renaming images without a prefix and converting them to WebP.


图片批量转webp

The article discusses the process of converting images to WebP format using Python, addressing the limitations of online tools such as speed and convenience. It provides a Python script that bulk converts images from PNG, JPG, and JPEG to WebP format, suitable for high-quality image display. The code creates an output directory, iterates through source images, and saves each file as a WebP, ensuring efficient and user-friendly conversion.


和平精英异地/异设备人脸

换新设备后,和平精英游戏出现人脸验证问题。解决方法包括下载爱加速应用,确保两台设备连接相同地区的服务器,将人脸验证链接通过QQ发送至另一设备,并在验证前断网以避免直接跳出人脸验证。另一设备完成验证后,原设备点击完成验证即可解决。


阿里云maven-MySQL依赖避坑

在使用阿里云Maven仓库时,尝试拉取MySQL依赖`mysql:mysql-connector-java`时遇到错误,提示无法找到该依赖。错误原因是仓库中未找到该依赖,且本地缓存未更新。解决方法是将依赖替换为`com.mysql:mysql-connector-j`,并建议使用`-U`标记强制更新Maven快照以解决问题。


NVM-node版本管理器

在帮助同学解决前端依赖拉取失败问题时,发现原因是证书过期。尝试更换镜像源和忽略SSL验证错误均未成功,最终决定卸载Node 18.0.0并安装NVM(Node Version Manager)。安装NVM后,成功下载并管理不同版本的Node,配置了淘宝镜像源以加速依赖下载。NVM的使用包括安装、查看、切换和卸载Node版本,解决了依赖拉取问题。


植物大战僵尸【杂交版】无尽阵容(过度)

此阵容适用于搭梯子的过渡或休闲模式,通过缩减机枪行、增加坑洞来防矿工,减少损耗以达成挂机,非必须搭梯。黄油老祖与曾哥的5路输出足够强大。后期可逐渐增加梯子,提高输出。详情参考《植物大战僵尸【杂交版】无尽攻略》。