Regular expression review

@[TOC] table of contents according to Rookie tutorial Add a few personal understanding and finishing, which can be used to review the knowledge points. For details, please refer to the original link 1. re.match function re match(pattern,string,flags=0) re.match only matches the beginning of the string. If the beginning of the string does not ...

Added by hoogeebear on Sat, 12 Feb 2022 00:01:17 +0200

Engineering landing competition - TIPC and Serving support examples

General introduction The project is mainly based on github project Introduce how to access TIPC and how to support serving. For more information about the original project, please see readme Understand MD. In addition, you can also refer to the official TIPC and Serving To connect your own model to TIPC and serve support. TIPC basic chain &c ...

Added by Agtronic on Fri, 11 Feb 2022 23:58:22 +0200

spring integrates the core principles of mybatis

In mybatis, I often use @ MapperScan annotation. Let's see how it is integrated into spring. First, when we enter MapperScan, we will see @ import (mapperscannerregister. Class) When we open mappercannerregister, we will see that the importbeandefinitionregister interface is implemented. This interface will call the registerBeanDefinitions ...

Added by Phirus on Fri, 11 Feb 2022 23:51:54 +0200

Basic usage of Python datetime module

import datetime as dtThe module mainly has five classes, datetime class: displays the date and time Date class: displays the date Time class: display time timedelta class: used to calculate date and time objects timezone class: used to adjust the time zone For a class, the functions in the class are collectively referred to as methods. 1. Use ...

Added by namasteaz on Fri, 11 Feb 2022 23:47:00 +0200

Implementing TinyWebServer from scratch

Original author: https://zhuanlan.zhihu.com/p/364044293   From 0 to server development -- TinyWebServer preface: Project code for modification, complete annotation and addition of functions: https://github.com/white0dew/WebServer What is it—— C + + lightweight Web server under Linux helps beginners quickly practice network pr ...

Added by DavidP123 on Fri, 11 Feb 2022 23:37:11 +0200

61-90 of more than 100 questions in Python interview (detailed version)

61. Explain the http protocol http is an object-oriented protocol belonging to the application layer. Because of its simple and fast way, it is suitable for distributed hypermedia information system. The main features of HTTP protocol can be summarized as follows: Support client / Server ModeSimple and fast: when a client requests a service ...

Added by nightowl on Fri, 11 Feb 2022 23:31:32 +0200

python basic interview questions

Deep copy and shallow copy Shallow copy is to copy only the first layer of the object. If there is a variable type reference in the first layer, if the variable type changes, the copied object will also change. For example a = [1, 2, [1,2]] b = copy.copy(a) # Here, the final copy of both copy and list generated for loop slices is a sh ...

Added by nilesh on Fri, 11 Feb 2022 23:31:10 +0200

Lettuce source code Analysis-1 [synchronous operation]

1, ForewordOfficial document address: https://lettuce.io/core/5.3.7...  recently, due to work requirements, we need to understand some implementation principles of lettuce. As can be seen from the directory of the official documents, lettuce implements a wealth of business functions, supports three execution modes: synchronous blocking, Fu ...

Added by excence on Fri, 11 Feb 2022 23:25:31 +0200

GEE: Use of common masking functions in remote sensing image processing [updateMask]

For learning to be just and constant, for learning to be not just Sui Dynasty, and for learning to be constant, to retreat. Song. Feng Zixian Preface There are three masking-related functions in GEE, mask, updateMask and unmask. It is necessary to distinguish and master the usage of three masking functions. 1. mask() function e ...

Added by FortMyersDrew on Fri, 11 Feb 2022 23:15:19 +0200

Introduction to shell script

Introduction to shell script Absrtact: briefly introduce the knowledge related to shell script, including variables, strings, arrays, operations, functions, script debugging, etc. 1, shell script shell is an application program of Linux system. It starts, pauses, stops the program or controls the computer by accepting the commands en ...

Added by Dragoonus on Fri, 11 Feb 2022 23:08:19 +0200