Linux RTC driver experiment

RTC, also known as real-time clock, is used to record the current system time. For Linux system, time is very important. Just as we use Windows computer or mobile phone to view time, we also need to view time when using Linux devices. In this chapter, we will learn how to write RTC driver under Linux. Introduction to Linux kernel RTC drive ...

Added by AMCH on Wed, 10 Nov 2021 20:59:32 +0200

Linux MISC driver experiment

Misc means mixed and miscellaneous, so misc driver is also called miscellaneous driver, that is, misc driver can be used when some peripherals on our board cannot be classified. Misc driver is actually the simplest character device driver. It is usually nested in platform bus driver to realize complex driver. In this chapter, we will learn ...

Added by slug58 on Wed, 10 Nov 2021 16:43:17 +0200

Note 1: point cloud environment construction and normal vector acquisition

    1. Point cloud environment 1.1 point cloud Relationship between point cloud and 3D image: 3D image is a special form of information expression, which is characterized by the data of three dimensions in the expressed space, including depth map (expressing the distance between the object and the camera in gray scale), geometric model (estab ...

Added by dfarrar on Wed, 10 Nov 2021 16:34:44 +0200

Zabbix 5.4 compilation and installation

Linux version: Centos 8.4 Zabbix version: 5.4.7 Mysql version: 8.0.26 Apache version: 2.4.37 PHP version: 7.2.24 (minimum requirement: 7.2) catalogue Environmental preparation 1, Software dependent package installation 1. LAMP installation 2. Installation of other software packages Service installation 1, Zabbix Server installation ...

Added by torleone on Wed, 10 Nov 2021 04:08:51 +0200

Linux is based on OpenCv and built-in code to add text to the picture

1, Principle 1. Internal code The internal code of Chinese characters refers to the code that represents a Chinese character in the computer. The internal code is slightly different from the location code. As mentioned above, the area code and bit code of Chinese location code are between 1 ~ 94. If the location code is directly used as t ...

Added by khendar on Tue, 09 Nov 2021 20:56:08 +0200

Recommend a Shell force artifact

Today, I want to introduce a productivity tool (force artifact) Shell. It is called NuShell. It is written in Rust. While improving security, the Bug rate is also reduced. NuShell focuses on achieving the following goals: Create a modern, flexible, cross platform ShellAllows you to mix and match command-line applications with shells that under ...

Added by pmzq on Tue, 09 Nov 2021 06:50:11 +0200

Linux experiment: integrated programming

1, Purpose of the experiment: 1. Understand the concept of network programming and socket programming related technologies; 2. Master the functions and usage of socket programming; 3. Master the basic process and method of socket programming. 2, Experimental environment: A computer running any Linux operating system with the GNOM ...

Added by lexx on Tue, 09 Nov 2021 06:29:38 +0200

782-C language #if, #ifdef, #ifndef usage details

Detailed explanation of C language conditional compilation What if we want to develop a C language program, let it output red text, and require cross platform and can run under Windows and Linux? The difficulty of this program is that the codes for controlling text color are different on different platforms. We must be able to identify differe ...

Added by klapy on Mon, 08 Nov 2021 14:58:17 +0200

Multithreading Learning Guide

Recently, I saw some readers asking for the C++ multithreading learning method in the official account. I have summarized it here, hoping to help you. catalogue What is multithreading? Why use multithreading? How do I create a thread? joinable()? Multi thread parameter passing mode lock Atomic variable Conditional variable async Mu ...

Added by pornophobic on Mon, 08 Nov 2021 10:00:51 +0200

LInux implements pwd and ls commands by itself

Implement pwd and ls commands by yourself In mybash version 1.0 and mybash version 2.0, the command operation in / usr/bin / directory is realized by executing the program fork and then replacing the sub process. For details, see Write your own version of bash1.0, Write your own version of bash2.0 , execvp will automatically find the comma ...

Added by shutat on Sat, 06 Nov 2021 17:21:49 +0200