wordpress list page add Numeric page

The page navigation of wordpress classification page is the previous page and the next page by default. Sometimes we want it to display the digital page. How do we operate it? Most of them think that it can be solved by installing a plug-in. As a developer who likes to research, they will naturally implement it in code. Let's take a look at it ...

Posted by ctsttom on Tue, 15 Oct 2019 09:14:26 -0700

CodeForces 1228F One Node is Gone

Luogu Title Page Portal & CodeForces title page portal Given a tree(T=(V,E),|V|=2^n-2,|E|=2^n-3, output all \(x), so that there exists a full binary tree\(T'), delete a son of\(x\) and connect all sons of the son to\(x\\\\\\\\\ Output in ascending order. \(n\le17\). The title does not say which point is the root, that is, each poin ...

Posted by SmokyBarnable on Sun, 13 Oct 2019 12:52:38 -0700

ZONE for connection tracking

brief introduction At present, a connection trace quintuple is the source destination IP, the transport layer protocol, and the source destination port. In multi-tenant environment, the private address network of tenants may overlap. If only one CT is distinguished by these five elements, it can not meet the needs of multi-tenants. So the conce ...

Posted by jlp09550 on Sat, 12 Oct 2019 07:05:49 -0700

RWMutex: Shared/proprietary recursive mutex

Mutual Exclusive Locks with Shared/Exclusive Access Rights and Upgrade/Downgrade Functions   introduce My goal is to create objects that can act as read/write locking mechanisms. Any thread can lock it for reading, but only one thread can lock it for writing. All other threads will wait until the write thread releases it. Writing threads do ...

Posted by macinslaw on Sat, 12 Oct 2019 00:45:28 -0700

FRR Learning Day 6 - EVPN Centralized L3 Gateway

EVPN Centralized L3 Gateway--Trans-subnet Message Forwarding spine configuration Interface Configuration sudo ip link add vbdif10 type bridge sudo ip link add vbdif20 type bridge sudo ip link set vbdif10 up sudo ip link set vbdif20 up sudo ip link add vxlan20 type vxlan id 20 local 192.168.59.130 dstport 4789 nolearning sudo ip link add vxlan1 ...

Posted by MishieMoo on Wed, 09 Oct 2019 14:05:06 -0700

3. SpringBook Integrates Thymeleaf Views

Catalog 3.1 Introduction to Thymeleaf View 3.2 Create SpringBook Project 3.2 Configuration of Thymeleaf 3.3 Writing Demo 3.4 Summary 3.1 Introduction to Thymeleaf View First look at the introduction of the official website: == Thymeleaf is a modern server-side Java template engine fo ...

Posted by insane on Wed, 09 Oct 2019 06:39:56 -0700

Day5-2 training for National Day

T1 rainbow subject [Title Description] Mr.Raju and one of his extended families are on vacation. They want to enjoy the scenery in the rainbow, but there are some problems. In their family, if one wants to ride a rainbow, all the people he likes and everyone who likes him must ride on the rainbow together. If a person does not like him and ...

Posted by sane993 on Wed, 09 Oct 2019 04:46:31 -0700

Let Quick Sort Stack Overflow

The idea of quick sorting is dichotomy. Ideally, every dichotomy can divide the data sequence equally, so the recursive hierarchy is logN. The worst case is that every dichotomy is divided into 0 and n, which will be infinitely recursive, and eventually stack overflow. Or each time is divided into 1 and n-1, which will recurse n times. If n is ...

Posted by freddyw on Tue, 08 Oct 2019 01:18:03 -0700

[Pixhawk/PX4] Development Environment Building (Ubuntu 18.04)

This paper mainly records the building process of PX4 environment under Ubuntu 18.04. Because I installed ROS Melodic before installing PX4 environment, and gazebo was installed at the same time when installing ROS, it is impossible to determine whether the subsequent problems were caused by installing ROS first. This paper is divided into the ...

Posted by bltesar on Tue, 08 Oct 2019 00:26:10 -0700

National Day Training Day3 in Changle

T1 Dynamic Inverse Sequence Pair subject [Title Description] This paper gives a permutation a with length n (the number of N occurs once in each sequence). Exchange two numbers at a time to find the result of the inverse logarithm% 2. Inverse order pair: for two numbers a[i],a[j] (i < j), if a [i] > a [j], then (a[i],a[j]) is an inver ...

Posted by Archbob on Sun, 06 Oct 2019 17:32:32 -0700