12 2021 档案
springboot 运行时复制jar中的文件夹到本地 FileUtils
摘要:场景: springboot项目运行时从配置文件夹 加载多个配置,读取路径:Paths.get("src/main/resources/conf"), 在idea中运行是可以读取到的 但是以jar 的方式运行,加载jar中的文件夹,配置无法加载. 换成读取jar中的绝对路径 String path 阅读全文
posted @ 2021-12-22 11:50 lshan 阅读(1432) 评论(0) 推荐(0) 编辑
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 阅读(371) 评论(0) 推荐(0) 编辑
SpiderHttpUtils (java 爬虫工具类& xpathutils, httputils)
该文被密码保护。
posted @ 2021-12-16 18:55 lshan 阅读(0) 评论(0) 推荐(0) 编辑
mongo 对数组元素及内嵌文档进行增删改查操作
摘要:springboot 2.2.5 比如我有一个user类,他包含一个标签属性,这个标签是一个数组,数组里面的元素是内嵌文档,格式如下: { "_id" : "195861", "tags" : [ { "tagId" : NumberLong(766), "optDate" : ISODate("2 阅读全文
posted @ 2021-12-08 10:28 lshan 阅读(920) 评论(0) 推荐(0) 编辑
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 阅读(1392) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示