自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 收藏
  • 关注

原创 Kafka安装和简单命令使用

## 下载kafka压缩版[root@localhost src]# wget http://mirror.bit.edu.cn/apache/kafka/2.1.0/kafka_2.12-2.1.0.tgz[root@localhost src]# ll-rw-r--r--.  1 root   root   55201623 11月 21 03:16 kafka_2.12-2.1.0.t...

2018-12-17 14:16:01 208

原创 Redis安装及数据类型的简单操作

# redis 资源相关链接中文官网:http://redis.cn/英文官网:https://redis.io/快速练习:http://try.redis.io/源码注释:https://github.com/menwengit/redis_source_annotationredis是单线程的,为什么那么快? https://blog.csdn...

2018-12-07 17:49:53 149

原创 自定义线程池使用

ThreadPoolTaskExecutor多线程

2023-10-27 11:15:16 158

翻译 easyexcel解析zip包加密excel文件

【代码】easyexcel解析zip包。

2022-10-12 17:21:10 683 1

转载 FastJson

fastjson

2022-09-01 16:27:55 102

原创 LocalDateTime与String日期之间序列化问题

LocalDateTime序列化

2022-07-13 06:58:40 385

原创 java design patterns

设计模式 链接https://java-design-patterns.com/patterns/

2021-08-19 18:05:51 107

原创 Elasticsearch安装使用

1. 下载[root@localhost src]#wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.12.tar.gz2. 解压[root@localhost src]#tar -zxvf elasticsearch-6.8.12.tar.gz3. 移动到指定目录下[root@localhost src]# mv elasticsearch-6.8.12 /opt/[root@lo...

2021-07-25 20:28:52 322

转载 mybatis-plus代码生成器

参考链接https://www.cnblogs.com/hsuhung/p/12426985.htmlhttps://www.cnblogs.com/changyuyao/p/14121022.html

2021-07-15 10:08:17 60

原创 springboot集成mybatis-plus

1. 添加pom.xml依赖<properties> <mybatis.plus.version>3.4.2</mybatis.plus.version></properties><!--集成mybatisplus--><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-b

2021-07-14 20:03:36 78

原创 springboot集成swagger3.0

链接地址 swagger 官网:https://swagger.io springfox 官网:http://springfox.github.io springfox Github 仓库:springfox / springfox springfox-demos Github 仓库:https://github.com/springfox/springfox 1. pom.xml添加依赖<!--Swagger-UI API文档生产工具-...

2021-07-13 17:50:33 523

翻译 swagger上传文件

/** * 文件上传 * * @return CommonResult */@ApiOperation(value = "图片上传", notes = "图片上传", response = CommonResult.class)@PostMapping(value = "screenShotFileParse",headers="content-type=multipart/form-data") public CommonResult fil...

2021-07-13 13:28:02 3075

原创 springboot集成redis

1. pom.xml添加依赖<dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupI

2021-07-12 18:47:55 422

原创 springboot集成elasticsearch

1. pom.xml添加依赖<dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupI

2021-07-12 18:06:28 102

原创 springboot集成mongodb

1. pom.xml 添加依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <depende.

2021-07-12 13:55:12 116

原创 请求数据校验

第一种:springboot项目,引用封装好的依赖<!--数据校验--><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId></dependency>第二种:直接引用数据校验的依赖<!--数据校验--&g.

2021-07-12 10:41:28 209

原创 日期工具类

package com.example.common.utils;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.ArrayList;import java.util.Calendar;import java.util.Date;import java.util.List;import java.util.TimeZone;/** * 日期常用方法 */publ..

2021-07-12 09:11:57 238

转载 swaager 配置文件上传

https://stackoverflow.com/questions/31420146/multipart-file-upload-using-springfox-and-swagger-ui

2021-06-21 10:19:58 131

转载 微服务架构

https://microservices.io/patterns/cn/index.html

2021-05-31 08:39:48 75

原创 枚举 ENUM

枚举···package com.company;/**枚举 单例模式:单独的实例 线程安全的类*/public enum CarEnum {FORD_NOMAL(“NOMAL”, 13),FORD_MIDDLE(“MIDDLE”, 17),FORD_TOP(“TOP”, 22);private final String type;private final int price;CarEnum(String type, int price) {this.type = type

2021-04-09 22:41:13 88

原创 zookeeper安装启动

# zookeeper安装下载zk新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入下载zk···[root@localhost]# wget http://mirrors.hust.edu.cn/apache/zook

2021-04-04 14:04:02 264

转载 Intellij IDEA安装lombok插件及使用详解

https://www.jb51.net/article/152265.htm

2021-03-31 12:08:44 202

原创 SSH工具----FinalShell

官网地址:http://www.hostbuf.com/下载地址:http://www.hostbuf.com/t/988.html

2020-02-22 18:16:54 129 1

原创 Lua安装使用

lua官方地址:http://www.lua.org/安装步骤:/usr/local下curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gztar zxf lua-5.3.5.tar.gzcd lua-5.3.5修改安装目录:cd /usr/local/lua-5.3.5vim MakefileINSTALL_TOP=/u...

2020-01-05 22:49:10 202

原创 OOM内存溢出

#    Out of Memory Error  ## 内存溢出[root@localhost ~]# cat hs_err_pid21301.log #Java虚拟机没有足够的内存可以分配# There is insufficient memory for the Java Runtime Environment to continue.# Native memory alloc...

2018-11-23 09:23:47 1484

原创 本地连接虚拟机redis服务器报错

## jedis连接: 本地连接虚拟机redis服务器报错Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException: DENIED Redis is running in protected mode because protected mode is enabled, no bind address...

2018-11-20 17:10:56 291

原创 Nginx启动停止重启

## Nginx启动停止重启 ##### nginx快捷操作配置1.编辑配置文件[root@localhost ~]# vim /etc/profile2.添加配置export NGINX_HOME=/usr/local/nginxtestexport PATH=$NGINX_HOME/sbin:$PATH3....

2018-09-15 15:57:55 188

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除