Numpy Array Modify Shape/Join/Split/Element Add and Delete

Modify Array Shape Is to create an array, the place of the new array, after changing the shape of an existing array as required There are elements from the original array, and the number of elements remains the same, changing only the shape. reshape. Modify shape without changing data flat array element iterator flatten. Returns a copy of the ...

Added by XeroXer on Sat, 21 Mar 2020 04:00:14 +0200

Control class name className attribute in javascript

1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>javascript Control class name in className attribute</title> 6 <style type="text/css"> 7 input{ 8 font-size: 12px; 9 } 10 .beijing{ 11 ...

Added by kool_samule on Tue, 17 Mar 2020 18:55:24 +0200

How Springboot starts scanning packages

Reference Link 1Reference Link 2 The code referenced is Springboot 2.1.1 By default, the scan range is the package and its subdirectories of the main class xxApplication, which you can see in the later implementation. From SpringApplication.run(xxxApplication.class, args) in the main class; click all the way into the imple ...

Added by rndilger on Tue, 17 Mar 2020 18:45:09 +0200

Front end notes Vue project day 2 8

5. Revise books 5.1 define an identifier, mainly to control that the id of the current edited book cannot be modified in the editing state, that is, the input box of the current controlled book number is disabled in the editing state 5.2 binding to book number by attribute. If the attribute ...

Added by putraaridana on Tue, 17 Mar 2020 18:04:44 +0200

File input 'accept' attribute - useful?

It's very easy to upload files under html, but I just noticed that the < input type = "file"... > accept > attribute can be added to the < input type = "file"... > tag. Is this property useful as a way to restrict file uploads to images, etc? What is the best way to use it? Or, is there a way to limit t ...

Added by jl9148 on Tue, 17 Mar 2020 05:06:10 +0200

Design pattern prototype pattern

Archetypal model Basic introduction Prototype mode refers to: using prototype instances to specify the type of objects to be created, and copying these prototypes to create new objects. Prototype pattern is a kind of creative design pattern, which allows one object to create another customizable ob ...

Added by kutchbhi on Sun, 15 Mar 2020 06:21:49 +0200

js advanced call(),apply,bind().

call() function The call() method is to replace the object saved by the default this attribute in the original function with a specified object. And corresponding functions can be provided. var obj ={ name:'sean', age: 22 } function foo(){ console.log('name:'+this.name); console.log ...

Added by tinyashcities on Fri, 13 Mar 2020 06:20:36 +0200

A summary of folder permission x and Inode in Linux

A summary of folder permission x and Inode in Linux Theoretical speculation I read several articles before that Linux uses the inode number to identify files, which is equivalent to the unique ID of files in the file system. Different files have different inode numbers. When a file is created, it ha ...

Added by ryansmith44 on Thu, 12 Mar 2020 08:01:25 +0200

Analyzing the mount principle of vue from the source code

brief introduction Before we talk about the mount principle, we will introduce four different versions of vue It can be seen that there are two types of build versions, one is the full version and the other is the runtime version, excluding environment problems. What's the difference between the two? ...

Added by OpSiS on Wed, 11 Mar 2020 06:33:20 +0200

How to configure vue-config.js when creating a project with vue-cli3

After using vue-cli3 to create a project, because the configuration of webpack is hidden, when you need to overwrite the original configuration, you need to create a new vue.config.js file in the root directory of the project to configure the new configuration. There is a big difference between Vue cli ...

Added by Neotropic on Tue, 10 Mar 2020 10:00:09 +0200