openLDAP win installation and deployment and java CRUD interface

catalogue summary testing environment setup script Configuration startup Client introduction Configuration of ldif file for multi-level DC java interface writing test [1] . overview What is LDAP? I won't talk about the concept here. There are many online searches. The focus of this paper is to introduce how to install and configure openLDAP ...

Posted by phpnoobie on Fri, 19 Nov 2021 07:49:31 -0800

javaWeb: Servlet from scratch

Servlet 1. The essence of Servlet Servlet is essentially a java interface. By implementing the servlet interface, the custom servlet class can accept the data submitted by the client, respond to the client's request and output information to the client. 2. Function Read explicit data sent by the client (browser). This includes HTML forms o ...

Posted by storyteller on Fri, 19 Nov 2021 07:30:21 -0800

Binary deployment high availability k8s cluster

A pre knowledge point ####1.1 environmental preparation Server requirements • recommended minimum hardware configuration: 2-core CPU, 2G memory, 30G hard disk software environment Softwareeditionoperating systemCentOS7.x_x64Container engineDocker CE 19KubernetesKubernetes v1.20 Overall server planning roleIPassemblyk8s-matser1172.21. ...

Posted by gazolinia on Fri, 19 Nov 2021 07:17:31 -0800

Equality judgment of = = and equals, int and Integer in java

Equality judgment of = = and equals, int and Integer in java 1. The sentence "= = means comparison address and equals means comparison attribute" is wrong To demonstrate why it is wrong, consider a question: int a = 1; int b = 1; A = = is B true or false? According to the above words, the comparison is the address. Naturally, it ...

Posted by Ace_Online on Fri, 19 Nov 2021 06:35:49 -0800

Summary of front-end routing knowledge points

1. The core of front-end Routing: Change the URL without overall refresh: Implementation methods: 1) hash of URL 2) history of html5 2. hash of URL location.hash=' ' 3. history of HTML5 history.pushState({}, ' ' , 'home' ) history.replaceState({},'','home') pushState() is like entering and exiting the stack. It is a stack structure that ca ...

Posted by ririe44 on Fri, 19 Nov 2021 06:16:50 -0800

[python] controls the sub process through the signal mechanism

In python, the use of multiple processes can bypass the limitation of GIL, so as to make full use of multi-core CPU to speed up tasks. However, if the process is not handled properly, it is easy to cause Zombie process or Orphan process , resulting in a waste of system resources. This paper analyzes the writing methods of these two processes t ...

Posted by xkellix on Fri, 19 Nov 2021 05:53:06 -0800

Advanced MySQL - character set and comparison rules

Introduction to character sets and comparison rules Character set introduction We know that only binary data can be stored in the computer, so how to store strings? Of course, it is necessary to establish the mapping relationship between characters and binary data. To establish this relationship, at least two things should be clear: What ch ...

Posted by adnanhb on Fri, 19 Nov 2021 05:46:22 -0800

[software testing] let 0 basic pure beginners also have handwritten Python and nanny level tutorials

In the previous article [software testing], 0 basic pure Xiaobai can also write python. Nanny level tutorial (III) shares the basic knowledge of Python. We will continue to share other contents this time. catalogue 1, List 2, List element NEW 3, List element modification 4, Query list elements 5, Other actions for the list 6, List sortin ...

Posted by Warptweet on Fri, 19 Nov 2021 05:27:20 -0800

java object-oriented -- package + inheritance + polymorphism

package Concept: It is a way to organize classes, which can ensure the uniqueness of classes create package Click new under src package and then package to create a package. Creating a new java class under the created package will create a class. matters needing attention: 1. Add a package statement at the top of the file to specify whic ...

Posted by hiberphoptik on Fri, 19 Nov 2021 05:25:26 -0800

PAT B1058 1073 multiple choice question (the meaning of the question is similar and can be compared)

1058 multiple choice questions (20 points) Correcting multiple-choice questions is more troublesome. Please write a program to help the teacher correct multiple-choice questions and point out which question is wrong most. Input format: Input gives two positive integers N (≤) on the first line   1000) and M (≤   100), which ar ...

Posted by rdub on Fri, 19 Nov 2021 05:01:30 -0800