0 – Download installation package
Recommended to Tsinghua mirror download. I chose Anaconda3-5.1.0-Linux-x86_64.sh.
1 – Install Anaconda
Then switch to the installation package directory, execute the following commands, and press enter or enter yes all the time.
bash Anaconda3-5.1.0-Linux-x86_64.sh
2 – Test whether Anaconda is installed successfully.
Input the following command, the following figure shows that the installation is successful.
conda list
3 – Reference material
https://www.cnblogs.com/gaofighting/p/8799169.html
...
Manually installing Docker on each machine is painful for clustered servers, but there’s the Docker Machine, one of the three Dockers.
Address: https://www.cnblogs.com/CKExp/p/9552272.html
1. Introduction of Docker Machine
The tool has been around for quite some time, Docker Machine official introduction: https://docs.docker.com/v1.13/machine/overview/ in my understanding is a control department master landing.The next batch of people is like this graph, facing different servers, cloud, virtual machine, local host and so on. Bulk installation is done through Docker ...
In the development of embedded system, the main programming languages used at present are C and assembly. C++ has the corresponding compiler, but it is still less used. In larger embedded software, such as OS, most of the code is written in C, mainly because of the C language structure comparisonGood, easy for people to understand, and there are plenty of supporting libraries. Nevertheless, assembly language is still used in many places, such as initialization of hardware system at boot time, including setting CPU status, interrupt enabling, frequency setting, RAM control parameters and initi...
After packaging, there will usually be copy jar files.
First define your task in the build.gradle file:
task myCopy{
println “some copy code…”
}
build.finalizedBy(myCopy)
So after the build, myCopy will be executed, or if you want to execute your mycopy after other tasks, just change the red part.
Description
Diao Biao received a task for the tax department to investigate the accounts of a businessman to see if the accounts were forged. The book records income over the past n months, of which the income for the first month is Ai (i = 1,2,3…n-1,n). When Ai is greater than 0, this month is full.Li Ai yuan, when Ai is less than 0, that this month loss Ai yuan. The total income in a period of time is the sum of the monthly income in this period. Diao Biao’s task was carried out in secret. In order to investigate the account books of the businessmen, she had to go to the busine...
Detected running with administrator privileges
@echo off
echo OFF
NET SESSION >nul 2>&1
IF %ERRORLEVEL% EQU 0 (
ECHO Administrator PRIVILEGES Detected!
ECHO Detected running with administrator privileges!
) ELSE (
echo ######## ######## ######## ####### ########
echo ## ## ## ## ## ## ## ## ##
echo ## ## ## ## ## ## ## ## ##
echo ###### ######## ######## ## ## ########
echo ## ## ## ## ## ## ## ## ##
echo ## ## ## ## ## ## ## ## ##
...
Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of this person who have a height greater than or equal to h. Write an algorithm to reconstruct the queue.
Note:
The number of people is less than 1,100.
Example
Input:
[[7,0], [4,4], [7,1], [5,0], [6,1], [5,2]]
Output:
[[5,0], [7,0], [5,2], [6,1], [4,4], [7,1]]
Given a pair of input sequences, rearrange so that for the first pair [h, k] he has a pair of K greater than or equal to h in front of him.
Ide...
ifThe following is tab (4 spaces), which is reduced to the specified conditions.
if Conditions:
Result
#The first:
if True:
print(666)
print(777)