systemd -- Research on linux service
System d (d: daemon) -- Research on linux service
sketch
With The unit file at the end of service is used to encapsulate a process monitored and controlled by systemd
The. service file path is / etc/systemd/system
When starting up, Systemd only executes the configuration files in the / etc/systemd/system directory. This also means that ...
Posted by Garcia on Sun, 06 Mar 2022 15:38:17 +0100
VUE3 uses labels to achieve animation and transition effects - this series of tutorials is easy to understand and suitable for novices
1. General
Caterpillar effect:
In one experiment, many caterpillars were placed on the edge of a flowerpot to make them connect head to tail and form a circle. Then sprinkled some caterpillar food near the flowerpot.
At this time, caterpillars do not climb in the direction of food, but circle one by one at the edge of the flowerpot until they d ...
Posted by danc81 on Sun, 06 Mar 2022 15:37:47 +0100
Basic review of Js -- common content of javascript
Core basic content of Javascript
01. Scope and scope chain
Scope determines the accessibility of variables or functions. In JavaScript, there are two types of scope: local scope and global scope. There are three types of variables / functions with global scope:
1.Variables and functions defined at the outermost layer have global scope
2.Variabl ...
Posted by eb1024 on Sun, 06 Mar 2022 15:32:52 +0100
3, Communication between multiple threads
preface
1, synchronized and Volatile
volatile
Visibility can be guaranteed, but atomicity cannot be guaranteed (thread safety problem)
Prohibit reordering
synchronized
Both visibility and atomicity can be guaranteed
Reordering is not prohibited
synchronized is blocking. Only one thread can access it at a time
2, Reorder
Concept: the c ...
Posted by FUEL on Sun, 06 Mar 2022 15:32:33 +0100
Learning algorithm idea I
Bank robbery days – 2100 – medium
This problem uses the idea of prefix and
For convenience, let nn be the length of securitysecurity.
According to the definition of "days suitable for bank robbery" in the question, first of all, we can determine that the answer falls within the range of [time, n - time)[time,n − t ...
Posted by scheols on Sun, 06 Mar 2022 15:29:05 +0100
C# basic family - Generic
1, Foreword
Genericity is a style and paradigm of programming language, which allows the use of some later specified types in strongly typed languages, and indicates these classes at the time of instantiation. In C #, JAVA, Delphi and other languages, this feature is called generics; It is called parameter polymorphism in ML and Scala; In C + + ...
Posted by BenMo on Sun, 06 Mar 2022 15:24:31 +0100
Ruan Yifeng Promise learning
Promise meaning
Promise is a solution for asynchronous programming, which is more reasonable and powerful than traditional solutions - callback functions and events. It was first proposed and implemented by the community. ES6 has written it into the language standard, unified the usage, and provided promise objects natively.
Promise is simply ...
Posted by Dvorak on Sun, 06 Mar 2022 15:17:28 +0100
kubernetes configuring the back-end storage rook CEPH
I Rook overview
1.1 Ceph introduction
Ceph is a highly scalable distributed storage solution that provides object, file, and block storage. On each storage node, the file system of Ceph storage objects and the Ceph OSD (object storage daemon) process will be found. On the Ceph cluster, there are also Ceph MON (monitoring) daemons, which ensure ...
Posted by hedge on Sun, 06 Mar 2022 15:15:34 +0100
Ajax what is Ajax? The basic syntax of Ajax
Ajax
What is Ajax?
AJAX (Asynchronous Javascript And XML) is translated into Chinese as "Asynchronous Javascript And XML". That is, use Javascript language to interact asynchronously with the server, and the transmitted data is XML (of course, the transmitted data is not only XML, but now more json data is used).
Synchronous interact ...
Posted by bmarinho on Sun, 06 Mar 2022 15:13:08 +0100
36-JavaScript advanced ④ (regular expression)
1. Regular expression overview
1.1 what is a regular expression
Regular Expression is a pattern used to match character combinations in a string. In JavaScript, regular expressions are also objects.
The text boxes that match the regular name and number in the search form (for example, the text boxes that match the regular name and number ...
Posted by aalmos on Sun, 06 Mar 2022 15:11:19 +0100