摘要: 问题 使用git clone命令克隆文件出现error: RPC failed; 场景 Github拉去开源项目,仅仅使用的谷歌同步助手,没有科学sahngwang。 原因 代理网速过慢,使用科学shangwang换新节点 解决方案 代理网速过慢,使用科学sw换新节点,网速快即可解决。 其他方案原因 阅读全文
posted @ 2022-11-19 16:27 Code7Rain 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 问题、场景、需求(也可) git提示Can't update(master has no tracked branch) 场景 gitlab迁移到gitee项目 绑定新的地址发现报错多分支 原因 本地分支和远程分支没有关联,需要关联远程分支 解决方案 git push --set-upstream 阅读全文
posted @ 2022-11-19 16:22 Code7Rain 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 问题 centos7.x 报错: /usr/libexec/grepconf.sh: line 5: grep: command not found 场景 centos7.x修改java环境变量,保存后输入命令都不存在报错 原因 centos7.x修改java环境变量时环境变量配错 解决方案 输入 阅读全文
posted @ 2022-11-19 16:19 Code7Rain 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 问题 Centos7.x初始化数据库时 执行命令行mysqld --initialize --user mysql报错: ./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object fi 阅读全文
posted @ 2022-11-19 16:09 Code7Rain 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 问题 Valine、Waline评论失效,评论失败,FQ可以评论成功。 场景 Hexo主题Butterfly添加评论功能 原因 由于 Valine 的国际版共享域名将于 2022 年 8 月 1 日起不再向中国大陆的最终用户提供服务,国际版共享域名仅服务于海外用户。 解决方案 关于waline国内无 阅读全文
posted @ 2022-11-19 15:38 Code7Rain 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 问题 Hexo主题Butterfly启动后报错 extends includes/layout.pug block content include ./includes/mixins/post-ui .pug #recent-posts.recent-posts +postUI include in 阅读全文
posted @ 2022-11-19 15:38 Code7Rain 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 引入Local search 本地搜索 效果 安装hexo-generator-search npm install hexo-generator-search --save 添加配置 在全局配置文件_config.yml文件中添加配置: search: path: search.xml field 阅读全文
posted @ 2022-11-19 15:30 Code7Rain 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 效果 新建css文件 引入css改变页面的样式,推荐在一个自己新建目录创建。有人选择在主题文件夹下找到css文件夹(\themes\Butterfly\source\css),这样系统升级可能会把自己的代码覆盖掉。本人是在Blog\CodeRain\source\css新建一个transpancy. 阅读全文
posted @ 2022-11-19 12:59 Code7Rain 阅读(1088) 评论(0) 推荐(0) 编辑