The principle of springboot-part01

1. Principle 1.1pom.xml Spring boot dependencies: the core dependencies are in the parent projectWhen we write or introduce some Springboot dependencies, we don't need to specify the version because there is a version repository 1.2 starter <dependency> <groupId>org.springframework.boot</groupId> <artifactId> ...

Posted by richmlpdx on Sun, 05 Dec 2021 06:43:23 -0800

docker container network configuration

docker container network configuration The creation of namespace in Linux kernel ip netns command You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it ...

Posted by GooberDLX on Sun, 05 Dec 2021 06:18:58 -0800

L1-043 reading room (20 points)

TIANTI book reading room, please write a simple book borrowing statistics program. When readers borrow books, the administrator enters the book number and presses the S key, and the program starts timing; When the reader returns the book, the administrator enters the book number and presses the E key, and the program ends the timing. The book n ...

Posted by kellydigital on Sun, 05 Dec 2021 06:17:36 -0800

[crazy God says Java] detailed explanation of Spring

Crazy God video address https://www.bilibili.com/video/BV1WE411d7Dv?p=3 1,Spring 1-1. Introduction to spring Spring: Spring -------- -- > brings spring to the software industry! In 2002, the prototype of Spring framework: interface21 framework was launched for the first time! Spring framework is based on interface21 framework. ...

Posted by bob_dole on Sun, 05 Dec 2021 06:11:11 -0800

Porting uC/OS-III operating system based on stm32cubemx and waveform observation

catalogue 1, Get uC/OS-III source code 2, Create folder 2.1 new folder 2.2 create an empty file 2.3 import source code 2.4 creating a basic stm32 framework 2.5 import file and add header function path two point six   Open keil and add item ​   3, Rewrite code 3.1 modify startup file 3.2 modify CONFIG/app_cfg.h 3.3 modify C ...

Posted by Azarian on Sun, 05 Dec 2021 05:35:31 -0800

Spring - automatic injection?

The way we often inject is similar to this @Service public class HelloService { @Autowired private BeanFactory beanFactory; @Autowired public HelloService(ApplicationContext applicationContext) { } @Autowired public void setEnvironment(Environment environment) { } } Whether constructor injection or attribute ...

Posted by kardiostep on Sun, 05 Dec 2021 05:30:52 -0800

Record a troubleshooting of RR and RC deadlock

Record the deadlock problems and solutions encountered in the development process The first is the isolation level. mysql has four isolation levels, from loose to strict Read uncommitted         Read Uncommitted Read commit             Read Committed     (isolation level used in onlin ...

Posted by Remote4ever on Sun, 05 Dec 2021 05:22:04 -0800

MySQL master-slave replication and read-write separation

catalogue 1, MySQL master-slave replication 1. Principle of master-slave replication 1. Replication types supported by MySQL 2. Working principle of MySQL master-slave replication 3.MySOL master-slave replication delay 4. Role of replication 2. Specific operation 1. Main server 192.168.68.200 2. From server 192.168.68.30 3. From serve ...

Posted by pella.d on Sun, 05 Dec 2021 05:04:57 -0800

The simplest spring cloud tutorial in history chapter 1: service registration and discovery (Eureka)

  The simplest spring cloud tutorial in history chapter 1: service registration and discovery (Eureka) 1, Introduction to spring cloud Spring cloud provides developers with some tools to quickly build distributed systems, including configuration management, service discovery, circuit breaker, routing, micro agent, event bus, global lock, ...

Posted by rarebit on Sun, 05 Dec 2021 05:01:49 -0800

Chapter 87 LeetCode refers to the maximum sum of continuous subarrays of Offer dynamic programming

1. Title Description Enter an integer array. One or more consecutive integers in the array form a sub array. Find the maximum value of the sum of all subarrays. The required time complexity is O(n). Example 1: Input: num = [- 2,1, - 3,4, - 1,2,1, - 5,4] Output: 6 Explanation: the maximum sum of continuous subarray [4, - 1,2,1] is 6. ...

Posted by Shaudh on Sun, 05 Dec 2021 04:53:43 -0800