- 博客(9)
- 收藏
- 关注
转载 为kubectl配置别名和命令行补齐
配置别名# vim ~/.bashrc添加 alias k='kubectl'# source ~/.bashrc 配置命令行补齐# yum install -y bash-completion -y# chmod +x /usr/share/bash-completion/bash_completion# /usr/share/bash-completion/bash_completion# source /usr/share/bash-completion/ba.
2020-06-28 12:26:06 535
原创 spring boot 接口代理
interface BaseService { fun fun1()}class BaseServiceHandleBeanProxy : InvocationHandler{ companion object{ fun <T> newProxyInstance(clazz: Class<T>): Any { ...
2020-04-26 23:23:38 372
原创 Spring Cloud 【 eureka 】微服务注册中心与Client的构建
版本号<spring-boot.version>2.1.6.RELEASE<spring-cloud.version>Finchley.M9【注册中心】引用依赖: <dependency> <groupId>org.springframework.cloud</groupId> ...
2019-12-12 15:12:03 100
原创 spring boot eureak client为什么需要引入spring-boot-starter-web
<spring-boot.version>2.1.6.RELEASE<spring-cloud.version>Finchley.M9<!-- spring boot web项目核心包 --><dependency> <groupId>org.springframework.boot</groupId&g...
2019-12-11 19:30:16 495 2
转载 mysql查询今天、昨天、7天、近30天、本月、上一月 数据
转载至https://www.cnblogs.com/qinweizhi/p/5918048.html今天select * from 表名 where to_days(时间字段名) = to_days(now());昨天SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 17天SELECT * F...
2019-01-15 11:25:49 104
翻译 Spring boot 2.1.0 与 Mybatis整合的核心配置
pom.xml: 依赖包<dependencies> <!-- spring boot web项目核心包 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boo...
2018-11-15 14:44:47 569
原创 Java里HashMap,HashTable,ConcurrentHashMap分析总结
以下回答适合面试忽悠面试官,但能不能忽悠通过就看面试官问的深不深啦,如果想要深入了解更多,建议多看看源码。。。===========================================================================================在jdk1.8之前,HashMap,HashTable,ConcurrentHashMap都采用数组...
2018-08-01 17:49:58 161
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人