2021-04-25 No module named yum错误的解决办法 解决 "No module named yum" 错误的方法 简介 当在 CentOS 或 Red Hat 系统上运行 Python 脚本时遇到 "No module named yum" 错误时,这通常表示您的系统缺少 yum 模块... 阅读全文
2021-04-24 阿里云 Centos6.5 yum install 时会遇到类似如下404等错误 阿里云 Centos6.5 yum install时会遇到类似如下404等错误: 进入 /etc/yum.repos.d/目录 修改下面文件 CentOS-Base.repo、epel.repo 把CentOS-Base.repo文件... 阅读全文
2020-12-02 解决git冲突:please move or remove them before you can merge 问题:使用git,pull代码时报错:please move or remove them before you can merge 意思:请在合并之前移动或删除它们 造成的原因:本地修改时与远端提交的代码冲突而又没有merge合并 ... 阅读全文
2020-10-18 Git error: The following untracked working tree files would be overwritten by merge: 解决 "The following untracked working tree files would be overwritten by merge" 错误的方法 简介 在使用 Git 进行合并操作时,有时可能会遇到以下错误消息:... 阅读全文
2020-09-16 Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 匹配中文字符正则表达式抛错 如上 [u4e00-u9fa5]可以匹配中文,但是PHP又不支持 可以使用[\x80-\xff]{2,4} 支持匹配全角字符. 知道了php中utf-8编码下用正则表达式匹配汉字的最终正确表达式—— /^[... 阅读全文