Programming thinking and os Library of Python 3

1. Top down (analysis), bottom up (execution) -A general problem is expressed in the form of several small problems. The same method is used to further decompose the small problems until they can be solved simply and clearly by computer -Unit test and gradual assembly. Follow the top-down path. Until now, all parts of the sys ...

Posted by kankaro on Sat, 30 Nov 2019 09:55:42 +0100

Python crawls 50 pages of data from public comments, and the best Chengdu hotpot to eat is it!

Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Author: carrot sauce PS: if you need Python learning materials, you can click the link below ...

Posted by tboneuls on Thu, 28 Nov 2019 10:47:29 +0100

C#Thread Learning Note 1: Thread Foundation

This note was taken from: https://www.cnblogs.com/zhili/archive/2012/07/18/Thread.html And record the learning process for future reference. Introduction to threads A process is a collection of resources to be used by instances of an application, each running in its own process to ensure that the application is not affected by other application ...

Posted by howard-moore on Wed, 27 Nov 2019 21:30:01 +0100

TCP/IP network programming learning note disconnect socket

I. TCP based half shutdown 1. Problems caused by unilateral disconnection The close function of Linux and the closesocket function of Windows mean complete disconnection. Complete disconnection means that the input and output streams are disconnected at the same time. If host A no longer needs to transmit data to host B, and ...

Posted by kpzani on Wed, 27 Nov 2019 17:56:08 +0100

linux and Windows Process Control

Process Management Control What is implemented here is a custom timer that counts the time a child process runs.The main ways of use are timer [-t seconds] command arguments For example, to count the run time of ls, you can enter timers directly, followed by arguments, which are the parameters of the program you want to run.For example: timer l ...

Posted by growler123 on Thu, 21 Nov 2019 22:32:25 +0100

[scheduler] II. Scheduler initialization

Process 0 initializes the relevant structure of the scheduler, and transforms the scheduling class of process 0 into idle ﹣ sched ﹣ class scheduling class The first function to start executing C language code from assembly code from arch/arm64/kernel/head.S is start_ Start_kernel ----- > sched_init(), let's take a look at t ...

Posted by mgrphp on Thu, 21 Nov 2019 19:05:18 +0100

payload season 9 recurrence for liangshen based on white list Regsvr32

0x00 Regsvr32 introduction: The Regsvr32 command is used to register COM components. It is a command provided by Windows system to register or uninstall controls with the system, and runs in command line mode. Regsvr32.exe of WinXP and above system is under windows\system32 folder; regsvr32.exe of 2000 system is under winnt\sy ...

Posted by okuto1973 on Mon, 18 Nov 2019 17:15:37 +0100

iOS runloop internal implementation logic

Internal logic of RunLoop Create runloop static CFRunLoopRef __CFRunLoopCreate(pthread_t t) { CFRunLoopRef loop = NULL; CFRunLoopModeRef rlm; uint32_t size = sizeof(struct __CFRunLoop) - sizeof(CFRuntimeBase); loop = (CFRunLoopRef)_CFRuntimeCreateInstance(kCFAllocatorSystemDefault, __kCFRunLoopTypeID, size, NU ...

Posted by standalone on Thu, 14 Nov 2019 17:10:41 +0100

Real time human flow monitoring -- initial experience of Hikvision sdk

This article is mainly about the exploration process of the blogger's using the Haikang SDK for the statistics of human flow. Here is a brief record. There are about two ways to query documents and realize traffic statistics: alarm or monitor, I chose the monitoring mode here. Net? DVR? Startlisten? V30 is the interface to start monitoring. It ...

Posted by camoconnell.com on Thu, 14 Nov 2019 15:26:40 +0100

Automatic test based on web interface (based on HttpRunner+Fiddler)

1. Install Fiddler, please refer to http://together-learn.com/post/263 2. Install HttpRunner, the test I did in windows, precondition: install python and pip pip install httprunner 3. Record interface request through Fiddler 4. Export request session. har format file 5. The har file is converted to the test case file required by HttpRu ...

Posted by ssppllaatt on Thu, 14 Nov 2019 15:08:14 +0100