[CF559E]Gerald and Path
subject
Portal to CF
thinking
Generally speaking, we will sort intervals. Because the interval is essentially a two-dimensional partial order relationship, sorting according to the endpoint can make a dimension orderly, which is equivalent to dimension reduction.
In this question, the interval is not very fixed. But of the two possible rang ...
Added by $var on Tue, 15 Feb 2022 10:37:47 +0200
Visitor Pattern
Visitor mode
In the Visitor Pattern, we use a visitor class, which changes the execution algorithm of the element class. In this way, the execution algorithm of the element can change as the visitor changes. This type of design pattern belongs to behavioral pattern. According to the schema, the element object has accepted the visitor object so ...
Added by hey_suburbia on Tue, 15 Feb 2022 10:29:04 +0200
Pairwise algorithm for software test case design
Pairwise algorithm
Pairwise was first proposed by L. L. Thurstone (29 may 1887 โ 30 September 1955) in 1927. He is an American psychostatistician. Pairwise is also the product based on mathematical statistics and the optimization of the traditional orthogonal analysis method.
In the test process, test cases are organized for the case of ...
Added by lukegw on Tue, 15 Feb 2022 10:28:27 +0200
Jenkins linux Installation and basic configuration
preface
This paper mainly introduces the installation steps, project packaging and deployment process of Jenkins on linux. The Jenkins version used in this article is Jenkins 2.319.3.
1, Jdk8 download and install
Jenkins relies on JDK, so you need to follow jdk1.0 first 8:
# Check whether java related commands already exist
rpm -qa|g ...
Added by zeberdeee on Tue, 15 Feb 2022 10:24:04 +0200
vue - use echarts in vue projects
Note: this example is based on Vue cli scaffold construction
First, install the echorts dependency
npm install echarts -S
Note: after installing NodeJS, npm is used to install the package, and the foreign address is used. Timeout errors often occur. At this time, you can speed up the installation by modifying it to the domestic Taobao image ...
Added by rugzo on Tue, 15 Feb 2022 09:47:03 +0200
dubbo service local reference
debug test source code .
Write in front
stay Local exposure of dubbo services In this article, we analyze the process of local exposure. Let's take a look at how the corresponding service consumer refers, that is, local reference.
Generally, when using local references, the xml configuration is as follows:
<fakeRoot>
<dubbo: ...
Added by j_70 on Tue, 15 Feb 2022 09:45:40 +0200
Java web learning record
javaweb
Shang Silicon Valley java web learning record
HTML
html files can be written directly by changing txt to a suffix. Use the browser to view the effect. Here are a few demo s to understand what html files can do and how to do it.
<html>
<head>
<title>This is my first web page</title>
<meta cha ...
Added by trufla on Tue, 15 Feb 2022 09:38:39 +0200
vnstat traffic statistics (version 2.8)
vnstat traffic statistics (version 2.8)
vnStat is a console based Linux and BSD network traffic monitor that maintains network traffic logs for selected interfaces. It uses the network interface statistics provided by the kernel as the information source. This means that vnStat will not actually sniff any traffic, and can ensure a small use of ...
Added by fallen_angel21 on Tue, 15 Feb 2022 09:36:58 +0200
C + + Beginner Level -- classes and objects (Part 2)
[write before]
This article is a conclusion and supplement to classes and objects
1, On constructors
๐ฆ Constructor body assignment
โ Export initialization list โ
class A
{
public:
A(int a = 0)
{
_a = a;
}
private:
int _a;
};
class B
{
private:
int _b = 1;
A _aa;
};
int main()
{
B b;
return 0;
}
๐ explain
For B, if ...
Added by The_Black_Knight on Tue, 15 Feb 2022 09:33:39 +0200
koa onion model
I What is an onion model? Look first ๐ฐ
const Koa = require('koa');
const app = new Koa();
const PORT = 3000;
// #1
app.use(async (ctx, next)=>{
console.log(1)
await next(); //Pause the current program
console.log(1)
});
// #2
app.use(async (ctx, next) => {
console.log(2)
await next();
console.log(2)
})
app.us ...
Added by fabby on Tue, 15 Feb 2022 09:31:47 +0200