上一页 1 2 3 4 5 6 ··· 53 下一页
  2022年2月18日
摘要: PHP "??"判断null时返回false ,判断0或“”空时返回true. 阅读全文
posted @ 2022-02-18 13:44 caigan 阅读(31) 评论(0) 推荐(0) 编辑
  2022年1月20日
摘要: 对于带 斜杠/ 的数组进行 json_encode 时,会给 / 转义转成 \/ 对于如下数组 $a,现有两种办法解决: 1 2 3 4 5 6 7 $a = array( 'http://www.baidu.com', 'http://www.baidu.com', 'http://www.bai 阅读全文
posted @ 2022-01-20 12:45 caigan 阅读(164) 评论(0) 推荐(0) 编辑
  2021年12月8日
摘要: InnoDB行锁类型 共享锁(S):允许一个事务去读取一行,阻止其他事务获取相同数据集的排他锁。 排他锁(X):允许获得排他锁的事务更新数据,组织其他事务获取相同数据集的共享锁和排他锁。 加锁方式 共享锁(S):select * from table_name where ... lock in s 阅读全文
posted @ 2021-12-08 10:15 caigan 阅读(371) 评论(0) 推荐(0) 编辑
摘要: vscode搜索phpstorm,将相关插件安装即可 阅读全文
posted @ 2021-12-08 09:38 caigan 阅读(117) 评论(0) 推荐(0) 编辑
  2021年12月7日
摘要: 会提示Integer display width is deprecated and will be removed in a future release:整数显示宽度已弃用,将在以后的版本中删除 解决方法:不指定宽度如:INT 后面不要加宽度 Integer display width is d 阅读全文
posted @ 2021-12-07 14:18 caigan 阅读(3420) 评论(0) 推荐(0) 编辑
  2021年12月2日
摘要: windows上docker环境搭建一.wsl2安装 1、 为 Linux 启用 Windows 子系统 dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart2、 阅读全文
posted @ 2021-12-02 16:01 caigan 阅读(52) 评论(0) 推荐(0) 编辑
  2021年9月5日
摘要: 一,安装android studio失败,官网下载不了,通过跳板机安装 1.指定JAVA_HOME CLASSPATH GRADLE_HOME(安装gradle) 2.build菜单中没有打包功能。原因是,打开安卓项目时,studio会调用gradle自动构建项目,如果不成功,将不出现打包功能。 查 阅读全文
posted @ 2021-09-05 23:34 caigan 阅读(61) 评论(0) 推荐(0) 编辑
  2021年8月31日
摘要: 稳定版总是不生效,后来改装beta装就生效了 阅读全文
posted @ 2021-08-31 19:08 caigan 阅读(477) 评论(0) 推荐(0) 编辑
  2021年8月30日
摘要: 1.安装python2.7,并配置环境变量pyhon2 2. MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。 解决方法:npm install --global --production windows-build-tools (全 阅读全文
posted @ 2021-08-30 10:13 caigan 阅读(672) 评论(0) 推荐(0) 编辑
  2021年8月24日
摘要: 1、application.properties文件中关闭缓存spring.thymeleaf.cache=fasle 2、设置项目自动编译 配置好上面两步后,项目还是不能自动进行热部署或自动编译,原因maven未对项目进行编译到target相应的目录中。则进行操作第三步骤。 3、Ctrl+Shif 阅读全文
posted @ 2021-08-24 15:57 caigan 阅读(756) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 53 下一页