Python Basics (classes and objects)
Python Basics (classes and objects)
1, Two ideas of programming
Process oriented and object-oriented
Process orientedobject-orienteddifferenceThings are relatively simple and can be solved by linear thinkingThings are complicated and cannot be solved by simple linear thinking
Common ground: both object-oriented and process oriented are a way ...
Added by elgordo1960 on Sun, 06 Mar 2022 12:43:18 +0200
Hcie security Day24: DSPN+NHRP+Mgre: experiment (III) configure non shortcut DSPN (BGP routing protocol)
catalogue
Review the content of bgp
bgp neighbor establishment process
Experiment: configure non shortcut DSVPN (BGP routing protocol)
Requirements and topology
Operation steps
1. Configure addresses and security zones
2. Configure security policy
3. Configure public network dynamic routing to ensure that public network interface rout ...
Added by Nothsa on Sun, 06 Mar 2022 12:40:43 +0200
Spring transaction management
1, Transaction Basics
1. Transaction definition
2. Four characteristics of transaction
Atomicity Transaction is the logical work unit of database. All operations included in transaction are either done or not done at all.Consistency The result of transaction execution must be to change the database from one consistency state to another. ...
Added by j9sjam3 on Sun, 06 Mar 2022 12:31:18 +0200
CURD and MyBatis profiles
2.1 CURD
Add method in Dao interface
int insert(User user);
int deleteById(@Param("id") int id);
int update(User user);
User selectById(@Param("id") int id);
Add SQL in mapping file
<insert id="insert" parameterType="user">
insert into user(id,name,pwd) values(#{id},#{name},#{pwd})
</insert>
<delete id="deleteById" param ...
Added by LanHorizon on Sun, 06 Mar 2022 12:22:23 +0200
Deploy nacos cluster in k8s (official document version)
Xiaobai anti forgetting Recently, I learned the basic usage of k8s and wanted to practice with an actual springCloud project. As a result, I was directly stopped in the first level registration center. Fortunately, there are official configuration documents, but there are still some holes in the configuration process, so I record it here. Deplo ...
Added by gwizz on Sun, 06 Mar 2022 12:10:02 +0200
Data structure - sequential list, linked list
I Data structure overview
Data Structure is a subject that studies the organization and management of data. It is often expressed externally as a collection or container of a set of data.
Concept explanation:
Element: managed atomic data, unlimited element types.
Collection: a container for storing elements. It needs to organize elements wi ...
Added by thenature4u on Sun, 06 Mar 2022 11:51:52 +0200
Linux learning notes
1, Common commands
Teaching video of station B: https://www.bilibili.com/video/BV1mW411i7Qf?p=106
tab Automatic completion if you want to switch paths, such as cd Desktop Can enter cd Des tab Key automatic completion
Direction keys up and down can automatically the previous command
clear Clear screen
whoami View current login user
1.1 doc ...
Added by infomamun on Sun, 06 Mar 2022 11:50:09 +0200
Game 73 biweekly
Game 73 biweekly
subject
6024. The number that appears most frequently immediately after the key in the array
General idea of the topic
Give you an integer array nums with subscript starting from 0, and give you an integer key, which has appeared in nums.
Count the occurrence times of different integer targets that appear immediately after ...
Added by metalblend on Sun, 06 Mar 2022 11:47:09 +0200
Query performance is improved by 3 times! Apache Hudi query optimization?
Starting with Hudi version 0.10.0, we are pleased to launch the support of advanced data layout optimization technology called Z-Order and Hilbert space filling curve in the database field.
1. Background
The Amazon EMR team recently published a very good article article Shows how to analyze the data Clustering How to improve query performance? ...
Added by thinkmarsh on Sun, 06 Mar 2022 11:37:39 +0200
Java process control_ 004
java Basics
4, Process control
4.1. Basic structure
Sequential structure
The command line is executed sequentially Branch structure (select structure)
Different results can be obtained by selecting different execution processes according to conditions category
Single branch statement if–else
Multi branch statement ...
Added by knz on Sun, 06 Mar 2022 11:33:43 +0200