Automated operation and maintenance tool - ansible detailed explanation
This article is a reprint of the article, the original link https://www.cnblogs.com/keerya/p/7987886.html
catalogue
Introduction to ansible
What is ansible?ansible featuresansible architecture diagramansible task execution
ansible task execution modeansible execution processansible command execution processDetailed explanati ...
Posted by allelopath on Thu, 02 Dec 2021 19:05:17 -0800
HTTP request operation of ElasticSearch
Mapping operation
The mapping in the index library is similar to the table structure in the database. To create a database table, you need to set the field name, type, length, constraint, etc; The same is true for the index library. You need to know what fields are under this type and what constraint information each field has. This is ...
Posted by Gordonator on Thu, 02 Dec 2021 19:00:58 -0800
Java lock mechanism
In the multithreaded environment, programs often have some thread safety problems. Therefore, Java provides some thread synchronization mechanisms to solve the safety problems, such as synchronized Lock and Lock lock.
Pessimistic lock and optimistic lock
We can roughly divide locks into two categories:
Pessimistic lock Optimistic lock
As ...
Posted by hmemnon on Thu, 02 Dec 2021 18:47:56 -0800
Artistic ~SM4 implementation of Java encryption and decryption
Concept introduction of domestic SM4 encryption and decryption algorithm
SMS4 algorithm is an encryption algorithm used in WAPI wireless network standard widely used in China. It is a 32 round iterative packet encryption algorithm with unbalanced Feistel structure. Its key length and packet length are 128. The algorithm used in the encryption ...
Posted by Graphi on Thu, 02 Dec 2021 18:47:41 -0800
Use cmake to teach the use of install
Here we mainly introduce the operations of install ing using cmake:
The content that can be installed through cmake can include target binary, dynamic library, static library, files, directories, scripts, etc., which are briefly described below:
For details, please refer to the official website. Here is a brief description
1. Installation of ...
Posted by buckit on Thu, 02 Dec 2021 18:40:13 -0800
java -- Design Pattern -- singleton and factory
Design pattern
Concept: a pattern is a summary of code design experience that is repeatedly used, known by most people, written by classification; It is not a syntax specification, but a set of solutions to improve code reusability, maintainability, readability, robustness and security.
Tip: the following is the main content of this a ...
Posted by FadeOut79 on Thu, 02 Dec 2021 18:32:08 -0800
Basic introduction to Scrapy crawler framework
Scrapy crawler framework
To the most professional web crawler framework learning part, we should play a better spirit to meet new challenges.
1. Installation
pip install scrapy
After installation, enter the following command to test the effect:
scrapy -h
The correct response indicates that the installation has been successful.
2. Brief ...
Posted by cjl on Thu, 02 Dec 2021 18:26:02 -0800
Principle analysis of PriorityBlockingQueue
PriorityBlockingQueue is an unbounded array based priority blocking queue. The default length of the array is 11. Although the length of the array is specified, it can be expanded indefinitely until the resources are exhausted. Each time out of the queue, the element with the highest or lowest priority is returned. By default, elements are sort ...
Posted by djmc48 on Thu, 02 Dec 2021 18:22:51 -0800
Experiment 3 transfer instruction jump principle and its simple application programming
1. Experimental task 1
Contents of this part:
Give the program task1.asm source code, and run screenshots
assume cs:code, ds:data
data segment
x db 1, 9, 3
len1 equ $ - x
y dw 1, 9, 3
len2 equ $ - y
data ends
code segment
start:
mov ax, data
mov ds, ax
mov si, offset x
mov cx, len1
mov ah, 2
s1:mov dl, ...
Posted by mmilano on Thu, 02 Dec 2021 18:11:34 -0800
Scala classes and singletons
1. Basic operation of class
1.1. Definition of class
Class or type is the abstraction of an objective class of things. A class keyword is used to describe the properties, behaviors, etc. of this kind of things in this class.
In other words, a kind of things described in computer language, that is, classes, are identified by the keyword class ...
Posted by sethadam1 on Thu, 02 Dec 2021 18:04:58 -0800