zookeeper-3.7.5:https://niceyoo.lanzous.com/iTHA0di7m3i 1、下载解压后修改config目录里的zoo_sample.cfg为zoo.cfg 2、进入 bin 目录,双击执行 zkServer.cmd,命令行会闪退 3、然后再双击执行zkCli. ...
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 异常处理controller实现方式 gitHub地址: https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File ...
分类:
编程语言 时间:
2020-06-08 14:33:06
阅读次数:
73
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 统一异常处理实现。 gitHub地址:https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File -> New Pro ...
分类:
编程语言 时间:
2020-06-08 12:41:39
阅读次数:
74
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 整合webJars统一管理静态资源。 gitHub地址:https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File - ...
分类:
编程语言 时间:
2020-06-08 12:26:05
阅读次数:
49
sample input: 4 5 2 2 3 1 2 3 4 5 1 4 2 3 2 1 3 2 2 2 4 4 sample output: 2 2 3 0 2 3 4 5 0 2 2 3 2 0 3 0 0 0 4 4 思路: 读懂题目意思,然后按行列遍历使得连续三个以上相邻的不小于3 刚开始 ...
分类:
其他好文 时间:
2020-06-06 11:07:10
阅读次数:
60
1.概述--美观、强大的可视化监控指标展示工具 grafana 是一款采用 go 语言编写的开源应用,主要用于大规模指标数据的可视化展现,是网络架构和应用分析中最流行的时序数据展示工具,目前已经支持绝大部分常用的时序数据库。最好的参考资料就是官网(http://docs.grafana.org/), ...
分类:
Web程序 时间:
2020-06-04 19:47:42
阅读次数:
92
centos+docker+docker-compose+fabric-sample 1. 修改yum源 (1)查看版本号 (2)wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.rep ...
分类:
其他好文 时间:
2020-06-03 15:28:18
阅读次数:
73
做软件开发的人都知道:接触真正底层系统驱动的的机会很少(做网络驱动的除外哦),上周和同事一起在一块物理机的办卡上安装centerOS6.5(至于为啥安装6.5版本的,只能说厂商要求的),遇到了一个持续好几天的问题:拔掉U盘后,物理机启动不了。博友们可能会说,bootleader安装在了U盘上,改一下 ...
分类:
其他好文 时间:
2020-06-03 10:48:27
阅读次数:
99
一、环境 1.1、Idea 2020.1 1.2、JDK 1.8 二、目的 spring boot 异常处理页面实现方式 三、步骤 3.1、点击File -> New Project -> Spring Initializer,点击next 3.2、选择Web依赖,选中Spring Web。可以选择 ...
分类:
编程语言 时间:
2020-06-02 13:13:30
阅读次数:
65
一、环境 1.1、Idea 2020.1 1.2、JDK 1.8 二、目的 spring boot 整合web实现文件上传下载 三、步骤 3.1、点击File -> New Project -> Spring Initializer,点击next 3.2、选择Web依赖,选中Spring Web。可 ...
分类:
编程语言 时间:
2020-06-02 11:41:19
阅读次数:
63