摘要: 1.原因 原因是笔记本开启了热点 关闭热点后即可正常使用,这个bug在6.5版本存在,未知兼容方法 阅读全文
posted @ 2022-12-02 11:39 岑惜 阅读(975) 评论(0) 推荐(1)
摘要: 1.背景 根据提示 最小化安装完成后 我安装的版本为 CentOS Linux release 7.8.2003 (Core) 2.设置linux网卡 cd /etc/sysconfig/network-scripts 找到文件 ifcfg-ens + 数字如vi ifcfg-ens33 修改内容 阅读全文
posted @ 2022-12-02 11:23 岑惜 阅读(937) 评论(0) 推荐(0)
摘要: 解决高版本安装解析失败问题 需在启动项后面加上 android:exported=“true” 阅读全文
posted @ 2022-12-02 10:45 岑惜 阅读(63) 评论(0) 推荐(0)
摘要: <div style="transform: perspective(1000px) rotateX(57deg);transform-style: preserve-3d;"> <div style="animation: ind666 linear 4s infinite;"> 这里放下你喜欢的 阅读全文
posted @ 2022-12-02 10:41 岑惜 阅读(57) 评论(0) 推荐(0)
摘要: 1.调用 if (StringUtil.equals(HotCacheData.os, "linux")) { msg = processVideo(filePath, n, targetUrl); } else { if (StringUtil.isEmpty(HotCacheData.ffmpe 阅读全文
posted @ 2022-12-02 10:39 岑惜 阅读(224) 评论(0) 推荐(0)
摘要: String msg = ""; Process process = null; try { ProcessBuilder pb = new ProcessBuilder(); //因为process执行命令并不是像窗口中执行shell一样,所以需要添加参数,用于执行脚本 // pb.command 阅读全文
posted @ 2022-12-02 10:35 岑惜 阅读(206) 评论(0) 推荐(0)
摘要: reader = new InputStreamReader(in); LineNumberReader line = new LineNumberReader(reader); String str = null; while ((str = line.readLine()) != null) { 阅读全文
posted @ 2022-12-02 10:31 岑惜 阅读(49) 评论(0) 推荐(0)
摘要: 需要提前开启 set global log_bin_trust_function_creators=TRUE; 阅读全文
posted @ 2022-12-02 10:26 岑惜 阅读(53) 评论(0) 推荐(0)
摘要: 查看系统磁盘数据 df -h 查看文件夹占用磁盘大小 du -sh /* 阅读全文
posted @ 2022-12-02 10:25 岑惜 阅读(52) 评论(0) 推荐(0)
摘要: 执行 config set stop-writes-on-bgsave-error no 具体请参考这篇博客 https://blog.csdn.net/qq_45047809/article/details/112529734 阅读全文
posted @ 2022-12-02 10:24 岑惜 阅读(41) 评论(0) 推荐(0)
摘要: 原因是xmlbeans版本不对导致 版本参考 poi -版本兼容 与 xmlbeans版本说明 - 岑惜 - 博客园 (cnblogs.com) 阅读全文
posted @ 2022-12-02 10:21 岑惜 阅读(668) 评论(0) 推荐(0)
摘要: poi升级到4.0以上,需要将xmlbeans到3以上 目前的版本对应 poi 4.1.2 和 xmlbeans 3.1.0 poi 3.17 和 xmlbeans 2.6.0 阅读全文
posted @ 2022-12-02 10:21 岑惜 阅读(3836) 评论(0) 推荐(0)
摘要: 1.背景 springboot 加入websocket,需要配置ServerEndpointExporter的bean,发现没法识别 2.原因 springboot 内置了tomcat,内置 的tomcat与websocket不兼容,因此需要将 -start-web里的tomcat排除掉即可 3.解 阅读全文
posted @ 2022-12-02 10:18 岑惜 阅读(3682) 评论(0) 推荐(0)
摘要: 1.背景 工程使用了百度的离线ocr,需要 导入资源,在提交仓库后拉代码,发现资源文件table改变了,很是奇怪 最后发现是git在win的自动转换格式问题导致 2.原因 不同操作系统使用的换行符是不一样的。Unix/Linux使用的是LF,Mac后期也采用了LF,但Windows一直使用CRLF【 阅读全文
posted @ 2022-12-02 10:02 岑惜 阅读(58) 评论(0) 推荐(0)