golang foundation--defer in detail

defer anonymous function feature Executes like destructors in other languages, one by one in the reverse order of the call order after the body has been executed //Reverse execution order package main import "fmt" func main() { fmt.Println("a") defer fmt.Println("b") defer fmt.Println("c") } /*output a c b */ Even if a serious e ...

Posted on Thu, 20 Feb 2020 11:42:17 -0500 by tomato

jumpserver deployment installation

PrefaceWe are familiar with the bastion machine (springboard machine). In order to ensure the security of the server, we add a bastion machine. All ssh connections are completed through the bastion machine. The bastion machine also needs to have identity authentication, authorization, access control, audit and other functions.Jumpserver is the ...

Posted on Thu, 20 Feb 2020 06:26:06 -0500 by brain

[important notes on data analysis and mining 2]

Article directory Software to install - Anaconda Detailed installation steps and methods of Anaconda Anaconda quick download address Choose your version That's it Detailed installation steps of Anacon ...

Posted on Thu, 20 Feb 2020 05:33:04 -0500 by FireyIce01

Python version of classic thermostat strategy

abstract The trend market will not last forever. In fact, the market is in a volatile market most of the time, so some people hope to get a trading strategy, which can be used in both the trend market and the volatile market. So today, we will use the inventor's quantitative trading platform to build a classic thermostat strategy for general t ...

Posted on Thu, 20 Feb 2020 03:25:01 -0500 by bonzie

King glory reptile

Introduction Web crawler (also known as web spider, web robot, in the FOAF community, more often known as web chaser), is a program or script that automatically grabs the World Wide Web information according to certain rules. python is a cross platform computer programming language. It is an object-or ...

Posted on Thu, 20 Feb 2020 02:03:59 -0500 by blackcell

Python learning journal Day11 classes and objects

Today is February 20, 2020, sunny, 6 ~ 14 ℃ First, inheritance Inheritance is a way to create new classes. The new class will get all the properties and methods of the original class. The original class is called the parent class (superclass), and the new class is called the child class. The inherit ...

Posted on Thu, 20 Feb 2020 02:04:29 -0500 by kit

python log processing exercise

1 overview of log collection 1 log collection process In the production process, there will be a large number of system logs, application logs, security logs and other logs. Through the analysis of logs, we can understand the load and health of the server, analyze the distribution of customers, the behavior of customers, and even make predict ...

Posted on Wed, 19 Feb 2020 23:48:43 -0500 by timbo6585

Face mask automatic face mask tool

The application scenario of this paper is to check the wearing condition of masks of employees after returning to work during the epidemic. Based on this arrangement, I try to generate face pictures with masks from various angles, as well as image crawling for key face fields in Baidu search. The fi ...

Posted on Wed, 19 Feb 2020 21:23:38 -0500 by iupme

PyQt5, application of signal slot

0. Preface Signal slot mechanism is one of the core of Qt framework. Compared with using callback function directly, the efficiency of signal and slot is lower, but it is easier to decouple code, and the signal slot is thread safe. The specific implementation can refer to Qt documents and source cod ...

Posted on Wed, 19 Feb 2020 20:01:53 -0500 by Whyme

Mapping and Declarative details of python SQLAlchemy

This article mainly introduces the Mapping and Declarative details of python SQLAlchemy. The example code is introduced in detail in this article, which has a certain reference learning value for your study or work. You can refer to the following for your friends The Engine and Connection in vSQLAlchemy ...

Posted on Wed, 19 Feb 2020 13:25:05 -0500 by Chris16962