git file management and indexing

preface This night is destined to be a sleepless night. The dialogue between Xiaobai and cangls has become white hot. Xiaobai tirelessly consulted about git and became more and more interested in indexing. The versions of Xiaobai's previously saved small movie files can be compared to explore which version has better picture quality. Xiaobai: ...

Posted by ac1dsp3ctrum on Tue, 18 Jan 2022 02:48:27 +0100

Ansible automation operation and maintenance II

1. Manage Ansible configuration files Ansible configuration file Customize ansible installation behavior by modifying ansible's configuration file. Ansible configuration files can exist in multiple locations, and different configuration files can be used according to different situations. Use / etc / ansible / ansible cfg ​ /etc/ansible/ansi ...

Posted by joozt on Tue, 18 Jan 2022 02:28:34 +0100

Linux High Performance Server Programming Chapter 5 Linux network programming basic API

5.1 socket address API The accumulator of modern CPU can load (at least) 4 bytes at a time (32-bit machine is considered here, the same below), that is, an integer Number. Then the order in which these 4 bytes are arranged in memory will affect the value of the integer it is loaded into by the accumulator. This is byte order Question. Byte ord ...

Posted by IwnfuM on Mon, 17 Jan 2022 15:54:24 +0100

muduo network library net source code line by line analysis_ one

1 muduo::net::EchoServer class reference Collaboration diagram of EchoServer: [legend] Public member functionEchoServer (EventLoop *loop, const InetAddress &listenAddr)voidstart () Private member functionvoidonConnection (const TcpConnectionPtr &conn)voidonMessage (const TcpConnectionPtr &conn, Buffer *buf, Timestamp time) Pr ...

Posted by timmy0320 on Mon, 17 Jan 2022 14:57:42 +0100

Detailed explanation of Linux ❉ SetUID (SUID), SetGID (SGID) and SetGID (SGID)

A detailed explanation of the usage of special permissions for SetUID (SUID) files 1 Introduction [root@localhost ~]# ls -l /usr/bin/passwd -rwsr-xr-x. 1 root root 22984 Jan 7 2007 /usr/bin/passwd It can be seen that the x permission bit originally represents the permission of the file owner, but the s permission appears. This permission ...

Posted by gotissues68 on Mon, 17 Jan 2022 10:55:00 +0100

How to start gdb debugging exception program

gdb debugging mechanism In the process of debugging, you can clearly understand the context in order to analyze the program principle and the causes of errors. code Stack information Process and thread status debug information When using gcc or makefile, adding the - g option during compilation means that the debugging symbol information is ...

Posted by masteroleary on Mon, 17 Jan 2022 09:56:33 +0100

wpa_ Brief description of control interface of supplicant

catalogue 1 Description 2 reference 2.1 basic description of function 2.2 logic description 3 application processing 3.1 event notification message description 3.2 code examples 1 Description This paper aims to use WPA_ The API provided by supplicant controls the wifi module to connect hotspots in STA working mode. wpa_ The supplicant ...

Posted by igoy on Mon, 17 Jan 2022 05:22:19 +0100

Remember a server overload problem

I just got a call from my colleague in the morning saying that there is a high delay in access to online services. He checked and found that there is still enough memory, cpu usage is not very high, just the load is surprisingly high. I will start a series of checks when I arrive. 1. View server resource usage 1.1 top Looking at it first wit ...

Posted by dmikester1 on Mon, 17 Jan 2022 02:40:00 +0100

mysql5.7.29 dual master-slave configuration under linux environment

Note: mysql5.0 is used here 7.29 instantiate, install and deploy on two machines respectively. 106.13.145.174/3306 (Master) and 39.101.213.45/3306 (slave) 1. Install on two machines respectively, and install mysql-5.7.29 decompression version 1.1 upload the installation package to / usr/lcoal tar -zxvf mysql-5.7.29-linux-glibc2.12-x86 ...

Posted by frosty3d on Mon, 17 Jan 2022 01:56:51 +0100

linux Virtual Network - Network namespace and veth

Network namespace Network namespace is the function of network isolation provided by linux kernel. Each namespace has its own independent network protocol stack and its own independent routing table. The implementation and isolation of Docker container network is realized through network namespace. Operational network namespace # add to [roo ...

Posted by shinyo on Mon, 17 Jan 2022 01:08:31 +0100