会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lshan
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
87
下一页
2022年2月18日
java使用AES加密解密 AES-128-ECB加密 (常用接口加密方式)
摘要: 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)
2022年1月14日
ubuntu18.04录屏软件kazam
摘要: sudo apt-get install kazam 安装好之后可以在终端启动也可以在应用中心启动。 录制完成会自动保存在home目录下的视频文件夹
阅读全文
posted @ 2022-01-14 18:17 lshan
阅读(443)
评论(0)
推荐(0)
2022年1月12日
redis 6.2.6 集群高可用安装 (docker)
该文被密码保护。
阅读全文
posted @ 2022-01-12 19:45 lshan
阅读(1)
评论(0)
推荐(0)
2022年1月11日
ubuntu20.04 修改 DNS ip
摘要: 直接用 nmtui 修改 在nmtui界面中,选择”Edit a connection”,然后选择”Connection 1″。这将列出所有已配置的网络连接,可以对其进行编辑、删除和添加。每个连接都对应一个配置文件,保存在/etc/NetworkManager/system-connections/
阅读全文
posted @ 2022-01-11 11:15 lshan
阅读(3908)
评论(0)
推荐(1)
2022年1月10日
properties to json (通过前缀手动创建json, bean) propsutils & ( yml ymal 转json)
摘要: 问题: 动态修改配置文件,让服务感知,动态刷新内存中的数据,立马生效 此时需要手动将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)
2021年12月22日
springboot 运行时复制jar中的文件夹到本地 FileUtils
摘要: 场景: springboot项目运行时从配置文件夹 加载多个配置,读取路径:Paths.get("src/main/resources/conf"), 在idea中运行是可以读取到的 但是以jar 的方式运行,加载jar中的文件夹,配置无法加载. 换成读取jar中的绝对路径 String path
阅读全文
posted @ 2021-12-22 11:50 lshan
阅读(1563)
评论(0)
推荐(0)
2021年12月21日
Drill 常用时间函数 drill
摘要: 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)
2021年12月16日
SpiderHttpUtils (java 爬虫工具类& xpathutils, httputils)
该文被密码保护。
阅读全文
posted @ 2021-12-16 18:55 lshan
阅读(0)
评论(0)
推荐(0)
2021年12月8日
mongo 对数组元素及内嵌文档进行增删改查操作
摘要: springboot 2.2.5 比如我有一个user类,他包含一个标签属性,这个标签是一个数组,数组里面的元素是内嵌文档,格式如下: { "_id" : "195861", "tags" : [ { "tagId" : NumberLong(766), "optDate" : ISODate("2
阅读全文
posted @ 2021-12-08 10:28 lshan
阅读(944)
评论(0)
推荐(0)
2021年12月3日
tesseract 4.1 训练(train)-- 基于jTessBoxEditorFX
摘要: 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
下一页