Detailed explanation of Linux character device driver VII ("plug in" device tree realizes RGB lamp driver)

Catalogue of series articles Detailed explanation of Linux character device driver Detailed explanation of Linux character device driver II (using device driver model) Detailed explanation of Linux character device driver III (using class) preface This article mainly comes from punctual atom, wildfire Linux tutorial and my understanding. ...

Added by Fribbles on Sun, 28 Nov 2021 21:47:42 +0200

Four installation and deployment methods of database

Database installation Experimental environment Redhat8.3 Method 1: use the MySQL repository to install and deploy mysql 1, Add MySQL repository Add the MySQL Yum repository to the repository list of the system. This is a one-time operation that can be performed by installing the RPM provided by mysql. Follow these steps: Go to th ...

Added by Dragoa on Sun, 28 Nov 2021 15:11:38 +0200

web deployment topic: Gunicorn operation and configuration method

    Original link: https://www.cnblogs.com/qiu-hua/p/12680905.html Gunicorn "green Unicorn" is a widely used high-performance Python WSGI UNIX HTTP server. It is transplanted from the Unicorn project of Ruby and uses the pre fork worker mode. It has the characteristics of very simple use, lightweight resource consumption and hi ...

Added by KaFF on Sun, 28 Nov 2021 09:10:31 +0200

Analysis of wrong questions in the 269th weekly game of LeetCode

Week 269 race The topic is very simple. There are only three questions, and the fourth one is a little short. I'm still too good. I'll continue to work hard to train my thinking and speed. 5938. Find the target subscript after array sorting class Solution(object): def targetIndices(self, nums, target): """ :type nums ...

Added by Fergal Andrews on Sun, 28 Nov 2021 08:50:58 +0200

c/c++linux background development blood washing notes 2.2.2 application of reactor in network components

Network programming concerns Connection establishment It is divided into two types: the server handles the connection of the receiving client, and the server connects to the third-party service as the client; int clientfd = accept(listenfd, addr, sz); int connectfd = socket(AF_INET, SOCK_STREAM, 0); connect(connectfd, (struct sockaddr *)&a ...

Added by baudday on Sat, 27 Nov 2021 23:17:52 +0200

Win32 API Menus and Controls

control Control concept Control: a special kind of "child" window, the system has defined the window type Create like create window, call CreateWindow, each control has its own ID When a control event occurs, a notification message is sent to the parent window where it is located SendMessage and PostMessage can be used to send messa ...

Added by dmcdivitt on Fri, 26 Nov 2021 19:23:59 +0200

Detailed explanation of PG status of distributed storage Ceph

1. PG introduction Following the last shared< Ceph introduction and principle architecture sharing >This time, I will mainly share the detailed explanation of various states of PG in Ceph. PG is one of the most complex and difficult concepts. The complexity of PG is as follows: At the architecture level, PG is located in the middle of t ...

Added by vulcant13 on Fri, 26 Nov 2021 07:19:03 +0200

Kubernetes CKA certified operation and maintenance engineer's notes - kubernetes cluster construction

1. Two ways to deploy K8s in production environment kubeadm Kubedm is a tool that provides kubedm init and kubedm join for rapid deployment of Kubernetes clusters. Deployment address: https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/Binary It is recommended to download the binary package of the distribution from the officia ...

Added by dbdbdb on Thu, 25 Nov 2021 01:02:13 +0200

Variable and encryption in Ansible

Variable naming 1. It can only contain numbers, underscores and letters 2. Can only start with underscore or letter! Variable level Global: set from the command line or configuration file Play: set in play and related structures Host: tasks collected or registered by lists, facts Variable priority setting: Narrow and wide area Variable set ...

Added by Vettel on Wed, 24 Nov 2021 21:52:02 +0200

Gitstats git historical statistics tool

GitStats - Git historical statistics tool 2020-07-212020-07-21 10:31:28 read 1.1K0 If you are a member of the R & D effectiveness team or engaged in CI/CD or DevOps, in addition to providing infrastructure, indicators and data are also a very important link. For example, you need to analyze ...

Added by twinzen on Wed, 24 Nov 2021 14:50:35 +0200