会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
佐佐木绯世
博客园
首页
新随笔
联系
管理
上一页
1
2
3
下一页
2021年2月19日
Prometheus+Grafana+node-exporter监控
摘要: 一、安装 Prometheus Server 1.1、运行用户创建 groupadd prometheus useradd -g prometheus -d /opt/prometheus/ -s /sbin/nologin prometheus 1.2、prometheus server安装 下载
阅读全文
posted @ 2021-02-19 10:05 佐佐木绯世
阅读(774)
评论(0)
推荐(0)
2021年2月9日
解决.gitignore中删除.idea无效的问题
摘要: #修复 .gitignore 无效 git rm -r --cached . git add . git commit -m "fix: 修复 .gitignore 无效"
阅读全文
posted @ 2021-02-09 11:02 佐佐木绯世
阅读(91)
评论(0)
推荐(0)
2021年1月4日
获取每周每月开始结束日期
摘要: /** * 获取指定日期所在周的周日日期(周日为开始,周六为结束) * @param date 指定日期的LocalDate格式数据 * @return */ public static Date getStartDayOfWeek(TemporalAccessor date) { Temporal
阅读全文
posted @ 2021-01-04 16:35 佐佐木绯世
阅读(183)
评论(0)
推荐(0)
2020年8月10日
Springboot2.2.9整合Redis + ehcache2缓存(lettuce、RedisLockRegistry)
摘要: 一、先记录下一些遇到的问题: 1、使用springboot 2.1.16版本时,编译警告:lettuce-core:jar:5.1.8.RELEASE is invalid 解决方法: 升级springboot版本。2.1.16版本默认引用了lettuce-core:jar:5.1.8.RELEAS
阅读全文
posted @ 2020-08-10 14:31 佐佐木绯世
阅读(851)
评论(0)
推荐(0)
2020年7月20日
简单dockerfile挂载springboot项目 + 简单启停shell脚本
摘要: 一、项目挂载: 一个springboot小项目,通过容器化方式部署。当修改工程源码后打包成jar,不想每次都重新进行docker build生成新的镜像,则采用挂载方式,dockerfile如下: # 容器化部署方案# Docker image for springboot file run# VE
阅读全文
posted @ 2020-07-20 14:41 佐佐木绯世
阅读(1129)
评论(0)
推荐(0)
2020年7月16日
linux centos7 安装docker步骤及基础命令
摘要: dockerfile编写与执行请查看文章:https://www.cnblogs.com/Arthemis-z/p/13344991.html 一、安装步骤: 官方英文链接:https://docs.docker.com/engine/install/centos/#installation-met
阅读全文
posted @ 2020-07-16 15:34 佐佐木绯世
阅读(213)
评论(0)
推荐(0)
2020年7月7日
Springboot2.1.1使用rest-high-level-client整合Elasticsearch6.4.3
摘要: 一、前提: 经过各种踩坑后,现直接说明该文章中整合时需要注意的事项: A.创建Springboot工程时,选择Springboot版本为2.1.1,默认会使用新版本,而新版本对应自带的elasticsearch包可能已经是7.x已上 B.如果创建Springboot工程时,发下没有2.1.1版本,也
阅读全文
posted @ 2020-07-07 16:44 佐佐木绯世
阅读(1504)
评论(0)
推荐(0)
2020年6月4日
正则表达式:去除Unicode
摘要: 背景:最近在做中文分词的时候,发现分词后的数据中出现很多特殊字符,即使进行了去停用词操作,但是特殊字符太多,也不可能都加到停用词里,所以就准备用正则去掉,正则很简单,直接上代码: /** * 正则去掉unicode等特殊字符 * */ private static String regularFil
阅读全文
posted @ 2020-06-04 16:45 佐佐木绯世
阅读(1972)
评论(2)
推荐(0)
2020年5月14日
正则表达式:包含与不包含的使用示例
摘要: 一、符号理解:"?="、"?!"、"?<="、"?<!" // 前瞻 理解:exp1后边是exp2就匹配 exp1(?=exp2) // 负前瞻 理解:exp1后边不是exp2就匹配 exp1(?!exp2) // 后顾 理解:exp1前边是exp2就匹配 (?<=exp2)exp1 // 负后顾
阅读全文
posted @ 2020-05-14 17:44 佐佐木绯世
阅读(3873)
评论(0)
推荐(0)
2020年1月15日
Springboot2.x整合Mybatis多数据源
摘要: 一、环境信息 二、项目结构 三、代码整合 1、添加依赖 依赖在创建springboot工程时直接加入mybatis、mysql,无需手动引入 2、配置文件信息 #数据源1spring.datasource.lydb.driver-class-name=com.mysql.cj.jdbc.Driver
阅读全文
posted @ 2020-01-15 16:36 佐佐木绯世
阅读(430)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告