Primary school students learn big data by themselves Chapter 1 common commands of linux
catalogue
1.vi/vim
1.1 what is it
1.2 general mode
1.3 editing mode
1.4 command mode
2. Help command
2.1 man
2.2 help
2.3 type
3. File directory
3.1 pwd
3.2 ls
3.3 cd
3.4 mkdir
3.5 rmdir
3.6 touch
3.7 cp
3.8 rm
3.9 mv
3.10 cat
3.11 more
3.12 less
3.13 echo
3.14 head
3.15 tail
3.16 > and > >
3.17 ln
3.18 hist ...
Added by phpknight on Wed, 09 Mar 2022 17:33:51 +0200
Three.js to achieve parabolic dynamic flow effect
Three.js to achieve parabolic dynamic flow effect
Old rules, let's first look at the final effect. This effect may be used in the demonstration from the beginning to the end of the aircraft route, the demonstration of missile launch trajectory effect and other scenes. After mastering the idea, the effect is very simple. There are actually two ...
Added by M2tM on Wed, 09 Mar 2022 17:28:05 +0200
Various locks in java
Pessimistic lock: pessimistic lock pessimistically believes that every operation will cause the loss of updates, and an exclusive lock is added every time.
Every time I go to get the data, I think others will modify it, so every time I get the data, I will lock it. In this way, if others want to get the data, they will block it until it gets t ...
Added by poknam on Wed, 09 Mar 2022 17:15:24 +0200
Steps to build a cluster environment
*How to transfer files from Mac to virtual machine:
Connect the host as follows: Transfer file: scp file location and file name root@IP Address: the location where files need to be stored
1. Configure NAT network
Note: change the network adapter of vm to NAT mode
edit /etc/sysconfig/network-scripts/ifcfg-ens33 file
Modified as BOOTPR ...
Added by brandon on Wed, 09 Mar 2022 17:00:28 +0200
Design mode - creator mode - singleton mode
Creator mode - singleton mode
The main focus of creative mode is "how to create objects?", Its main feature is "separating the creation and use of objects".
This can reduce the coupling degree of the system, and users do not need to pay attention to the creation details of objects.
The creation mode is divided into:
...
Added by thenewguy on Wed, 09 Mar 2022 16:47:01 +0200
Common scripts fkaka
Original address: Common scripts fkaka
Welcome to: My blog
introduction
This article is reproduced, but the original text
In the Kafka installation directory ($KAFKA_HOME/bin), many built-in scripts are provided for us to use. Using scripts can test most functions of Kafka. We will explain the use of scripts below
Start broker
bin/kafka-server- ...
Added by TitanKing on Wed, 09 Mar 2022 16:34:41 +0200
Workflow learning log (basic concepts, basic api usage)
Workflow learning log (basic concepts, basic api usage)
preface
When developing OA human resource management system, workflow needs to be used in personnel transfer, leave approval, etc. as a learning opportunity.
1, What is workflow?
1. Concept
Workflow is the automatic execution and management of business processes through computer ...
Added by cunoodle2 on Wed, 09 Mar 2022 16:26:24 +0200
Solution to invalid spring session configuration serialization for redis
The reason for the problem: after using springsession to automatically add the setting attribute to redis, it will appear hexadecimal garbled code in front of the value. Even if redis serialization configuration is configured, it is useless, because spring session creates a redis itself, and the default is new JdkSerializationRedisSerializer(); ...
Added by mobiuz on Wed, 09 Mar 2022 16:25:54 +0200
Logging Operator - elegant cloud native log management scheme
Logging Operator is an open source log collection scheme under Banzai cloud under the cloud native scenario. Previously, Xiaobai reprinted an article introduced by boss Cui. However, he had always thought that the architecture of managing Fluent bit and fluent D services simultaneously under a single k8s cluster was bloated, leaving a prelimina ...
Added by weekenthe9 on Wed, 09 Mar 2022 16:11:17 +0200
Chinese University MOOCPython language programming (Beijing University of Technology) week 5-6 study notes and after-school exercises
Week 5 function and code reuse
5.1 definition and use of functions
Use the reserved word def to define the function and lambda to define the anonymous function Optional parameters (initial value), variable parameters (* b), name transfer The reserved word return can return any number of results The reserved word global declaration uses gl ...
Added by jwer78 on Wed, 09 Mar 2022 16:06:40 +0200