Spring Data JPA - property details
Recently, I checked a spring data jpa problem. In fact, it can not be regarded as a framework level problem, but rather a configuration problem; Because spring data jpa has not been used before (more mybatis or self-developed orm components), it is expected to record the configuration of spring data jpa through this article.
Starting from the ...
Posted by umer on Fri, 26 Nov 2021 13:09:54 -0800
Weekly leetcode - 5/NC17/121/122/123/112/309/714/2/415
leetcode - 5. Longest palindrome substring
Give you a string s and find the longest palindrome substring in S.
Example 1:
Input: s = "babad"
Output:"bab"
Explanation:"aba" The same answer is in line with the meaning of the question.
Example 2:
Input: s = "cbbd"
Output:"bb"
Example 3:
Input: s = "a"
Output:"a"
Example 4:
Input: s = "ac" ...
Posted by ripcurlksm on Fri, 26 Nov 2021 12:07:01 -0800
Java 8 | how to initialize Map & List2Map gracefully
The great Java 18 is coming out soon, and we may not be familiar with the core Lambda usage of Java 8. This article shares several tips for operating Map in the development process on Stream technology. After reading this article, I believe you will have a new understanding of Stream.
1, Gracefully initialize a Map
Before looking down, firs ...
Posted by cuteflower on Fri, 26 Nov 2021 08:43:41 -0800
return and job management of SaltStack
1. return of saltstack component
The return component can be understood as the SaltStack system stores or returns the data returned by Minion to other programs. It supports a variety of storage methods, such as MySQL, MongoDB, Redis, Memcache, etc. through return, we can record each operation of SaltStack and provide a data source for futu ...
Posted by scottshane on Thu, 25 Nov 2021 22:00:55 -0800
Linux system programming - file IO
man has nine volumes. System programming is the content of Volume II, and volume V is file format and specification
open function
Function prototype
Parameter pathname file name
Macro with parameter flags as access mode: o_ Rdonly (read only), O_ Wronly, O_ Rdwr (read write) these three must be added
O_ Append, O_ Creat, O_ Excl ...
Posted by OriginalBoy on Thu, 25 Nov 2021 17:04:16 -0800
Network Programming --- subprocess module, struct module, glue package, UDP protocol, socket_server module
Reproduced from: Network Programming --- subprocess module, struct module, glue package, UDP protocol, socket_server module - Remaining person. - Blog Park
Network Programming --- subprocess module, struct module, glue package, UDP protocol, socket_server module
Catalog
subprocess modulestruct moduleSticky package
Sticking prob ...
Posted by radar on Thu, 25 Nov 2021 10:03:01 -0800
nginx realizes dynamic and static separation
1. What is dynamic and static separation
Dynamic and static separation is mainly realized through nginx + PHP FPM, in which nginx handles static files such as pictures and html, and PHP handles dynamic programs.
Dynamic static separation refers to the architecture design method of separating static pages from dynamic pages or static conte ...
Posted by Lautarox on Wed, 24 Nov 2021 00:58:31 -0800
Linux Learning Notes 2
tar command
Use the tar command to package, compress, and decompress files:
Compress the file using gzip and specify the compression name tar_gzip.tar.gz
[root@ikta ~]# tar -czvf tar_gzip.tar.gz find_test1 find_test2
find_test1
find_test2
Compress the folder using bzip2 and specify the compression name tar_bzip2.tar.bz2
[root@ikta ~]# tar ...
Posted by john_wenhold on Tue, 23 Nov 2021 12:10:00 -0800
Keep alive to achieve high availability of httpd server
1. Introduction to keepalived
Keepalived software was originally designed for LVS load balancing software to manage and monitor the status of each service node in LVS cluster system. Later, it added VRRP function that can realize high availability. Therefore, in addition to managing LVS software, keepalived can also be used as high availab ...
Posted by astarmathsandphysics on Tue, 23 Nov 2021 01:03:46 -0800
C + + classes and objects
1, Class Constructor: the constructor is a special member function with the same name as the class name. It is automatically called by the compiler when creating a class type object to ensure that each data member has an appropriate initial value and is called only once in the life cycle of the object. Characteristics of constructors: construct ...
Posted by siobhan on Tue, 23 Nov 2021 00:53:15 -0800