摘要: 1:打开php.ini2:opcache.enable=1改为opcache.enable=0即可 阅读全文
posted @ 2023-12-06 16:51 码农骆驼 阅读(15) 评论(0) 推荐(0) 编辑
摘要: M1芯片默认使用的arm64架构,可以使用如下命令查看:uname -a 当我安装了brew(https://www.cnblogs.com/rxbook/p/16377843.html), 再使用brew安装kafka、librdkafka、php-rdkafka 的时候,都是没问题的,参考 ht 阅读全文
posted @ 2022-06-22 18:22 码农骆驼 阅读(4473) 评论(0) 推荐(0) 编辑
摘要: golang 使用 “gopkg.in/mgo.v2” 查询mongo总结。mongo的增加,更新和删除操作比较简单,查询操作相对灵活复杂一些,下面对golang 查询 mongo 做个总结。完整代码上传到了 https://gitee.com/truthalone/go-mongo.git 。 1 阅读全文
posted @ 2021-08-19 16:07 码农骆驼 阅读(2563) 评论(0) 推荐(1) 编辑
摘要: 【DataBase】Hsqldb的简单使用 介绍 HSQLDB是一个开放源代码的JAVA数据库,其具有标准的SQL语法和JAVA接口,它可以自由使用和分发,非常简洁和快速的。具有Server模式,每个程序需要不同的命令来运行。 HyperSQL数据库(HSQLDB)是一种现代关系数据库系统。版本2. 阅读全文
posted @ 2024-04-22 14:08 码农骆驼 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-04-17 14:24 码农骆驼 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Mac 修改“启动台”图标数量 打开终端,执行: defaults write com.apple.dock springboard-columns -int 9 defaults write com.apple.dock springboard-rows -int 6 defaults write 阅读全文
posted @ 2024-04-15 12:11 码农骆驼 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 废话不多说,打开cmd: reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve taskkill /f /im explorer.exe & sta 阅读全文
posted @ 2024-04-13 22:08 码农骆驼 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 如果大家正在使用一个未曾导入(import)过的类,或者它的静态方法或者静态字段,IDEA 会给出对应的建议,只要按下 ⌥(option)和回车就可以接受建议。 但我觉得这样做仍然很麻烦,不够智能化。怎么办呢? 打开 IDEA 的首选项,找到 Editor | General | Auto Impo 阅读全文
posted @ 2024-03-22 13:15 码农骆驼 阅读(86) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_40768312/article/details/134314296 Maven项目中在pom.xml中添加依赖包1、查找需要的依赖包 例如:easypoi-base地址:https://mvnrepository.com/搜索:easypoi-ba 阅读全文
posted @ 2024-03-12 10:55 码农骆驼 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 在使用 Git 进行版本控制时,有时候会遇到在文件中出现了 ^M 字符的情况。这个问题通常出现在 Windows 操作系统中,并且会影响文件在不同操作系统之间的可移植性。 ^M 字符是回车符的表示,在 Windows 操作系统中,每个文本行的结尾都是由回车符 (\r) 和换行符 (\n) 组成的,而 阅读全文
posted @ 2024-03-04 15:52 码农骆驼 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 由于Nginx权限问题,导致访问网站的CSS失败。 阅读全文
posted @ 2024-02-19 16:12 码农骆驼 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 本文亲测可用。老版本macos方法:1、打开网页,https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash全选,复制内容。2、在~/.bash_profile文件(如果没有需要创建) 阅读全文
posted @ 2024-01-31 17:19 码农骆驼 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 新建一个类: public class Factorial { public static void main(String[] args) { System.out.println(add(2,3)); } public static int add(int a, int b){ return a 阅读全文
posted @ 2024-01-30 15:53 码农骆驼 阅读(70) 评论(0) 推荐(0) 编辑