21-11-29 structure and document operation

How to define a structure type? struct Student { int num; char name[2]; int age; }**;** The first letter is capitalized, and the structure name must reflect the function of the structure (self annotation) Function cannot be saved in structure: Solution: save function pointer example: struct Student { int num; char name[2]; int age; void ( ...

Added by gnu2php on Wed, 01 Dec 2021 10:36:45 +0200

Docker: successfully install docker in Ubuntu and simply configure it

Environmental Science: Ubuntu 20.04 (LTS)Intel i7 9750H 1, Installing Docker using warehouse Official description: Use the warehouse to complete the installation of Docker If you are installing Docker for the first time, you need to set the Docker warehouse before installing Docker through the warehouse. 1. Set warehouse 1. Update apt pac ...

Added by yacaph on Tue, 30 Nov 2021 21:25:17 +0200

Crawler crawling learning notification information

1, Introduction to reptiles 1. Introduction (1) The English name of Web Crawler is Web Crawler or Web Spider. It is a program that automatically browse web pages and collect required information. (2) The crawler starts from the URL of the initial web page and obtains the URL on the initial web page. In the process of grabbing the web page ...

Added by sudhakararaog on Sun, 21 Nov 2021 02:06:00 +0200

Two computers transmit files through serial port and call opencv library to program and display pictures and text

1, Two computers use serial port for file transmission (1) Experiment content Connect the two laptops with serial port by means of usb to rs232 module and DuPont line. Then use tools and software such as serial port assistant (with file transfer function) to transfer a large file (picture, video and compressed package software) on one lap ...

Added by shai1 on Sat, 20 Nov 2021 05:00:16 +0200

C processes and threads

Catalogue of series articles preface The generation mode of learning process, such as fork(), system(), exec() functions, etcCommunication and synchronization between Linux processes, including pipe, named pipe fifo, semaphore sem, shared memory shm, message queue msg, and signal. Record their learningLearn the thread programming mo ...

Added by dksmarte on Fri, 19 Nov 2021 16:07:35 +0200

redis6.2 deployment using TLS (three high availability modes)

Install redis6.2 and enable TLS encryption install # Install dependent software sudo apt update sudo apt install make gcc libssl-dev pkg-config # Download redis and decompress wget https://download.redis.io/releases/redis-6.2.6.tar.gz tar -xvf redis-6.2.6.tar.gz # compile cd redis-6.2.6 make BUILD_TLS=yes # If there is an error during c ...

Added by Wo0tHigh on Fri, 19 Nov 2021 08:37:53 +0200

Install FTP server for Ubuntu 14.04

install Install the ftp server with the following command sudo apt install vsftpd   Software management Software management mode service vsftpd start start-up service vsftpd restart restart service vsftpd stop stop it service vsftpd status View status And write the configuration anonymous_enable=YES anon_root= /data/pub loca ...

Added by Mindwreck on Thu, 18 Nov 2021 10:12:09 +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

Elegant installation of OpenStack

The original text was written for the pike version half a year ago. Here is an update for the Queen version. =========================== There are many OpenStack installation methods, such as chef, ansible, puppet, fuel, etc. If it is the development and preliminary research of OpenStack, devstack should be the installation method with the lo ...

Added by natepizzle on Mon, 01 Nov 2021 11:56:48 +0200

Qt development experience tips 181-185

Qt is born in Linux and developed from Linux. Therefore, many Qt programmers often use Linux as their development environment, such as commonly used ubuntu and other systems, and sort out some commonly used linux commands. commandfunctionsudo -sSwitch to the administrator. If it is sudo -i, the current directory will be changed after switching ...

Added by dc519 on Sat, 30 Oct 2021 14:34:00 +0300