Iterator mode (C + + implementation)
1. Definitions
A design pattern that provides a method to access elements in a collection in sequence, but does not expose the implementation details inside the collection, belongs to behavioral design pattern The iterator mode separates the storage and traversal of data. The storage is handed over to the aggregation class, and the travers ...
Added by cedricm on Sun, 06 Mar 2022 06:10:04 +0200
Cross database data backup, restore and migration tools
preface
In the process of data development, in order to ensure the safety of the production database, the real-time data is generally synchronized and backed up to the local test database to complete the development work, and finally deploy the application.
The actual business scenario of this article: you need to copy and restore the productio ...
Added by MikeTyler on Sun, 06 Mar 2022 05:51:05 +0200
Basic use of ESLint
Meet ESLint
The purpose of linstatic is to avoid errors in the code when we run the code. The purpose of linstatic is to ensure that the code of linstatic can be analyzed uniformly without the help of linstatic, Maintain a consistent code style and improve the readability and maintainability of the code.
ESLint is similar to JSLint and JSHint b ...
Added by duny on Sun, 06 Mar 2022 05:50:19 +0200
Strings, arrays and generalized tables
strand
definition
A finite sequence of zero or more characters
The subsequence composed of any consecutive characters in the string is called the substring of the string
A string composed of one or more spaces is called a space string. A space string is not an empty string
There are also two storage structures for strings, sequential storage an ...
Added by HockeyDevil07 on Sun, 06 Mar 2022 05:33:25 +0200
ZUCC_ Computer network experiment_ Experiment 06 router foundation and static routing
Experimental report of City College of Zhejiang University
File download: https://download.csdn.net/download/OwemShu/83598798
1, Experimental purpose
1. Master the configuration method of static route;
2. Understand the function and principle of routing table.
2, Experimental equipment
Cisco router 2911; PC.
Routing module, serial port l ...
Added by corporateboy on Sun, 06 Mar 2022 05:29:01 +0200
Experience day34
Article link: Three hundred lines per day (summary)_ minfanphd blog - CSDN blog
Depth first traversal of Day34 graph
34.1 ideas
Compared with breadth first traversal, depth first traversal is depth traversal, and depth traversal is more like the first root traversal of a tree. The depth traversal is realized with the help of the stack. As sh ...
Added by kerplunk on Sun, 06 Mar 2022 05:28:30 +0200
Study notes - Mybatis
1. Introduction to mybatis
1.1 analysis of original Jdbc operation
The problems existing in the original development are as follows:
1. The frequent creation and release of database connections cause a waste of system resources, which affects the system performance.
2. sql statements are hard coded in the code, which makes the code difficult to ...
Added by stick_figure on Sun, 06 Mar 2022 05:18:36 +0200
New java8 feature: Stream stream
Stream stream
The new features of Java 8 are mainly Lambda expressions and streams. When streams and Lambda expressions are used together, the characteristics of stream declarative processing of data sets can make the code concise and easy to read
What is flow
A stream is a sequence of elements generated from a source that supports data proc ...
Added by tomdumont on Sun, 06 Mar 2022 05:13:16 +0200
We upgraded and adapted AGP 7.0 | gossip
theme: smartblueupgradeEverybody, I wish you a happy new year in advance.At the beginning of the year, we plan to upgrade apg, and then embrace jetpack compose!!If you want to use comopse, you have two required options agp7 0 and kotlin version 1.5.31Java11 configurationBecause apg7 0 needs to switch all module compilation environments to Java ...
Added by enfys on Sun, 06 Mar 2022 05:11:50 +0200
aar and source switching plug-in Plus | an abandoned case that has not been adopted
start Monorepo simply means putting all the company's code into a Git / Mercurial / Subversion code warehouse. For many people who have never heard of this concept, it is tantamount to a fantasy. Shouldn't Git warehouse be one for each project? For many companies using monorepo, their Git warehouse not only has their own code, but also includes ...
Added by flhtc on Sun, 06 Mar 2022 05:06:54 +0200