Jenkins的Master-Slave分布式构建 什么是Master-Slave分布式构建 Jenkins 的Master-Slave分布式构建,就是通过将构建过程分配到从属Slave节点上,从而减轻Master节点的压力,而且可以同时构建多个,有点类似负载均衡的概念。如何实现Master-Sla ...
分类:
Web程序 时间:
2020-06-04 01:04:33
阅读次数:
87
认证+授权代码实现 Spring Security是 一种基于 Spring AOP 和 Servlet 过滤器的安全框架。它提供全面的安全性解决方案,同时在 Web 请求级和方法调用级处理身份确认和授权。 有关认证和授权的理论知识,之前有写过相关博客。了解权限管理 一、SpringSceurity ...
分类:
编程语言 时间:
2020-06-03 23:34:12
阅读次数:
71
题目如下: You are given an integer num. You will apply the following steps exactly two times: Pick a digit x (0 <= x <= 9). Pick another digit y (0 <= y < ...
分类:
其他好文 时间:
2020-06-03 23:33:43
阅读次数:
70
前言 来源 https://security-tracker.debian.org/tracker/CVE-2020-7066 翻译 https://bugs.php.net/bug.php?id=79329 get_headers() get_headers():可以通过服务器的响应头来判断远程文 ...
分类:
Web程序 时间:
2020-06-03 20:08:36
阅读次数:
127
var arr1 = [1,2,3,-1]var arr2 = [4,5,6,7,8,9,10,12,13,14,15,16,17,18,29,30,31,32,33,34,35,36,37,38,39,40]var arr = arr1.concat(arr2)借用apply方法 ,push、sp ...
分类:
其他好文 时间:
2020-06-03 15:59:32
阅读次数:
131
一、首先登录jetbrains的官方插件网站搜索Lombok,https://plugins.jetbrains.com/,在网站中的找自己IDEA对应的版本然后下载。 二、在IDEA中安装Lombox插件 1.打开IDEA,在File--setting--Plugins中点击齿轮按钮,在下拉框中选 ...
分类:
其他好文 时间:
2020-06-03 15:24:08
阅读次数:
106
#Spring Security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> Spring B ...
分类:
编程语言 时间:
2020-06-03 13:56:42
阅读次数:
56
void CFileRenameDlg::_execute(const CString& cmd){ SECURITY_ATTRIBUTES sa; HANDLE hRead,hWrite; sa.nLength = sizeof(SECURITY_ATTRIBUTES); sa.lpSecurit ...
分类:
其他好文 时间:
2020-06-03 13:56:15
阅读次数:
58
索引生命周期管理ILM 索引生命周期 对于时间序列的索引,生命周期有4个阶段: hot: 索引被频繁写入和查询 warm: 索引不再写入,但是仍在查询 cold: 索引很久不被更新,同时很少被查询。但现在考虑删除数据还为时过早,仍然有需要这些数据的可能,但是可以接受较慢的查询响应。 delete: ...
分类:
其他好文 时间:
2020-06-03 13:53:05
阅读次数:
174
1.call 实现(apply 类似) Function.prototype.call= function(context){ context = context || window; context.fn = this; let args =[]; for(let i=1;i<arguments. ...
分类:
编程语言 时间:
2020-06-03 00:54:51
阅读次数:
83