SpringAOP_ Set injection implementation
SpringAOP_ Set injection implementation
Coupon website m.cps3 cn
AOP_ Preliminary understanding of aspect oriented programming
Let's imagine a scenario. You are writing a project, and multiple modules in the development process have a piece of repeated code, so you choose to abstract it into a method, and then call this method where necess ...
Added by eternalprophet on Thu, 17 Feb 2022 21:35:25 +0200
Using feign as the client to call remote http service in spring boot
Feign introduction
A central concept supported by feign of pring Cloud is named client Feign client uses @ feign client to register and assemble components and call remote server on demand Spring Cloud uses FeignClientsConfiguration to create a new collection as the ApplicationContext (application context) of each named client, including feign ...
Added by imcookie on Thu, 17 Feb 2022 21:28:06 +0200
Linux system management and operation
Chapter 23 configuration management Ansible and Saltstack
1. Configuration management system
The most commonly used CM systems: Ansible, Salt, Puppet, Chef
Interpretation of configuration management terms
Terms we useAnsibleSaltoperationtaskstateop typemodule (template)functionOperation list (OP)Tasks (multiple tasks)states (state set)b ...
Added by Xeoncross on Thu, 17 Feb 2022 21:27:49 +0200
Design Mode - Factory Mode
Factory Mode
Simple Factory Mode Case study: Chefs cook dishes as an example. Chefs can cook meat and fish and have customers order them public interface Chef {
public void cook();
}
public class Meet implements Chef{
@Override
public void cook() {
System.out.println("Cook pot meat~");
}
}
public class Fish impleme ...
Added by xplosiongames on Thu, 17 Feb 2022 21:22:42 +0200
[historical legacy] there are also records: HDOJ - brush questions md
HDOJ travel
[by_041]
There was once a preface
catalogue
ACM Steps
Chapter One - phase 1
Section One - basic input and output
It is a summary of the input and output of the classic ACM competition
P1089: multiple groups of data, one group occupies one line, with two numbers until the end of EOFWhile (CIN > > a ...
Added by dico on Thu, 17 Feb 2022 21:11:01 +0200
Docker Installation and Mirror Configuration (Introduction to Common Commands)
1. Install Docker
Official Web https://docs.docker.com/engine/install/centos/
# 1. Uninstall the old version
yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
# 2. Installation packages required
yum install ...
Added by abhishekphp6 on Thu, 17 Feb 2022 21:04:15 +0200
Windows penetration basic commands that must be seen by security beginners
Here I recommend my official account number: programmer sailing.
Windows development history
Microsoft Windows At first, it was developed by Microsoft in 1985 and gradually became the most popular version of Microsoft's operating system.
MS-Dos
Version numberRelease timeWindows1.01985.11Windows2.01987.12Windows2.11988Windows3.01990.5Windo ...
Added by Skittlewidth on Thu, 17 Feb 2022 21:00:11 +0200
Maven series of project management - create project, POM file, dependency mechanism, life cycle, custom library, external dependency
Maven series of project management (II)
Create project, POM file, dependency mechanism
Lifecycle, custom libraries, external dependencies
catalogue
1. Create Maven project
1.1. Command line / terminal creation 1.2. Eclipse creation 1.3 Java project transferred to Maven project 2. POM file
2.1 dependence
2.1.1,JUni ...
Added by Illusionist on Thu, 17 Feb 2022 20:56:30 +0200
gRPC Go service discovery and load balancing
gRPC Go service discovery and load balancing
https://blog.cong.moe/post/2021-03-06-grpc-go-discovery-lb/
gRPC It is a high performance RPC framework open source by Google and supports multiple languages It has been widely used in inter service invocation in cluster In order to large-scale traffic and avoid single point of failure, services ...
Added by barrygar on Thu, 17 Feb 2022 20:55:07 +0200
MySql query operation
query
Query all data select * from emp; Query the specified data
select column / function
select column_name1, column_name2, ... from table_name;
select mgr from emp;
+------+
| mgr |
+------+
| 7902 |
| 7698 |
| 7698 |
| 7839 |
| 7698 |
| 7839 |
| 7566 |
| NULL |
| 7566 |
+------+
Query to remove duplicate records
The default search ...
Added by bweekly on Thu, 17 Feb 2022 20:52:38 +0200