Regular expressions - it's not that hard

        Many people's first reaction when they see regular expressions is that they have a big head and are difficult to learn. They have such a long string of symbols. What is this. Ah! Don't worry. In fact, regular expressions are easy to understand step by step. Don't believe it? Look! catalogue 1, What is a regular e ...

Posted by Crysma on Fri, 03 Dec 2021 13:41:57 -0800

Redis serialization protocol analysis

Introduction to RESP The Redis client and the Redis server communicate based on a protocol called RESP. The full name of RESP is Redis Serialization Protocol, that is, Redis Serialization Protocol. Although RESP is designed for Redis, it can also be applied to other client server software projects. The following points are considered in the des ...

Posted by bharanikumarphp on Fri, 03 Dec 2021 13:36:26 -0800

Openresty case explanation

preface We all know that nginx has many features and benefits, but it has become a difficult problem to develop on nginx. Nginx modules need to be developed in C and must comply with a series of complex rules. The most important module developed in C must be familiar with the source code of nginx, which makes developers afraid of it. For the ...

Posted by Bauer418 on Fri, 03 Dec 2021 13:26:34 -0800

IDrawingDoc Interface learning notes

Solidworks learning notes - link Solidworks on this basis Allows access to functions that perform drawing operations. attribute NameDescriptionremarksActiveDrawingViewGets the currently active drawing view.  Gets the currently active sheet view.AutomaticViewUpdateGets or sets whether the drawing views in this drawing are automatically up ...

Posted by tommynanda on Fri, 03 Dec 2021 13:06:57 -0800

Ruffian Heng embedded: use GPIO module to measure the system interrupt delay time of i.MXRT1xxx

Hello, I'm ruffian Heng, a serious technical ruffian. Today, ruffian Heng introduced the system interrupt delay time of i.MXRT1xxx. In Introduction to Cortex-M system interrupt delay and its measurement method In this paper, PI Ziheng introduced the basic concept of Cortex-M interrupt delay and a method to measure the interrupt delay time with ...

Posted by stuartbates on Fri, 03 Dec 2021 13:04:16 -0800

I install water dispenser China University of petroleum freshman training competition #10

Question I: installation of water dispenser time limit:   one   Sec    Memory limit:   128 MBSubmit state Title Description In order to advocate a low-carbon life in the city, the municipal Civilization Office plans to hold a marathon, and set up some observation points along the way to ensure the safety of the rac ...

Posted by KPH71 on Fri, 03 Dec 2021 12:39:38 -0800

Visual Studio Code Configuration C++ Environment

1. Install Visual Studio Code 1.1 Download Visual Studio Code The official download address for vscode is: https://code.visualstudio.com/Download There are two versions, one for the user and one for the system, as shown in the following figure: The author chose 64-bit system version, you can choose according to your own situation. 1.2 VsCode I ...

Posted by cwncool on Fri, 03 Dec 2021 12:38:36 -0800

The hard-working APP of the front-end pit avoidance guide was judged as a simple web page package?

The traditional hybrid mobile App development model usually uses WebView as the bridge layer. However, with the increasingly strict audit policies of iOS and Android App stores, it is sometimes wrongly judged that simple web pages are packaged into apps, which are easy to be rejected on the shelf. Since there may be risks, we can render in othe ...

Posted by aceconcepts on Fri, 03 Dec 2021 12:34:55 -0800

python multiprocess and multithreading, memory sharing and process pool, multithreaded programming

Memory sharing Memory sharing is realized through value array Returns a ctypes object created from shared memoryRequests and returns an array object of type ctypes from shared memory Memory sharing via Manager The Manager object returned by the Manager controls a service process, which saves Python objects and allows other processe ...

Posted by trauch on Fri, 03 Dec 2021 12:15:14 -0800

asm implements annotation printing log

preface In Android development, sometimes debugging problems add a lot of logs to the method, which is very troublesome. Therefore, in combination with asm, the log is automatically inserted into the method by annotation, so as to facilitate debugging during development. Of course, the log inserted through asm should contain the method paramet ...

Posted by cobnut on Fri, 03 Dec 2021 12:09:28 -0800