会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuli_warriors
博客园
首页
新随笔
联系
订阅
管理
2023年10月19日
镜像漏洞扫描
摘要: 1.brew install trivy 2.trivy image --severity CRITICAL -f json -o {xxx}.json {imagesName}:{tag} --timeout 10h0m0s
阅读全文
posted @ 2023-10-19 11:05 liuli_warriors
阅读(8)
评论(0)
推荐(0)
2023年9月19日
异步任务创建
摘要: 1.首先加入一个 init 方法进行异步初始化操作 private ExecutorService executorService; @PostConstruct public void init() { executorService = new ThreadPoolExecutor( Runti
阅读全文
posted @ 2023-09-19 10:20 liuli_warriors
阅读(11)
评论(0)
推荐(0)
2022年8月8日
Linux中tar分卷压缩与解压缩
摘要: 举例:将10G大小的log文件2017.log打包压缩并分割成多个2000m的文件 #分卷压缩 tar zcf - xxx |split -b 2000m - xxx_v2.0.tar.gz. #合并分卷解压缩 cat xxx.tar.gz.a* | tar -xzv
阅读全文
posted @ 2022-08-08 14:21 liuli_warriors
阅读(981)
评论(0)
推荐(0)
2021年11月4日
JFreechart乱码问题
摘要: cd /home/work/tools/jdk1.8.0_202/jre/lib/fonts 创建fallback 文件夹 拷贝simsun文件到fallback下 docker cp simsun.ttc d65c9e1f95ac:/home/work/tools/jdk1.8.0_202/jre
阅读全文
posted @ 2021-11-04 14:20 liuli_warriors
阅读(28)
评论(0)
推荐(0)
2020年12月3日
JWT
摘要: 什么是jwt jsonwebtoken (JWT)是一个开放标准(rfc7519).它定义了一种紧凑的,自包含式的方式,用于在各方之间以JSON对象安全地传输信息,此信息可以验证和信任,因为他是数字签名的,jwt可以使用秘密(使用HMAC算法)或使用RSA或ECDSA的公钥/私钥对进行签名 通俗解释
阅读全文
posted @ 2020-12-03 13:47 liuli_warriors
阅读(249)
评论(0)
推荐(0)
2020年10月23日
使用python+opencv连接网络摄像头画人脸框
摘要: # 获取rtsp流在 frame中实时检测 import cv2 faceCasCade = cv2.CascadeClassifier("Resources/haarcascade_frontalface_default.xml") # 这个rtsp 流是网络控摄像头进行连接的 cap = cv2
阅读全文
posted @ 2020-10-23 18:43 liuli_warriors
阅读(601)
评论(0)
推荐(0)
2020年9月2日
SpringBoot整合Redis及Redis工具类撰写
摘要: 一.导入依赖 所依赖的springboot版本 1 <parent> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-parent</artifactId> 4 <version>2.1.
阅读全文
posted @ 2020-09-02 18:23 liuli_warriors
阅读(530)
评论(0)
推荐(0)
2020年7月29日
SpringCache缓存处理
摘要: 先导入springCache的缓存依赖 除了缓存的依赖和redis的依赖,下面的其他依赖可加可不加 1 <!--SpringCache配置--> 2 <dependency> 3 <groupId>org.springframework.boot</groupId> 4 <artifactId>sp
阅读全文
posted @ 2020-07-29 15:14 liuli_warriors
阅读(510)
评论(0)
推荐(0)
2020年7月27日
Docker命令操作容器
摘要: 首先安装Vagrant,和VirtualBox, Vagrant下载地址:https://www.vagrantup.com/VirtualBox下载地址:https://www.virtualbox.org/ wind+r cmd 输入vagrant看有没有装上 然后使用vagrant init
阅读全文
posted @ 2020-07-27 10:42 liuli_warriors
阅读(167)
评论(1)
推荐(0)
2020年7月1日
vue+bootstrap前端进行分页
摘要: 1.只需要导入bootstrap.js,jquery.js,vue.js,bootstrap.css <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-
阅读全文
posted @ 2020-07-01 11:57 liuli_warriors
阅读(402)
评论(0)
推荐(0)
下一页
公告