Nginx learning notes (entry version)
1, Installing Nginx under Centos
Reference documents
If the machine installs Nginx for the first time, you need to set the software package warehouse of Nginx before installing Nginx, and then install and update Nginx through the warehouse
Install some pre required configurations
yum install yum-utils
Set the yum warehouse in / etc / ...
Posted by sgarcia on Mon, 07 Mar 2022 14:38:09 +0100
Crazy God said Spring02: get started quickly hellosppring
HelloSpring
1. Create spring-02-hellospring
2. Add Hello entity class
public class Hello {
private String str;
public String getStr() {
return str;
}
public void setStr(String str) {
this.str = str;
}
@Override
public String toString() {
return "Hello{" +
"str='" + str + ...
Posted by cdherold on Mon, 07 Mar 2022 13:59:29 +0100
Handler source code analysis
Handler parsing in Android
Understanding Handler
1. What is a Handler
Handler is a very important component of android messaging processing mechanism. It is often used by working threads to update UI threads and deliver messages, so as to realize the communication between threads.
2. Why use Handle
Multithreading is often involved in our ...
Posted by Confusion101 on Mon, 07 Mar 2022 12:17:36 +0100
Java Basics - exceptions
Exception
Basic concepts
In the Java language, abnormal conditions occurring in program execution are called "exceptions". (syntax and logic errors in the development process are not exceptions)
Abnormal events during execution can be divided into two categories:
Error: a serious problem that the Java virtual machine cannot solve. ...
Posted by yodasan000 on Mon, 07 Mar 2022 11:48:19 +0100
RabbitMQ -- persistence, release confirmation
It should have been updated yesterday, but when using the browser to access the web port of the server's RabbitMQ, chrome shows that it is not a private link and does not allow you to log in to the Edge. Baidu has found many problems and still can't solve them. The reason is that the server doesn't install SSL certificate and uses ip directly t ...
Posted by harmor on Mon, 07 Mar 2022 11:43:05 +0100
HashMap key source code analysis
1, Introduction to HashMap
HashMap is one of our commonly used collection frameworks. The underlying implementation is array + linked list + red black tree. The elements are out of order, that is, the storage order is not necessarily in the order of addition. Synchronization is not supported, that is, the thread is unsafe.
2, Key parameters o ...
Posted by AlanG on Mon, 07 Mar 2022 11:40:38 +0100
Fundamentals of Java programming IV: Object Oriented Programming
Chapter IV object oriented programming
1 object oriented and process oriented
Both of them are a kind of thought, and object-oriented is relative to process oriented. Process oriented emphasizes the functional behavior, taking the function as the smallest object and considering how to do it. Object oriented, encapsulating functions into obje ...
Posted by Dillenger on Mon, 07 Mar 2022 10:01:49 +0100
Blue Bridge Cup AcWing learning notes 4-1 learning of enumeration (with relevant Blue Bridge real questions: concatenated interval number, increasing triplet, sum of special numbers) (Java)
Students who participate in the blue bridge cup can pay attention to the blogger. The blogger is also preparing the Blue Bridge Cup and can brush questions with the blogger's blog.
Blue Bridge Cup
My AcWing
The title and pictures are from the counseling class of group ab of Blue Bridge Cup C + +
enumeration
Enumeration, as the name su ...
Posted by Elusid on Mon, 07 Mar 2022 09:10:43 +0100
SpringBoot-21-Mybatis multi data source configuration
SpringBoot-21-Mybatis multiple data sources
As we mentioned earlier, there are two ways to generate Mybatis Code:
Mybatis Genenrator Mybatis code generation Mybtais Plus MyBatisPlus code generation
The JdbcTemplate and spring boot data operation databases were also introduced earlier
JdbcTemplate multi data source configuration Spring ...
Posted by Ree on Mon, 07 Mar 2022 04:53:58 +0100
Java multithreading Foundation
catalogue
1, Basic thread usage
1. Two ways to create threads
2. Thread application case 1 - inherit thread class
3. Thread application case - Implementation of Runnable interface
4. Thread application case - multithreaded execution
5. How do threads understand
2, The difference between inheriting thread and implementing Runnable
1. Cod ...
Posted by cachemony on Mon, 07 Mar 2022 04:37:14 +0100