Win10/Win11 subsystem - wsl2 + Ubuntu 20 04 installation record

preface My last stubbornness - the slogan of not changing windows was defeated by reality. Installing dual systems will affect the part of deep learning that has been done well. Installing virtual machines can't use hardware GPU. I accidentally found that windows has such a thing, and many people are already using it. PS: after the instal ...

Posted by freynolds on Thu, 10 Mar 2022 11:47:46 +0100

QQ automatically sends messages - maintaining the flame of group chat

The author's original intention is very simple: because one day the flame of group chat that has lasted for a long time suddenly disappeared... So he made up his mind to complete the script program that can automatically send messages At present, there are three ways to realize it: Mobile terminal (qnotified & other modules supporting j ...

Posted by leapingfrog on Tue, 08 Mar 2022 20:04:12 +0100

Multithreaded programming and producer consumer issues

1, Thread theory foundation Advantages of threads One of the reasons to use multithreading: Compared with the process, it is a very frugal way of multitasking. Under the Linux system, to start a new process, it must be allocated an independent address space, and a large number of data tables must be established to maintain its code segments, ...

Posted by scottfossum on Mon, 07 Mar 2022 14:49:27 +0100

Process protection under r0

preface The full name of SSDT is System Services Descriptor Table. This table is a link between the Win32 API of Ring3 and the kernel API of Ring0. SSDT not only contains a huge address index table, but also contains some other useful information, such as the base address of the address index, the number of service functions and so on. By modi ...

Posted by ThermalSloth on Mon, 07 Mar 2022 09:45:51 +0100

16, C# tabular data control

Initial DataGridView The DataGridView control provides a powerful and flexible way to display data in tabular form. Users can use the DataGridView control to display a read-only view of a small amount of data, or they can align and zoom to display a markable view of a large dataset.There are many ways to extend the DataView control. For exampl ...

Posted by ultraviolet_998 on Wed, 02 Mar 2022 15:53:57 +0100

Using shell to realize the function similar to windows recycle bin under linux

When using linux, the rm -rf command is often executed, but this command is risky. For example, execute a shell script, which contains the following statements: # script.sh rm -rf $HOME/$SOME_PATH At this time, if the environment variable HOME is caused by a setting_ If the path is empty, all contents in the HOME directory will be cleared di ...

Posted by shilpa_agarwal on Sun, 27 Feb 2022 05:00:05 +0100

Building the lightest vscode-C + + development environment on Windows

1. Preface When I first entered the industry, I directly used Qt for C + + software development. After getting used to Qt light color style, especially the theme of virtual function italics. Then turn to VS, whether the dark or light theme of vs makes the author feel strongly unaccustomed. Moreover, the installation of VS is sometimes cri ...

Posted by itpvision on Sat, 26 Feb 2022 06:13:51 +0100

Install docker and docker compose from the command line in WSL2 (Windows subsystem v2 for Linux)

Note: installing WSL2 requires an operating system: at least Windows 10 1903 (Build 18362).Official installation methodIf you just want to install docker on WSL and use it on windows, it is recommended to refer to the official Microsoft document to install Docker Desktop.address https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-contain ...

Posted by sgaron on Thu, 24 Feb 2022 03:10:59 +0100

win10+vs2015 configuration opencv3 2.0+opencv_ contrib-3.2.0

Download content opencv3.2. Download address: https://opencv.org/opencv-3-2/ Contrib download address: https://github.com/opencv/opencv_contrib/releases?after=3.3.1 cmake download. Note that versions 3.6.1, 3.9 and 3.12 are available, but higher versions such as 3.20 cannot be used. You can download it from the official website https://cmake.o ...

Posted by ShugNorris on Sat, 19 Feb 2022 07:25:49 +0100

01 MySQL database installation (Windows+Mac)

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python actual combat quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 Catalogue* MySQL database installation + Windows - 1. Introduction to main versions - 2. Software download - 3. Introduction to document directo ...

Posted by pablocullen on Fri, 18 Feb 2022 12:54:26 +0100