GitHub Actions workflow syntax
A workflow example Welcome to my personal blog Torch-Fan
name: Build and Deploy to ACK
on:
release:
types: [created]
# Environment variables available to all jobs and steps in this workflow.
env:
REGION_ID: cn-hangzhou
REGISTRY: registry.cn-hangzhou.aliyuncs.com
NAMESPACE: namespace
IMAGE: repo
TAG: ${{ github.sha }}
ACK_ ...
Added by agnalleo on Fri, 18 Feb 2022 03:18:39 +0200
Python data structure and algorithm
data structure
Introduction
A brief history of the future: Dataism
Problem solving: What Why How a feasible method based on the finite point of view
Turing machine calculation model
Algorithm and computational complexity
Computable problem: the difficulty of the algorithm
Non computable problem: boundary or limit
Breaking th ...
Added by Rony on Fri, 18 Feb 2022 03:11:12 +0200
Advanced series of large front end -- realize your own scaffold from zero
preface
With the increasing complexity of front-end development, a large number of js frameworks have emerged, and almost every one is equipped with supporting construction tools, such as Vue cli, create react AP, @ angular/cli, @ nestjs/cli and so on. These scaffolds can quickly help developers initialize configuration, build directory struct ...
Added by adige on Fri, 18 Feb 2022 03:09:54 +0200
Kubernetes1. Upgrade from 14. X to 1.15 Version x -- kubedm installation
1, Explain
This article describes how to upgrade the Kubernetes cluster created with kubedm from version 1.13 X upgrade to version 1.14 x.
You can only upgrade from one MINOR version to the next, or upgrade between PATCH versions of the same MINOR. In other words, MINOR version cannot be skipped during upgrade. For example, you can start fro ...
Added by hawleyj on Fri, 18 Feb 2022 03:00:37 +0200
Hive reading guide
First, build Hive programming environment, Click me to check!
Chapter 2 basic operation
2.7 command line interface
2.7.1 CLI options
hive --help
-- see cli Service usage help
hive --service cli --help
2.7.2 variables and attributes
-- Display variables and attributes in all namespaces above
set;
-- Display variables and attributes ...
Added by phpbrat on Fri, 18 Feb 2022 02:54:20 +0200
Algorithm design and analysis -- traveling sales problem -- code analysis and explanation
Problem description
A salesperson wants to sell goods in four cities. The distance between cities is known, as shown in the right figure. How should he choose a route starting from city 1, passing through each city and finally returning to city 1, so as to minimize the total travel distance?
Train of thought analysis
Determine the so ...
Added by tomo11 on Fri, 18 Feb 2022 02:30:27 +0200
[learn and forget] git operation - 19. git diff command
1. git diff command description
Before commit ting, we usually need to determine where we changed the code and see if there is any misoperation code. At this time, the display of git status command is relatively simple, just listing the modified files. If you want to see what has been modified, you can use git diff command.
Show how many ...
Added by dianaqt on Fri, 18 Feb 2022 02:26:12 +0200
C + + concurrency and multithreading
1. Pass temporary object as thread parameter
1.1 pitfalls to avoid (explanation 1)
First analyze the parameter i. The analysis shows that for i, the function in the thread originally uses reference transfer, but actually uses value transfer. Therefore, even if detach is used in the main thread to end the main thread first, the sub thread ...
Added by thinguy on Fri, 18 Feb 2022 02:21:01 +0200
Notes + reflection notes
Reflection: the soul of frame design
The first thing to write is *. java The file is generated by the compiler *.class Finally, the bytecode is run through the virtual machine *.class file
* Framework: semi-finished software. Software development can be carried out on the basis of the framework to simplify coding
* Reflection: encapsulating ...
Added by coolboarderguy on Fri, 18 Feb 2022 02:10:18 +0200
Channel channel in Kotlin
select multiplexing in channel
In the data communication system or computer network system, the bandwidth or capacity of the transmission medium is often greater than the demand for transmitting a single signal. In order to make effective use of the communication line, one channel is expected to transmit multiple signals at the same time ...
Added by seodevhead on Fri, 18 Feb 2022 01:55:57 +0200