On select function (C language)
1. Introduction
Select is still important in Socket programming, but for beginners of Socket, they don't like to write programs with select. They are just used to writing blocking programs such as connect, accept, recv or recvfrom (the so-called blocking method block, as the name suggests, means that a process or thread must wait for an ev ...
Posted by unerd.co.uk on Sat, 09 Oct 2021 06:34:59 +0200
Write an automatic reminder program for your girlfriend in python
The background of the event is that there are often many trivial things that need to be done at a certain time point. Relying on manpower alone is prone to deviation, especially for players who are easy to get confused. So I started to write a set of code, which can send messages through wechat as needed. Whether it is a memo to serve as an au ...
Posted by ManInBlack on Thu, 07 Oct 2021 21:23:48 +0200
[Windows] minicanda installation and environment configuration
The installation of Miniconda is mainly divided into the following aspects:
Miniconda is a small Python environment management tool. The installation package is only about 50M. Its installation program includes conda package manager and python. Once miniconda is installed, you can use the conda command to install any other software toolkit, cr ...
Posted by Eminem on Sun, 19 Sep 2021 12:50:24 +0200
FFmpeg is introduced into Android Studio, which is the favorite of the white whoring party
Then let's see how to build an environment for compiling FFmpeg?
Build an environment for compiling FFmpeg
=========================================================================
FFmpeg provides a complete solution, but this solution is written in C. we download the source code of FFmpeg and decompress it to see what the source code of FF ...
Posted by Boxerman on Mon, 06 Sep 2021 06:46:11 +0200
CAD Secondary Development--Automatic Loading of Developed DLL
CAD secondary development can be achieved by writing extended DLLs.The function of the DLL can be called by the CAD.
However, before calling it, you must load the dll into CAD with the command netload.
Actually, you can modify the registry and automatically load the extended DLL when the CAD software starts.
For this reason, I have written a fu ...
Posted by benkillin on Fri, 17 Jul 2020 17:17:54 +0200
MFC+Opencv3 Camera Read+Gray Histogram+Frame Number Comparison
1. Create a dialog-based MFC program under vs.
The layout is as follows
2. Initialize
Add the following code to the OnInitDialog() function in the C***Dlg class
CWnd *pWnd1 = GetDlgItem(IDC_PIC1); //Gets the window class that displays the camera picture (parameter is control ID)
CWnd *pWnd2 = G ...
Posted by isuckat_php on Wed, 08 Jul 2020 17:26:30 +0200
The first development of WeChat Public Number, beginners climb pits
Recently, I came into contact with the development of WeChat Public Number. First of all, I climbed this pit about custom menu and saw the document for a while plus Baidu's summary of the implementation methods
The code above shows that I used my own access token directly, which I implemented according to my own token.The acquisition of appi ...
Posted by Kevin3374 on Mon, 06 Jul 2020 16:36:44 +0200
The development of MSF stages is not completely North oriented
Using Golang to develop stagers
Last article The development of MSF stages is not completely to the North (1) We talked about how to use c to develop the stagers of msf. In this article, we discussed how to use Golang to achieve the same function
Train of thought
In Golang, it's important to know how to get the file descriptor of socket. In ...
Posted by pirri on Mon, 29 Jun 2020 11:17:12 +0200
Document operation related
Initial knowledge of file operation
Using python code to write a very low software to operate files
File path: Path
Open mode: read, write, append, read write, write read
Encoding mode: utf-8, gbk, gb2313
'' Trilogy1. Open file2. Perform corresponding operations on the file handle3. Close file'''
Use the open() functi ...
Posted by catchy on Sun, 28 Jun 2020 05:05:53 +0200
UGUI advanced knowledge [9] floating word prompt improvement
I wrote an article about floating words UGUI advanced knowledge [5] floating word prompt
There are still some disadvantages in the floating word prompt in this article, because one of the key points of UI is screen adaptability, so here we use the new article to write the key points
It can't be achieve ...
Posted by scofansnags on Sat, 27 Jun 2020 06:14:13 +0200