Docker learning notes

Docker installation The installation can be viewed directly on the official website. Official website installation reference manual: https://docs.docker.com/engine/install/centos/ Docker start systemctl start docker View Docker version: docker version To view the installed image: docker images Test run hello docker run hello-world ...

Added by ladokha on Sun, 06 Mar 2022 10:05:05 +0200

[C + +] string common interface

1, STL STL (Standard Template Library): it is an important part of C + + standard library. It is not only a reusable component library, but also a software framework including data structures and algorithms. 2, string 1. Definitions String is a template class of string int main() { string s1("hello");//Construction object ...

Added by galewis on Sun, 06 Mar 2022 08:46:24 +0200

C + +: four types of cast

1, const_cast 1. The constant pointer is converted into a non constant pointer and still points to the original object; 2. Constant references are converted to non constant references and still point to the original object; 3,const_cast is generally used to modify pointers. Such as const char *p. #include<iostream> int main() { // ...

Added by Rollo Tamasi on Sun, 06 Mar 2022 03:15:49 +0200

I wrote an implementation case of Java RMI (Remote Method Call)

Python WeChat Subscription Applet Course Video https://edu.csdn.net/course/detail/36074 Python Actual Quantitative Transaction Finance System https://edu.csdn.net/course/detail/35475 I wrote a simple implementation case of Java RMI (Remote Method Call). To better understand RMI (remote method calls), the meaning of serialization, and so on, ...

Added by xfezz on Sat, 05 Mar 2022 19:32:59 +0200

Thread World in JAVA

Processes and ThreadsProcesses are the basic unit by which a program requests resources from the operating system, such as memory space and file handles.Threads are the smallest unit of independently executable execution in a process.JAVA Thread APICreating a thread in Java creates an instance of the Thread class.Each thread has its own task to ...

Added by dt192 on Sat, 05 Mar 2022 19:05:41 +0200

Using skills of python multi process shared variables

Multiprocessing is the main shared memory in python Manager (), multiprocessing shared_memory method, both of which are python built-in modules, in which shared_memory is python 3 If you want to use the new functions added after 8, you must use python 3 Version above 8. The following describes the differences between the two methods: 1.multipr ...

Added by abda53 on Sat, 05 Mar 2022 17:36:03 +0200

[spring] spring integration Mybatis source code analysis

Brief introduction to spring integration Mybatis This article focuses on mybatis spring 1.3.2!The core idea of integration: become the Bean of spring.Implementation of integration: spring Based FactoryBean. Mybatis spring 1.3.2 integration idea Mappercannerregister class is imported through @ mappercan.The mappercannerregister class implemen ...

Added by Jordi_E on Sat, 05 Mar 2022 17:32:41 +0200

First JDBC program

JDBC 1: Database driven For example: sound card, graphics card, driver, etc; 2: JDBC In order to simplify the (unified database) operation of developers, SUN company provides a (Java database operation) specification, commonly known as JDBC. The implementation of these specifications is done by specific manufacturers. For developers, we onl ...

Added by andrin on Sat, 05 Mar 2022 17:12:12 +0200

Optional air judgment operation manual

We programmers do a lot of null value checking. Although sometimes this kind of inspection is completely unnecessary, we are used to routine. Finally, Java 8 couldn't stand it anymore, so we introduced Optional so that the code we wrote was no longer so mean and inflexible. Pull the name of a member from the database according to the member ID, ...

Added by akshay on Sat, 05 Mar 2022 14:56:12 +0200

SpringBoot integrates JWT to realize login verification

1 Definition The full name of JWT is JSON Web Token, which is the most popular cross domain authentication solution at present. JWT is an open standard based on JSON, which is designed to transfer declarations between network application environments. This information can be verified and trusted because it is digitally signed. JWT can sign wi ...

Added by SnakeFox on Sat, 05 Mar 2022 13:56:47 +0200