在分布式系统中,由于服务数量巨多,为了方便服务配置文件统一管理,实时更新,所以需要分布式配置中心组件。在Spring Cloud中,有分布式配置中心组件spring cloud config ,它支持配置服务放在配置服务的内存中(即本地),也支持放在远程Git仓库中。在spring cloud co ...
分类:
编程语言 时间:
2020-03-06 22:18:49
阅读次数:
106
1.首先引进pom <!-- PDF读取依赖 --><dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.4</version></dependency> 2.co ...
分类:
其他好文 时间:
2020-03-06 17:04:43
阅读次数:
78
添加环境变量:便于参数的使用 1.添加变量 举个例子:天气查询api 默认城市是当前所在:https://tianqiapi.com/api?version=v1&appid=43357849&appsecret=uPsNuGL2 选择city参数修改城市: https://tianqiapi.co ...
分类:
其他好文 时间:
2020-03-06 15:47:01
阅读次数:
131
for循环遍历 let array = ['a','b','c']; for (let i = 0;i < array.length;i++){ console.log(array1[i]); // a b c } 用for in的方遍历数组 for(let index in array) { co ...
分类:
编程语言 时间:
2020-03-06 15:05:39
阅读次数:
88
1.下载elasticsearch-6.8.7 https://www.elastic.co/cn/downloads/elasticsearch 2.下载moloch-2.2.2-1.x86_64.rpm https://molo.ch/index#home (注:moloch对ela版本要有很严 ...
分类:
其他好文 时间:
2020-03-06 15:04:08
阅读次数:
149
<!doctype html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" co ...
分类:
Web程序 时间:
2020-03-05 00:53:44
阅读次数:
87
1、百度 复制代码 1、http://sp0.baidu.com/8aQDcjqpAAV3otqbppnN2DJv/api.php?query=192.168.0.0&co=&resource_id=6006&oe=utf8 例:http://sp0.baidu.com/8aQDcjqpAAV3ot ...
目录 "git的基本操作" "git的分支管理" "GitHub的使用" git的基本操作 "git简介" "git的产生历史" "git的特点" "集中式分布式版本控制的区别" "git的安装配置" "git版本库创建" 命令: git init "git版本的创建" git add git co ...
分类:
其他好文 时间:
2020-03-01 22:00:24
阅读次数:
110
管道负责单向连接前一个程序的标准输出与后一个程序的标准输入,其本质是一个共享文件。我们日常最常用到的管道是匿名管道,Shell中的管道符号为“|”。 参考资料: 1、浅谈Linux中的xargs命令 网址:https://www.360kuai.com/pc/93ea553993e938746?co ...
分类:
系统相关 时间:
2020-03-01 20:08:45
阅读次数:
71
问题:The compiler compliance specifies is 1.5 but JRE1.8 is used 当前的执行环境是1.5又要让它在1.8里面执行, 解决办法:在pom.xml文件中做出相应的改动。 1.找到maven中央仓库https://mvnrepository.co ...
分类:
其他好文 时间:
2020-02-29 20:44:44
阅读次数:
174