Kubernetes notes storage
There are Volume and Mount concepts in the operating system.
Volume: represents the logical abstraction of physical storageMount: Mount external storage into the system and container.
In order to solve the data storage of containers, kubernetes also introduces the concept of Volume. Kubernetes divides Volume storage into ordinary non pers ...
Added by Santonian on Mon, 14 Feb 2022 15:23:26 +0200
Day 17 assemble
Requirements: use the array to store 3 student information, and traverse the array to obtain each student information
public class Student {
private String name;
private int age;
public Student(){
}
public Student(String name, int age) {
this.name = name;
this.age = age;
}
public String getName() {
...
Added by kanikilu on Mon, 14 Feb 2022 15:05:24 +0200
JS string method
catalogue
1,indexof()
2,charAt()
3,concat()
4,substring()
5,substr()
6,slice()
7,replace()
8,replaceAll()
9,split()
10,trim()
11,match()
1,indexof()
indexOf()
Method returns the
String
The index of the specified value that first appears in the object, from
fromIndex
Search at
Cable. Returns if the value is not ...
Added by waygood on Mon, 14 Feb 2022 14:54:04 +0200
Self study Shiro framework notes
Introduction to Shiro framework
1, Shiro overview
1.1 what is Shiro
. Apache Shiro is a powerful and easy-to-use Java security framework, which provides functions such as authentication, authorization, encryption and session management. Shiro can provide comprehensive security management services for any application. It can be used not only ...
Added by kraen123 on Mon, 14 Feb 2022 14:34:10 +0200
Building a JavaScript single page application without a framework
Build a JavaScript Single Page App Without a Framework - SitePoint
The front frame is great. As your projects evolve, they can be structured in a way that allows you to understand most of the complexity of your application and help you organize it in a single page.
However, there is also a downside: these frameworks incur a certain degree of ...
Added by eddedwards on Mon, 14 Feb 2022 14:31:39 +0200
Ten minutes to take you in-depth understanding of multithreading, multithreading lock optimization
1, Some suggestions for improving lock performance
Lock competition will inevitably lead to the decline of the overall performance of the program. In order to minimize this side effect, here are some suggestions on using locks, hoping to help you write programs with higher performance.
1. Reduce lock holding time
For applications that use lo ...
Added by MiniMonty on Mon, 14 Feb 2022 14:27:52 +0200
Random number generator of Gaussian distribution
Random number generator of Gaussian distribution
The implementation process is to first find the blog of the implementation of relevant Gaussian random numbers in vivado, first get a general understanding, and then go to HowNet to find the relevant master's thesis, summarize the simplest implementation method of Gaussian random number generati ...
Added by ikscovski on Mon, 14 Feb 2022 14:21:11 +0200
element ui upload picture usage
Through slot You can import custom upload button types and text prompts. You can limit the number of uploaded files and define the behavior when the limit is exceeded by setting limit and on-exceed ed. You can prevent file removal by setting before remove.
<el-upload
class="upload-demo"
action="https://jsonplaceholder.typicode.com/pos ...
Added by davidp on Mon, 14 Feb 2022 14:18:45 +0200
Programming three swordsmen in Shell regular expressions (grep, sed, awk)
preface:
There are many kinds of text processors or text editors in Linux/UNIX system, including VIM editor and grep, which we have learned before.
grep, sed and awk are text processing tools often used in shell programming, which are called three swordsmen of shell programming.
1, sed editor
(1) Overview of sed editor
sed is a flow editor ...
Added by justAnoob on Mon, 14 Feb 2022 14:14:42 +0200
js advanced -h5 new features
New label
Represents a block
Represents an article. Such as articles, comments, posts and blogs
Represents a header
Represents a footer
Indicates navigation
Represents the sidebar. Such as the sidebar of the article
Indicates media content grouping (less used) ...
Added by IceHawk on Mon, 14 Feb 2022 14:07:14 +0200