摘要: 例如,要找到不是:和。的换行,并去掉换行,保留前面的字符: 查找目标 ([^:。])\r\n 替换为 \1 这里的1是表示第1个分组,即括号中正则匹配中的字符。 * 在把pdf的文字复制到txt文件时会用到。 阅读全文
posted @ 2025-10-17 15:36 Clotho_Lee 阅读(5) 评论(0) 推荐(0)
摘要: network: version: 2 ethernets: enp0s3: addresses: [192.168.1.128/24] dhcp4: false routes: - to: default via: 192.168.1.1 nameservers: addresses: [114. 阅读全文
posted @ 2025-09-30 08:52 Clotho_Lee 阅读(5) 评论(0) 推荐(0)
摘要: 1.打开配置文件 sudo vim /etc/apt/sources.list.d/ubuntu.sources 2.修改配置文件 # Ubuntu 24.04 (Noble) 官方源 Types: deb URIs: https://mirrors.aliyun.com/ubuntu/ Suite 阅读全文
posted @ 2025-09-30 08:31 Clotho_Lee 阅读(296) 评论(0) 推荐(0)
摘要: 新版VirtualBox安装和运行Ubuntu时报以下错误: vmwgfx 0000:00:0Z.0 [drm] *ERROR* vmwgfx seems to be running on an unsupported hypervisor. vmwgfx 0000:00:0Z.0 [drm] *E 阅读全文
posted @ 2025-09-29 14:46 Clotho_Lee 阅读(57) 评论(0) 推荐(0)
摘要: 1.下载包 wget https://download.redis.io/releases/redis-7.4.2.tar.gz 2.解压 tar -zxvf redis-7.4.2.tar.gz 3.进入目录 cd redis-7.4.2 4.安装编译环境 apt install gcc tcl 阅读全文
posted @ 2025-02-28 16:09 Clotho_Lee 阅读(157) 评论(0) 推荐(0)
摘要: PyCharm关闭时提示Closing project,且停顿很久,像卡住一样。 解决方法: PyCharm菜单 -> Help -> Find Action -> 输入Registry,点击Registry.. -> 找到ide.await.scope.completion -> 去掉勾选 阅读全文
posted @ 2024-11-10 22:52 Clotho_Lee 阅读(379) 评论(0) 推荐(0)
摘要: 背景: edge会自动把pdf文件的关联修改回来 方法1: 1.运行 -> regedit 2.注册表展开到以下路径: HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersio 阅读全文
posted @ 2024-06-08 15:51 Clotho_Lee 阅读(2033) 评论(0) 推荐(0)
摘要: Windows 11,右键菜单 -> 新建菜单 -> BMP图像(英文版是Bitmap image) 方法 1.开始菜单 -> 运行 -> regedit -> 回车 2.展开树到以下项: HKEY_CLASSES_ROOT\Local Settings\MrtCache\C:%5CProgram 阅读全文
posted @ 2024-05-27 00:27 Clotho_Lee 阅读(4077) 评论(1) 推荐(2)
摘要: 1.使用记事本新建一个.bat后缀的批处理文件 del %appdata%\Microsoft\InputMethod\Chs\*.tmp 2.Win+R运行,输入以下路径,将.bat批处理文件复制到该目录下 %AppData%\Microsoft\Windows\Start Menu\Progra 阅读全文
posted @ 2024-02-24 21:42 Clotho_Lee 阅读(293) 评论(0) 推荐(0)
摘要: Photoshop 1.0: 1990年Photoshop 2.0: 1991年Photoshop 3.0: 1994年Photoshop 4.0: 1997年Photoshop 5.0: 1998年Photoshop 6.0: 2000年Photoshop 7.0: 2002年Photoshop 阅读全文
posted @ 2024-01-05 19:10 Clotho_Lee 阅读(1323) 评论(0) 推荐(0)