Vue learning diary 36
1.p:last-child Resolution: [1] The: last child selector is used to match the last child element in the parent element [2] P: last child is equivalent to P: nth last child (1)
2. Hidden classes based on breakpoints Parsing: import 'element UI / lib / theme talk / display css’; [1] Hidden xs only: hidden when viewport is at xs size [2] Hid ...
Posted by minou on Fri, 11 Feb 2022 06:48:51 +0100
Container - linux netless installation docker
Catalog
1. View the Kernel:
2. Install docker without network:
(1) Turn off selinux:
(2) Download the package:
(3) Upload software package:
(4) Decompression package:
(5) Move files:
(6) Script docker services:
(7) Upload service scripts and authorizations:
(8) System reload profile:
3. Start-up self-docker service:
4. Start the doc ...
Posted by stevepatd on Fri, 11 Feb 2022 05:28:21 +0100
Operator-SDK: Custom CRD for Node request information collection
Operator-SDK: Custom CRD for Node request information collection
A demo for information collection, which writes a Controller custom CRD to implement Node's request information collection. The primary purpose is to obtain CPU and memory usage. Part of the code refers to the source implementation of describe in the kubectl command.
Cluster ...
Posted by amit on Fri, 11 Feb 2022 01:09:07 +0100
C + + learning notes (11): common containers in STL
This blog post is a note taken when learning the C + + video of dark horse programmer. It is only convenient to review the old and know the new. It is not used for other purposes.
1, string container
1.1 basic concept of string
1. Essence: String is a C + + style string, and string is essentially a class
2. The difference between string ...
Posted by Anarchatos on Thu, 10 Feb 2022 13:17:35 +0100
ByxContainerAnnotation -- an annotation based lightweight IOC container
ByxContainerAnnotation is a lightweight IOC container based on annotations that mimics Spring IOC. It supports constructor injection and field injection, circular dependency processing and detection, and has a highly extensible plug-in system.
Project address: https://github.com/byx2000/byx-container-annotation
Maven introduction
<reposit ...
Posted by brewmiser on Thu, 10 Feb 2022 10:27:34 +0100
Construction of micro cluster system
Project start
In August 2021, the idle teacher found some old friends and joined the whole department in a new job. The work content is relatively easy. The idle teacher is the front-end identity in the team. In January 2022, one month before the new year, the idle teacher basically completed the work of the whole year and was relatively idle. ...
Posted by benzrf on Mon, 07 Feb 2022 03:59:33 +0100
[Yugong series] January 2022: Construction of Docker container Mysql master-slave replication
#Preface system environment:
Windows 11 Enterprise Editionmysql8.0+dockervm virtual machine
1, Construction of Mysql master-slave replication
1. Pull the image
docker pull mysql
2, Configuration of MYSQL main service
Because I already have local mysql in 3306, the mysql port in the container is set to 33306
docker run --name mys ...
Posted by XzorZ on Sun, 06 Feb 2022 22:24:27 +0100
[spring IOC] the spring IOC container bean is parsed and encapsulated as BeanDefinition
When we use context to obtain beans, in fact, the bottom layer is the DefaultListableBeanFactory class of operation. This class is mainly divided into two parts:
Registered bean: parse class and encapsulate it as beanDefinition object;Instantiate an object from beanDefinition.
Let's first look at how to save data.
beanDefinition object
Prop ...
Posted by hrosas on Sun, 06 Feb 2022 08:27:26 +0100
Advanced Kubernetes concepts and Applications
1. K8S Storage Volume Abstract Volume
By default: the temporary storage inside the mysql container is used to store data files when the container starts
If mysql Pod is restarted, the mysql container will also be restarted, mysql will reinitialize the data file, and the original data file will be lost.
apiVersion: apps/v1
ki ...
Posted by northcave on Fri, 04 Feb 2022 18:48:39 +0100
Docker&Kubernetes ❀ detailed explanation of basic commands of docker image and container related operations
1. Docker information query
1.1 version information
[root@localhost ~]# docker version
Client: Docker Engine - Community #Client version information
Version: 20.10.5
API version: 1.41
Go version: go1.13.15
Git commit: 55c4c88
Built: Tue Mar 2 20:17:04 2021
OS/Arch: linux/amd64 ...
Posted by Base on Fri, 04 Feb 2022 09:14:26 +0100