CMake tutorial summary under Linux
CMake is an open source and cross platform construction tool, which allows us to generate local Makefile by writing a simple configuration file. This configuration file is independent of the running platform and compiler, so there is no need to write Makefile in person, and the configuration file can be directly used on other platforms without ...
Added by alireza on Wed, 16 Feb 2022 04:09:11 +0200
Xenomai implements RTOS resource collection and notes
Real time test: detailed explanation of cyclictest Must understand the process scheduling in Linux system After reading some information, can it be understood as: tasks of real-time processes and ordinary processes in Linux_ Struct data structure is different; Different scheduling strategies (SCHED_FIFO, SCHED_RR and SCHED_NORMAL) are used, res ...
Added by toasty2 on Wed, 16 Feb 2022 04:05:19 +0200
3 frequently tested SQL data analysis questions (including data and code)
In the process of data job recruitment, we often examine the SQL ability of job seekers. Here are three frequently tested SQL data analysis questions, which are sorted from simple to complex. Let's test whether you have mastered them?Mysql.qps code 0 and above.Title 1: find out the employees with the second highest salary in each departmentTher ...
Added by cypr on Wed, 16 Feb 2022 03:51:46 +0200
How to install other versions of Python environment on Linux ECS with actual combat applet
Hello, everyone. I'm an old watchA previous article Using Python to build a fund query robot, you can also expand! , python environment is required to be version 3.7 or above. Install Python on Linux for the first time (previously, Python 3.6.8 built in the system is used), and record it.1. Download Python source code from the official websiteI ...
Added by Terriator on Wed, 16 Feb 2022 03:48:06 +0200
Creation, waiting, termination and separation of multithreads
1, Create a new thread
1. Header file: < pthread h> 2. Function: pthread_create(pthread_t *thread,const pyhread_attr_t *attr,void *(start_routine) (void ),void *arg);
namesignificancepthread_tEquivalent to unsigned integer length*threadID of the threadconst pyhread_attr_t *attrHalf of the properties of the thread are ignored. By default ...
Added by alanlee79 on Wed, 16 Feb 2022 03:33:44 +0200
Hyperledger Fabric 2.x custom smart contract
1, ExplainIn order to continuously update information and manage the ledger (write transactions, query, etc.), the blockchain network has introduced smart contracts to access and control the ledger; Smart contract is called chain code in Fabric, which is the business logic of blockchain application.This article shares how to use the Java langua ...
Added by Andrei on Wed, 16 Feb 2022 03:32:39 +0200
[axios source code] - study and analysis of the request distribution function DispatchRequest
Welcome to my official account, "front-end wall".
1, Environmental preparation
axios version v0 twenty-four Through github1s web page, you can see axios - dispatchRequest.js source code clone to local is required for debugging
git clone https://github.com/axios/axios.git
cd axios
npm start
http://localhost:3000/
2, Funct ...
Added by zako234 on Wed, 16 Feb 2022 03:17:41 +0200
Design mode [15] - learn the responsibility chain mode from the approval process
I've come to the responsibility chain mode. My guest, listen to my nonsense
What is the responsibility chain model
Responsibility chain model is a design model. In the responsibility chain model, many objects are connected by each object's reference to its next family to form a chain. Requests are passed along the chain until an object i ...
Added by Birdfeed on Wed, 16 Feb 2022 03:16:17 +0200
docker learning notes 5
1, docker network
1.1 understanding docker0
Empty all containers in docker
docker rm -f $(docker ps -aq)
Clear all images in docker
docker rmi -f $(docker images -aq)
ctrl+l is the shortcut key to clear the screen, which is equivalent to clearip addr view the IP address information of the server, and you can see the information of three ...
Added by ranjita on Wed, 16 Feb 2022 03:10:06 +0200
Lombok introduction to mastery
1, Preface
The use of Lombok is controversial. The author strongly recommends Lombok, and even believes that some common functions should be directly integrated in the form of JDK.
It is meaningless to write a bunch of Set/Get methods in the process of building entity classes; The toString method that inherits the Object class by default is o ...
Added by lalov1 on Wed, 16 Feb 2022 03:04:05 +0200