- 博客(6)
- 收藏
- 关注
原创 gitbook报错cb.apply不是一个function
安装gitbook遇到的问题:已解决TypeError: cb.apply is not a functionat D:\SoftWare\nodejs\node_global\node_modules\gitbook-cli\node_modules\npm\node_modules\graceful-fs\polyfills.js:287:18问题:看提示信息Polyfills.js文件第287行有问题,cb.apply不是一个function,找到文件代码,看注释是为了解决老版本bug,
2021-05-20 17:04:56
508
原创 rabbitmq安装日记
rabbitmq安装日记安装erlang下载安装文件wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpmrpm -Uvh erlang-solutions-1.0-1.noarch.rpm遇到问题error: Failed dependencies: epel-release is needed by erlang-solutions-1.0-1.noarch缺少epel-release
2020-11-11 21:54:15
189
转载 spring batch入门笔记
spring batch入门笔记(1)springboot 整合springbatch准备:sprigboot基础架构项目添加springbatch相关依赖<!-- spring batch --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-batch</artifactId>
2020-10-14 22:24:17
370
原创 redis单机伪集群搭建日记
参考文档Redis 官方集群指南:http://redis.io/topics/cluster-tutorialRedis 官方集群规范:http://redis.io/topics/cluster-specRedis 集群指南(中文翻译,紧供参考):http://redisdoc.com/topic/cluster-tutorial.htmlRedis 集群规范(中文翻译,紧供参考): http://redisdoc.com/topic/cluster-spec.htmlRedis 集群的安装
2020-09-17 20:57:10
117
转载 spring boot整合redis详细工具类,基础使用
spring boot整合redis前几天要用在spring boot中用到redis记录数据,自己也是redis小白,找的前辈的工具类,感觉写得非常不错,拿过来自己做个记录,以下是原作者原文:一、Maven依赖(1)本文所采用的SpringBoot的版本如下:<parent> <groupId>org.springframework.boot</grou...
2020-04-14 17:34:57
158
原创 获取路径后的文件名
获取路径后的文件名,file.getName或string.substring//1、file对象的话File file = new File("c://aaa//bbb.txt");//获取文件名bbb.txtfile.getNAme();//如果路径是string的话String path = "c://aaa//bbb.txt";File file = new File(pat...
2020-04-14 16:40:15
205
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人