会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
朱思年
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2021年3月7日
jedis订阅redis的过期事件
摘要: 引入 jedis <!-- https://mvnrepository.com/artifact/redis.clients/jedis --> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId>
阅读全文
posted @ 2021-03-07 02:56 朱思年
阅读(352)
评论(0)
推荐(0)
2021年2月6日
windows 杀死端口占用进程
摘要: windows 杀死端口占用进程 查找使用8080端口的进程 netstat -ano |findstr "8080" 杀死该进程 tasklist |findstr "8504"
阅读全文
posted @ 2021-02-06 13:07 朱思年
阅读(79)
评论(0)
推荐(0)
2020年10月28日
强制解除文件占用
摘要: 在管理员cmd输入以下命令 强制结束该卷所有句柄: chkdsk D: /f
阅读全文
posted @ 2020-10-28 18:49 朱思年
阅读(388)
评论(0)
推荐(0)
2020年6月24日
centos部署jar
摘要: 启动 找之前的jar线程kill掉! ps -ef|grep xxx.jar|grep -v grep 启动 #简单项目,直接输出日志到指定文件 nohup java -jar xxxx.jar --spring.profiles.active=prod >/home/msg.log 2>&1 &
阅读全文
posted @ 2020-06-24 14:06 朱思年
阅读(391)
评论(0)
推荐(0)
2020年6月15日
远程访问mysql慢
摘要: contos 1 修改/etc/my.cnf 文件[mysqld] skip-name-resolve2 重启mysql服务service mysqld restart
阅读全文
posted @ 2020-06-15 23:48 朱思年
阅读(134)
评论(0)
推荐(0)
2020年3月19日
常用正则
摘要: 手机号:/^1(3|4|5|7|8)\d{9}$/ 两位小数(正): /^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/
阅读全文
posted @ 2020-03-19 17:29 朱思年
阅读(172)
评论(0)
推荐(0)
mybatis-plus 多表条件查询
摘要: @Select("select * from tb_test as test left join tb_test1 as test1 ${ew.customSqlSegment}") //${ew.customSqlSegment} 吧wrapper条件拼接在sql上 IPage<CompanyTa
阅读全文
posted @ 2020-03-19 17:07 朱思年
阅读(8187)
评论(0)
推荐(1)
2020年2月25日
centos8 安装mysql 8.0
摘要: 本文参照:https://blog.csdn.net/qq_43232506/article/details/102816659 • 安装mysql及依赖 dnf install @mysql • 启动mysql服务并使它在启动时自动启动 sudo systemctl enable --now my
阅读全文
posted @ 2020-02-25 22:10 朱思年
阅读(612)
评论(0)
推荐(0)
springboot图片上传
摘要: • application.yml server: port: 8082 spring: application: name: upload servlet: multipart: max-file-size: 5MB • uploadController.java import org.apach
阅读全文
posted @ 2020-02-25 14:54 朱思年
阅读(1533)
评论(0)
推荐(0)
2020年2月24日
SpringCloud 跨域访问cors
摘要: import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.C
阅读全文
posted @ 2020-02-24 19:33 朱思年
阅读(517)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告