Basic skills of Vue [VI. user defined instructions, filters, slots, animation]

1. Custom instruction 1.1 defining instructions Function: help us to operate on some native DOM. For example, as soon as the page enters the input box, it will get the focus; for example, when the focus leaves the input box, it will start to verify. Define custom instructions: Global registrat ...

Posted on Tue, 18 Feb 2020 05:13:30 -0500 by batman

Introduction to c + + class! const is not confused!

Class is coming! What is a class? It is a very human abstract concept. Why is object-oriented more advantageous in more practical projects? Because of the existence of class, a person: has a name, height, weight, the same it will measure their height, will jump, will play games! Here is the difference ...

Posted on Tue, 18 Feb 2020 01:15:07 -0500 by navarre

HashMap(JDK1.8) source code analysis

Article directory brief introduction Characteristic data structure Before JDK1.8 After JDK1.8 JDK1.7 VS JDK1.8 comparison Inheritance diagram Member variables Construction method Static inner class Node TreeNode Core method hash() algorithm put() method resize() method treeifyBin() method get() metho ...

Posted on Mon, 17 Feb 2020 22:15:52 -0500 by the-Jerry

js-3 prototype chain attribute detection, several methods of object, deep copy of object, modification of object attribute characteristics, accessor

1 parent class of prototype chain property detection object Set b as the prototype of a a can use b's properties Object.setPrototypeOf(obj, prototype) parameter obj The object whose prototype you want to prototype. . prototype The new prototype of the object (an object or null) let a = { ...

Posted on Mon, 17 Feb 2020 05:18:02 -0500 by josephferris

Front end analog terminal: text display and automatic line feed

                         .                    . But pre will not wrap automatically ...

Posted on Mon, 17 Feb 2020 04:52:59 -0500 by djanim8

python note 20 (object oriented course 2)

Content today Class member member qualifier character Content review & Supplement Three characteristics encapsulation Function encapsulation to class Data encapsulation to objects* class Foo: def __init__(self,name,age): self.name = name self.age = age obj = Foo('alex',19) inherit polymorphic Detailed con ...

Posted on Mon, 17 Feb 2020 04:06:30 -0500 by donbueck

[react exercise] life cycle callback function

Still, organize Silicon Valley video.   Function Description: a "react is so difficult, what to do?" The words gradually become transparent, disappear completely and start again b click the "dead" button to kill the whole component   Knowledge points: 0 React lifecycle proc ...

Posted on Mon, 17 Feb 2020 03:53:05 -0500 by vladNz

MACHINE LEARNING [Zhou Zhihua Edition - "watermelon book" - Notes] DAY13 semi supervised learning

13.1 unmarked samples Let's start with two concepts: 1) Labeled sample Training sample set Dl={(x1,y1), (x2,y2) , (xl,yl)}, the class marks of these samples are known. 2) unlabeled sample Training sample set Du = {x L + 1, XL + 2 , xl+u}, u is much larger than l, the class mark of these u samples is unk ...

Posted on Mon, 17 Feb 2020 01:12:26 -0500 by biggieuk

PL/SQL basic (variable, conditional statement, cursor)

brief introduction PL/SQL(Procedure Language/SQL) is a procedural extension of Oracle to SQL language. In SQL command language, process processing statements (such as branches, loops, etc.) are added to enable SQL language to process. So PL/SQL is a process oriented language. For other databases, ther ...

Posted on Mon, 17 Feb 2020 00:31:56 -0500 by Joe Haley

The use of spring MVC framework | @ RequestMapping annotation

Article directory 1, The role of RequestMapping 2, Properties of RequestMapping 1.method attribute 2.params attribute 3.headers property 1, The role of RequestMapping Function: @ RequestMapping annotation can complete url request mapping. It can work on methods. @RequestMapping("/addUI") ...

Posted on Sun, 16 Feb 2020 23:06:54 -0500 by mikeq