1 magnifier effect (object oriented)

One.HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> ...

Added by bladecatcher on Wed, 15 Jan 2020 12:58:26 +0200

How do I do spring boot auto configuration principle analysis

Preface According to the analysis of springboot version 2.0.0, the overall automatic configuration process is as follows: Refer to official documents for specific configuration: springboot-doc Two @ SpringBootApplication The core annotation @ SpringBootConfiguration is actually the @ Configurati ...

Added by Trium918 on Wed, 15 Jan 2020 12:26:23 +0200

Simple use of spring MVC thymeleaf template

Tymeleaf advocates that templates are pure html code, which can run directly in pure static environment without template engine. Now if we write expressions like ${} directly in html, we will obviously make mistakes in the static environment, which is not in line with the idea of Thymeleaf. All expre ...

Added by mc2007 on Wed, 15 Jan 2020 11:12:49 +0200

Do Titanic passenger survival analysis with Kaggle

  Learn Python data analysis ideas and methods by referring to kaggle: https://www.kaggle.com/startupsci/titanic-data-science-solutions There are some charts in the micro professional video in the middle, which are completely followed up. In fact, we have a preliminary understanding of how to recog ...

Added by teguh123 on Wed, 15 Jan 2020 07:02:03 +0200

Details of event driven process of nginx based on epoll model

Epoll is an event driven model, which is one of the important reasons why nginx can efficiently handle client requests. From the flow point of view, the use of epoll model is mainly divided into three steps: the creation of epoll handle, listening to the addition of file descriptors and the triggering of waiting events. This paper will introduc ...

Added by gotissues68 on Tue, 14 Jan 2020 08:22:48 +0200

ES6--13 object's Proxy interception -- Proxy constructor

Contents of this section Two parameters of the Proxy constructor Method of Proxy instance Property read block -- get() Property assignment interception -- set() Function call interception -- apply() Function query interception -- has() Constructor block -- construct() Property delete block -- delete ...

Added by eruiz1973 on Mon, 13 Jan 2020 13:41:31 +0200

ES6 class class and inheritance

class 1 -------- the following code defines a "class". You can see that there is a constructor method in it, which is the construction method class Box{ constructor(a,b){ console.log(a+b);//8 } play(){ } } let b=new Box(5,3) //Instantiation, wh ...

Added by Eric! on Sat, 11 Jan 2020 18:04:29 +0200

[Springboot] annotation @ ConfigurationProperties makes configuration neat and simple

1 Introduction Let's use an article earlier< [Spring] just want to record the use of @ Value in one article, and don't want to find any more (with mind map attached)> It explains in detail how to use @ Value in Spring to meet our configuration requirements. It is powerful and easy to use. But it also has its limitations. For example, for ...

Added by eashton123 on Sat, 11 Jan 2020 14:37:49 +0200

New features of ES6

Catalog Chapter I. construction of development environment Part two and three ways of declaration 2.1 var (Global declaration) 2.2 let (local declaration) 2.3 const (constant declaration) Chapter 3: Deconstruction and assignment 3.1 deconstruction and assignment of arrays 3.2 deconstruction a ...

Added by soccerstar_23 on Sat, 11 Jan 2020 06:31:25 +0200

JavaScript Design Mode-Factory Mode

Author| Jeskson Excavation| https://juejin.im/user/5a16e1f3f265da43128096cb What is factory mode? The scene goes to buy dumplings for you to eat, order directly instead of making your own. The restaurant makes dumplings (dumpling process) and sells them directly to customers. class Product{ constructor(name) { this.name = name } init() { ...

Added by pck76 on Mon, 06 Jan 2020 14:27:27 +0200