上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 87 下一页
摘要: import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; /** * * @author Administrator * */ 阅读全文
posted @ 2022-02-18 14:08 lshan 阅读(1592) 评论(0) 推荐(0)
摘要: sudo apt-get install kazam 安装好之后可以在终端启动也可以在应用中心启动。 录制完成会自动保存在home目录下的视频文件夹 阅读全文
posted @ 2022-01-14 18:17 lshan 阅读(443) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-01-12 19:45 lshan 阅读(1) 评论(0) 推荐(0)
摘要: 直接用 nmtui 修改 在nmtui界面中,选择”Edit a connection”,然后选择”Connection 1″。这将列出所有已配置的网络连接,可以对其进行编辑、删除和添加。每个连接都对应一个配置文件,保存在/etc/NetworkManager/system-connections/ 阅读全文
posted @ 2022-01-11 11:15 lshan 阅读(3908) 评论(0) 推荐(1)
摘要: 问题: 动态修改配置文件,让服务感知,动态刷新内存中的数据,立马生效 此时需要手动将properties 转 bean , 替换内存数据 1. properties 转Json 2.yml 转Json 1. properties 转Json eg: properties: name = sea ad 阅读全文
posted @ 2022-01-10 10:35 lshan 阅读(773) 评论(0) 推荐(0)
摘要: 场景: springboot项目运行时从配置文件夹 加载多个配置,读取路径:Paths.get("src/main/resources/conf"), 在idea中运行是可以读取到的 但是以jar 的方式运行,加载jar中的文件夹,配置无法加载. 换成读取jar中的绝对路径 String path 阅读全文
posted @ 2021-12-22 11:50 lshan 阅读(1563) 评论(0) 推荐(0)
摘要: doc: https://drill.apache.org/docs/date-time-functions-and-arithmetic/ 最底部是MySQL常用日期 转换函数 date_format(now(), '%Y-%m-%d %H:%i:%S') Drill 时间常用案例: unix_t 阅读全文
posted @ 2021-12-21 15:26 lshan 阅读(419) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2021-12-16 18:55 lshan 阅读(0) 评论(0) 推荐(0)
摘要: springboot 2.2.5 比如我有一个user类,他包含一个标签属性,这个标签是一个数组,数组里面的元素是内嵌文档,格式如下: { "_id" : "195861", "tags" : [ { "tagId" : NumberLong(766), "optDate" : ISODate("2 阅读全文
posted @ 2021-12-08 10:28 lshan 阅读(944) 评论(0) 推荐(0)
摘要: EVN: Ubuntu16.04 1.安装 tessract-orc 1.1.tesseract-ocr安装 ( 默认安装路径:/usr/share/tesseract-ocr/4.00/tessdata) sudo add-apt-repository ppa:alex-p/tesseract-o 阅读全文
posted @ 2021-12-03 12:32 lshan 阅读(1586) 评论(2) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 87 下一页