Click the mouse to show love + socialist values + random color text + mouse cursor custom image
js animation - click to show love
Just put the following JS code before < / body >
<script type='text/javascript' src='//api.dujin.org/js/aixintexiao.js'></script>
Full code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, i ...
Posted by aconite on Sun, 12 Apr 2020 21:45:10 -0700
011. BIO blocking network programming
1. http protocol
Request packet resolution
The first part: request line, request type, resource path and HTTP version.
The second part: the request header, the part immediately after the request line (i.e. the first line), is used to describe the additional information to be used by the server.
The third part: blank line. The blank line afte ...
Posted by rem on Sun, 12 Apr 2020 19:25:29 -0700
Release jar package to central warehouse
1. Register sonatype and submit issue work order (you can find online tutorial by yourself)
2. Install gpg and create public key and private key gpg -- Gen key (you can find the tutorial on the Internet)
3. Send the key corresponding to the public key to the server (xxxx) secret key (the tutorial can be found on the Internet)
gpg --keyserver ...
Posted by ddrummond on Sun, 12 Apr 2020 09:08:13 -0700
Release jar package to central warehouse
1. Register sonatype and submit issue work order (you can find online tutorial by yourself)
2. Install gpg and create public key and private key gpg -- Gen key (you can find the tutorial on the Internet)
3. Send the key corresponding to the public key to the server (xxxx) secret key (the tutorial can be found on the Internet)
gpg --keyserver ...
Posted by snipesh0tz on Sun, 12 Apr 2020 08:31:17 -0700
When the template method encounters a delegate function, your code can be simplified again
Now when you look at the source code of some open source projects, you will find that there are many delegation functions everywhere, such as Func,Action,Predicate. It is true that the current C ා is becoming more and more mainstream on the way of functional programming, showing more and more power. Some of the classical design patterns used to ...
Posted by amelhedi on Sat, 11 Apr 2020 20:56:07 -0700
Spring Boot 2.X practice -- Spring Security login and registration
>Author: Xiao Xian
>
>Source code warehouse: https://github.com/zhshuixian/learn-spring-boot-2
For the Web system, it is necessary to control the access rights of pages and API interfaces. For example, it is necessary to block the access rights of non system users and control the access rights of different pages or interfaces. In Java ...
Posted by DonnieDarko on Sat, 11 Apr 2020 19:38:44 -0700
Spring Boot 2.X: SQL database (MyBatis)
I am Xiaoxian, a non slash youth who focuses on big data and distributed technology. I love Coding, reading, photography and life more!
Source code warehouse: https://github.com/zhshuixian/learn-spring-boot-2
In the previous section Spring Data JPA In, it mainly introduces how Spring Data JPA connects to the database, and how to add, delete, ...
Posted by peDey on Sat, 11 Apr 2020 19:13:05 -0700
Spring Boot 2.x actual combat -- SQL database (Spring Data JPA)
I am Xiaoxian, a non slash youth who focuses on big data and distributed technology. I love Coding, reading, photography and life more!
Source code warehouse: https://github.com/zhshuixian/learn-spring-boot-2
The previous section mainly introduces Spring Boot integrating Log4j2 and Slf4j to print and output logs to files. In the application d ...
Posted by Sam on Sat, 11 Apr 2020 19:05:16 -0700
Talk about the Prometheus service of canal
order
This paper focuses on the Prometheus service of canal
CanalMetricsService
canal-1.1.4/server/src/main/java/com/alibaba/otter/canal/spi/CanalMetricsService.java
public interface CanalMetricsService {
/**
* Initialization on canal server startup.
*/
void initialize();
/**
* Clean-up at canal server stop phase.
...
Posted by DataRater on Sat, 11 Apr 2020 07:29:43 -0700
A detailed explanation of C - generics
This article focuses on generics in C, which play an important role in C, especially when building project framework.
1, What is generics
Generics is a new syntax introduced by C × 2.0, not a syntax sugar, but a function provided by framework upgrade in 2.0.
When programming programs, we often encounter modules with very similar functi ...
Posted by aksival on Sat, 11 Apr 2020 01:05:52 -0700