初学Spring Boot 采坑: 创建Servlet容器自定义修改配置器,创建组件EmbeddedServletContainerCustomizer,这个接口不存在???? SpringBoot2.0 以上的版本EmbeddedServletContainerCustomizer 被WebSer ...
分类:
其他 时间:
2020-08-08 09:42:03
收藏:
0 评论:
0 赞:
0 阅读:
268
在一条直线上,有n个点。从这n个点中选择若干个,给他们加上标记。对于每一个点,其距离为R以内的区域里必须有一个被标记的点。问至少要有多少点被加上标记 Saruman the White must lead his army along a straight path from Isengard to ...
分类:
其他 时间:
2020-08-08 09:41:48
收藏:
0 评论:
0 赞:
0 阅读:
65
#编译安装nginx报错 checking for C compiler ... not found ##编译安装在执行./configure步骤报错,是因为缺少环境变量 checking for C compiler … not found ./configure: error: C compil ...
分类:
其他 时间:
2020-08-08 09:41:32
收藏:
0 评论:
0 赞:
0 阅读:
84
Given a binary tree, return all duplicate subtrees. For each kind of duplicate subtrees, you only need to return the root node of any one of them. Two ...
分类:
其他 时间:
2020-08-08 09:41:19
收藏:
0 评论:
0 赞:
0 阅读:
76
由于测试阶段使用的是IIS express ,所以当把项目发布到IIS的时候,发现了一个坑, image.png WHAT? PUT和DELETE请求报错405。然后查阅了相关问题资料,解决方案如下: 删除IIS模块中的 WebDav模块, image 2.找到配置文件C:\Windows\Syst ...
分类:
其他 时间:
2020-08-08 09:41:06
收藏:
0 评论:
0 赞:
0 阅读:
111
前言 使用传统的http发get请求时,如果传参为array数组,参数名称为a时,可以这样传值a=1&a=2&a=3,但是当只有一个时,这种方式就不合理了。 get请求还有另外一种方式传array数组,在参数名称后面加个[],如:a[]=1,2,3 参数名称一样 如果抓包看到是这种格式:http:/ ...
分类:
编程语言 时间:
2020-08-08 09:40:51
收藏:
0 评论:
0 赞:
0 阅读:
104
方法一:调用线程执行方法,在方法中实现死循环,每个循环Sleep设定时间; 方法二:使用System.Timers.Timer类; 方法三:使用System.Threading.Timer; using System; using System.Collections; using System.T ...
分类:
编程语言 时间:
2020-08-08 09:40:39
收藏:
0 评论:
0 赞:
0 阅读:
66
给定一条草坪。草坪上有n个喷水装置。草坪长l米宽w米。。n个装置都有每个装置的位置和喷水半径。。要求出最少需要几个喷水装置才能喷满草坪。。喷水装置都是装在草坪中间一条水平线上的。 n sprinklers are installed in a horizontal strip of grass l ...
分类:
编程语言 时间:
2020-08-08 09:40:28
收藏:
0 评论:
0 赞:
0 阅读:
90
Sub PasswordBreaker() Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 A ...
分类:
其他 时间:
2020-08-08 09:40:10
收藏:
0 评论:
0 赞:
0 阅读:
85
spring boot 2.1 + mybatis + layui + shiro后台权限管理系统:1. layUI前端界面,thymeleaf模版;2. shiro权限控制,redis缓存,密码输错次数限制等;3. springboot静态资源配置;4. pageHelper分页;5. ztree;6. 多数据源配置;7. druid连接池;8. log4j2日志配置等
分类:
编程语言 时间:
2020-08-08 09:39:57
收藏:
0 评论:
0 赞:
0 阅读:
310
一、Prometheus简介Prometheus是一套开源的系统监控报警框架。它以给定的时间间隔从已配置的目标收集指标,评估规则表达式,显示结果,并在发现某些情况为真时触发警报。作为新一代的监控框架,Prometheus具有以下特点:*多维数据模型:由度量名称和键值对标识的时间序列数据*PromSQL:一种灵活的查询语言,可以利用多维数据完成复杂的查询*不依赖分布式存储,单个服务器节点可直接工作*
分类:
其他 时间:
2020-08-08 09:39:34
收藏:
0 评论:
0 赞:
0 阅读:
66
对属性值进行处理后返回 基本使用 computed: { isSave(){ if(this.name && this.ERP.name){ return false }else{ return true } } }, methods: { if(this.isSave){ //使用时不用加括号,虽 ...
分类:
其他 时间:
2020-08-08 09:39:22
收藏:
0 评论:
0 赞:
0 阅读:
65
英文文档及翻译 class bytearray([source[, encoding[, errors]]]) Return a new array of bytes. The bytearray class is a mutable sequence of integers in the rang ...
分类:
编程语言 时间:
2020-08-08 09:39:12
收藏:
0 评论:
0 赞:
0 阅读:
64
先列一下Linux系统开发要掌握的知识,以后有时间再一一介绍。 欢迎关注我的微信公众号:fensnote 文章目录Linux系统开发会用到什么?C语言基础shell脚本学会使用Makefile常规Linux系统编程知识都有什么?哪些常用?哪些不常用?常规Linux编程知识文件IO文件与目录操作标准I ...
分类:
系统服务 时间:
2020-08-08 09:39:00
收藏:
0 评论:
0 赞:
0 阅读:
77
Nginx是目前用的比较多的一个前端服务器 其优点是配置简单修改一下server就能用 并发性能比较好,具体怎么好就看这个吧 开撸 1、找到nginx (liunx系统,已安装) whereis nginx 2、找到位置并进入 nginx: /usr/local/nginx cd /usr/loca ...
分类:
其他 时间:
2020-08-08 09:38:36
收藏:
0 评论:
0 赞:
0 阅读:
806
准备一个项目 比如我有个SpringBoot项目 打包好,上传服务器 服务器 1. 开启端口(8080是项目端口,8000是远程调试端口) [root@localhost app]# firewall-cmd --zone=public --add-port=8080/tcp --add-port= ...
分类:
编程语言 时间:
2020-08-08 09:38:22
收藏:
0 评论:
0 赞:
0 阅读:
74
router-link to 跳转地址 type 转化的标签类型 active-class 激活状态 this.$router.push({path:}) path 跳转地址 query 携带参数 this.$router.replace(path:'/') 与 push 类似 ...
分类:
其他 时间:
2020-08-08 09:38:08
收藏:
0 评论:
0 赞:
0 阅读:
73
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concate ...
分类:
其他 时间:
2020-08-08 09:37:56
收藏:
0 评论:
0 赞:
0 阅读:
69
radio 单选框的双向绑定,每个选项都需要设置 value 值和 v-model ,双向绑定就是绑定的这两个值 <label for="male"> <input type="radio" id="male" value="男" v-model="sex">男 </label> <label fo ...
分类:
其他 时间:
2020-08-08 09:37:46
收藏:
0 评论:
0 赞:
0 阅读:
128
The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-born babies ...
分类:
其他 时间:
2020-08-08 09:37:33
收藏:
0 评论:
0 赞:
0 阅读:
65