学习了spring的数据源的使用以及spring的作用域引入外部属性文件 对应的bean的xml文件和properties文件如下 <?xml version="1.0" encoding="UTF-8"?> <!-- spring 使用外部属性文件 --> <beans xmlns="http:/ ...
分类:
编程语言 时间:
2020-03-30 15:56:04
阅读次数:
61
harbor版本:harbor-offline-installer-v1.8.3.tgz docker-compose version 1.24.1, build 4667896b 安装docker curl -o /etc/yum.repos.d/CentOS-Base.repo http://m ...
分类:
其他好文 时间:
2020-03-30 13:13:16
阅读次数:
291
go安装godoc 2017-03-07 tools 现在的版本(go version 1.8)下,go的开发工具已经都在git上上线了,可以直接安装 1 2 3 git clone https://github.com/golang/tools $GOPATH/src/golang.org/x/t ...
分类:
其他好文 时间:
2020-03-30 13:08:31
阅读次数:
76
原文链接:https://www.zjhuiwan.cn/info/20200330/4006602464505049.html 最近遇到一个需求,一个只能内网访问的网站,需要限制ip访问。就是网站内的部分文章只有白名单内的ip才能打开。因为是静态化的网站,所有文章都是静态html页面。所以首先想到 ...
分类:
编程语言 时间:
2020-03-30 13:08:14
阅读次数:
98
题目给的时间限制是3s,所以可以直接暴力来做,注意n的取值范围是1e8,如果开一个1e8的数组会RE。分段打表,可以每100个数记录一次,然后对每次询问先找到它所在的区间,然后在暴力往后找。(学到了~~) #include<bits/stdc++.h> using namespace std; co ...
分类:
其他好文 时间:
2020-03-30 13:02:37
阅读次数:
77
目前市面上有很多自动化报表插件,本章主要介绍Allure报表 1、在Pom上集成依赖 <dependency> <groupId>io.qameta.allure</groupId> <artifactId>allure-testng</artifactId> <version>2.13.0</ve ...
分类:
编程语言 时间:
2020-03-30 12:49:04
阅读次数:
145
Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexi ...
分类:
其他好文 时间:
2020-03-30 12:40:30
阅读次数:
66
下载 官网地址: "http://nginx.org/" 当前下载的版本是: ,以下是 和`windows`两个版本的安装包: 说明以下: Mainline version:主线版本 Stable version : 稳定版本【工作中要更新最新版本就可以使用稳定版本】 Legacy versions ...
Attack on Red Kingdom The Red Kingdom is attacked by the White King and the Black King! The Kingdom is guarded by $n$ castles, the $i$ th castle is de ...
分类:
其他好文 时间:
2020-03-30 11:20:13
阅读次数:
105