- 博客(6)
- 收藏
- 关注
原创 gitbook报错cb.apply不是一个function
安装gitbook遇到的问题:已解决 TypeError: cb.apply is not a function at 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
697
原创 rabbitmq安装日记
rabbitmq安装日记 安装erlang 下载安装文件 wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -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
289
转载 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
555
原创 redis单机伪集群搭建日记
参考文档 Redis 官方集群指南:http://redis.io/topics/cluster-tutorial Redis 官方集群规范:http://redis.io/topics/cluster-spec Redis 集群指南(中文翻译,紧供参考):http://redisdoc.com/topic/cluster-tutorial.html Redis 集群规范(中文翻译,紧供参考): http://redisdoc.com/topic/cluster-spec.html Redis 集群的安装
2020-09-17 20:57:10
179
转载 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
217
原创 获取路径后的文件名
获取路径后的文件名,file.getName或string.substring //1、file对象的话 File file = new File("c://aaa//bbb.txt"); //获取文件名bbb.txt file.getNAme(); //如果路径是string的话 String path = "c://aaa//bbb.txt"; File file = new File(pat...
2020-04-14 16:40:15
311
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅