Practice 23 design patterns of GoF: SOLID principle

I have written about design patterns before< 23 design patterns of GoF using Go >However, after three articles in that series, I didn't continue, mainly because I couldn't find the appropriate sample code. Considering that if we take things close to life such as "whether ducks can fly" and "baking production process" a ...

Added by TonyIOD on Sun, 27 Feb 2022 03:50:01 +0200

Redis -- sentinel mode of cluster

๐Ÿ“ข๐Ÿ“ข๐Ÿ“ข๐Ÿ“ฃ๐Ÿ“ฃ๐Ÿ“ฃ Hello! Hello, everyone. I'm [one heart classmate], a highly motivated [Java domain blogger]! ๐Ÿ˜œ๐Ÿ˜œ๐Ÿ˜œ โœจ Writing style of [one heart students]: I like to explain every knowledge point in [easy to understand] writing, rather than using [tall and tall] official statement. โœจ The field of the blog is the learning of back-end te ...

Added by wilburforce on Sun, 27 Feb 2022 03:36:21 +0200

SpringBoot learning note 09: the use of thmeleaf and simulated Login

Learn from: Shang Silicon Valley Simple usage of thymeleaf Generally used is @{}Use this expression when using links${}Use request domain, session domain and object equivalence Three not commonly used. *{},#{},~{}. If the variable is not in the tag, you need to use inline usage. You need to surround the expression with two brackets. Simula ...

Added by Master_Phantom on Sun, 27 Feb 2022 02:37:47 +0200

C++ auto type derivation

reference http://c.biancheng.net/view/6984.html Syntax and rules of auto type derivation In previous versions of C + +, the auto keyword was used to indicate the storage type of variables, which is opposite to the static keyword. Auto means that variables are stored automatically, which is also the default rule of the compiler, so it is the ...

Added by TheBeginner on Sun, 27 Feb 2022 02:35:08 +0200

Study notes on lightweight network structure mobilenetv1, v2 and v3

Today, I'm going to take a simple note of mobilenet. I'm afraid I'll forget the relevant contents of mobilenet. First of all, we need to know that mobilenet is a model framework that can be used on embedded devices. Therefore, its biggest advantage is that it has less parameters, and we still need to ensure that the accuracy of computer vision ...

Added by sunnyside on Sun, 27 Feb 2022 02:07:34 +0200

Mybatis - dynamic SQL, paging plug-in

Dynamic SQL introduce In the mapping file of Mybatis, our SQL is relatively simple. Sometimes when the business logic is complex, our SQL changes dynamically. At this time, our SQL can not meet the requirements in the previous study. The official document on dynamic SQL reference is described as follows: Previous problems Example of mult ...

Added by miniature on Sat, 26 Feb 2022 22:34:36 +0200

JavaScript condition and loop structure

Learning objectives Master the key points of using JavaScript conditional structure statementsMaster the simple method of JavaScript to get and modify HTML elementsMaster the usage of common events in JavaScriptMaster the key and difficult points of using JavaScript circular structure statementsMaster the use of break and continue keywords ...

Added by thepip3r on Sat, 26 Feb 2022 22:20:40 +0200

Program environment and preprocessing

catalogue Program translation environment and execution environment Compilation and linking Pretreatment Program translation environment and execution environment In any implementation of ANSI C, there are two different environments. Translation environment and execution environment. Translation environment: in this environment, the ...

Added by Negligence on Sat, 26 Feb 2022 21:55:17 +0200

Dynamic memory management

Catalogue Introduction to dynamic memory function Common mistakes Flexible array Introduction to dynamic memory function malloc: apply for a continuous space like memory void* malloc(size_t size); If the development is successful, return a pointer to the developed space. If the development fails, a NULL is returned The return t ...

Added by Goose87 on Sat, 26 Feb 2022 21:51:09 +0200

String + memory function

catalogue Function introduction Simulation Implementation of library function Function introduction strlen: The string ends with '\ 0'. The strlen function returns the number of characters (excluding '\ 0') that appear before '\ 0' in the string. The string pointed to by the parameter must end with '\ 0'. Note that the return value o ...

Added by sBForum on Sat, 26 Feb 2022 21:47:43 +0200