[Linux] Station Thirteen: Process Status

Article directory 1. Process status 1. Running status 2. Blocked state 3. Suspended state 2. Specific process status in Linux 1. Status in Linux 2.R state 3.S state 4.D state 5.T, t state 6.X state (dead) 7.Z state (zombie) 8. Summary of zombie processes 9. Summary of orphan processes 1. Process status In our general […]

Mysql5.7 second level guaranteed configuration item example

1. Mysql5.7 configuration file my.ini configuration example [mysql] #Set the mysql client default character set default-character-set=utf8 [mysqld] #Set the mysql port number and adjust it to the non-default port 3306 port=3807 #Set to the program installation directory of mysql basedir=”C:\Program Files\MySQL\MySQL Server 5.7″ #Set the storage directory for the data of the mysql database datadir=”D:\ProgramData\MySQL\MySQL […]

Logitech G29 steering wheel development under Linux

git project: rc-joystick RemoteControl JSTestG29 (1) Check the port and read steering wheel data Reference blog The project requires the use of a Logitech G29 gaming steering wheel to demonstrate remote driving. The Logitech G29 gaming steering wheel and window system have special “logitech gaming software” that can be driven and set up. However, the […]

When git uploads a project, it keeps reporting a file without adding any content (git pulls up other people’s projects and uploads them to their own warehouse/error: failed to push some refs to https://gitee.com/)

Blog homepage: Breaking the waves and moving forward Series of columns: Vue, React, PHP Thank you everyone for likingfavorites?comments Table of Contents Two methods: 1: Forced upload can be used 2: Delete other people’s .git files, because someone else has configured the remote address of git, and if you pull it locally together, he does […]

Clever use of attribute selectors to simplify puppeteer front-end automated test code development

For information on how to use Puppeteer to build automated testing projects, you can refer to the Getting Started Guide: Using Puppeteer for Front-end Automated Testing. This article is intended to share a simplifying technique when writing test code. Applicable scenarios It is suitable for B-side system pages with many form operations and relatively uniform […]

VC++ under Windows uses boost::asio + WSAEventSelect + WSACreateEvent to implement async-listen-accept socket-fd

What requirements would lead to giving up using boost::asio::ip::tcp::acceptor directly? to listen and accept socket instances from clients? Hypothetical scenario: We need to make the sockets that already know the IPEndPoint address endpoint work under the same context, because this group of sockets will copy data across each other. If we have multiple contexts, it […]

Solving AttributeError: module skimage has no attribute io

Table of Contents Solving AttributeError: module ‘skimage’ has no attribute ‘io’ Problem Description Solution 1. Check scikit-image library version 2. Check module name 3. Check library installation 4. Check the environment in conclusion Sample code: Processing face data in images What is scikit-image library Main features Usage example Solving AttributeError: module ‘skimage’ has no attribute […]

The Three Musketeers of Python Data Analysis: Pandas, Matplotlib and Seaborn

Python has powerful data analysis and processing capabilities. To use Python for data analysis, you need to master the three Python packages pandas, matplotlib, and seaborn. Mastering the knowledge of Python data analysis can help us better discover what is behind the data. laws and trends to provide support for business decisions. Reading data using […]

Shell Three Musketeers–sed

Non-interactive editor that processes content one line at a time. (Streaming text editor) parameter ① -f specifies a rule file. When the requirements are complex, there are many contents that need to be matched. ② -n prevents input line output ③ -r expands the regular rule, and the things that cannot be matched can now […]

Java Chapter Thirteen: Enumerated Types and Generics

Enumeration type Use enumeration types to set constants When setting constants, we usually place them in the interface so that they can be used directly in the program. This constant cannot be modified because when the constant is defined in the interface, the modifiers of the constant are changed to final and static. The general […]