c. Page 209

Probability of random number controlled by Js

Such as: Take the random number between 1 and 10, then their value range is: integer Section probability 1 [0,1) 0.1 2 [1,2) 0.1 3 [2,3) 0.1 4 [3,4) 0...
11:35 3 December 2019

The implementation of editable table by iView

create at: 2019-02-20 assembly <i-table highlight-row ref="currentRowTable" :columns="columns" :data="tableData">&...
10:35 3 December 2019

Webback4. X configuration of vue project

These two days, I played with webback and lay in a lot of holes. Today, I read a blogger's article to solve this problem. He explains each part o...
10:14 3 December 2019

Encapsulate a super simple vue sharing component

Update: from May 2018, jithis will turn off sharing function. Please use http://sharesdk.mob.com/ Or search other social sharing Libraries When devel...
9:38 3 December 2019

org.springframework.web.multipart.MaxUploadSizeExceededException

The company assigned me a task to do the second phase development of a project. After taking over from other project teams, the test files are upload...
8:54 3 December 2019

It seems that it is not the most complete array de duplication method

In this article, we will talk about array de duplication. 1. The simplest and rudest way, double for loop let arr = [9, 5, 6, 5, '1', '...
7:38 3 December 2019

Analysis of processOptions processing Options and entry function of Web pack source code

Let's open bin/cli.jsAccording to the Options returned last time processOptions(options)This is easier to read because of the foundation of the l...
7:14 3 December 2019

CAS 5.2.6 single point login user defined login verification and registration process in subsystem

Cas Server configuration Create a src/main/resources folder, find the file in the WEB-INF of cas, then modify the html file page, and add a new butto...
6:43 3 December 2019

MLlib basic data type

MLlib uses vectors as its localized storage type, which are mainly composed of two types: sparse and dense Code: import org.apache.spark.mllib.linalg...
4:44 3 December 2019

Using echarts to draw multidimensional histogram

Preface Before that, I've shared with you how to use echarts to draw line graphs, double line graphs and histogram. Today, I'd like to shar...
4:08 3 December 2019

web calculator based on Servlet+jsp

This time, in order to let us review the page Jump in the web, the boss gave us an unworthy task A big copy of the world's code depends on how yo...
3:30 3 December 2019

vuex common practice code (synchronous + asynchronous)

vuex has been used in several projects of vue. To summarize, it is convenient to use Warehouse writing (store.js) 1. Introduction import Vue from &#03...
2:17 3 December 2019

C ා create Excel chart with multi-level classification labels

Compared with data, charts can more intuitively reflect the trend of data changes. In the data table, the same data value may represent different data...
2:09 3 December 2019

Use React setState like this to develop a direct call line!

(Long time no see, title skin, content or conscience)As we all know, React realizes the management of components by managing state, and setState is th...
1:42 3 December 2019

Using form create to dynamically generate vue components

Using form create to dynamically generate vue custom components and nested form components [github] | [description document] maker.create Build custo...
0:34 3 December 2019

Html reads the pictures in the local folder and displays

One purpose Select the local folder on Html, automatically read all pictures under the folder and subfolder and display them on the page. Technical a...
0:16 3 December 2019

Centos7 haproxy dynamic and static separation

Results achieved:When the client accesses haproxy, when the request is static file content, the request is transferred to static server, when the req...
0:13 3 December 2019

Some pits of Object to Map

Here, three methods of Object mapping are summarized 1. Use reflection getDeclaredFields and getFields /** * Clean the data of the incoming object, re...
0:12 3 December 2019

The use of higher order functions

problem Byte skipping: the original function, such as fetchData, is an asynchronous function, trying to get some information from the server and retur...
0:00 3 December 2019

Nine palace pattern of lottery component

Written in front I changed my career in the middle and bumped into the front end by mistake. It may be due to my 'laziness'. I have never pu...
23:56 2 December 2019

How H5 evokes Baidu map App

Recently, I took over a demand for hybrid development. After h5, the front-end embedded the page into ios and android, and the map navigation of Baidu...
23:33 2 December 2019

Natural language processing: preprocessing of PTB data set

Reference books TensorFlow: a practical Google deep learning framework (version 2) First, assign a number to each word according to the word frequency...
23:16 2 December 2019

Ubuntu 16.04 163 Netease source settings (automatic configuration script)

1, introduction 1.1 INTRODUCTION In many cases, in order to facilitate the operation and if conditions permit, install directly online, but the url a...
22:17 2 December 2019

R script reading summary Excel table data

It mainly uses xlsx and rJava package, opens Excel file, reads data of each table, and writes it to summary table. The following figure shows the ori...
21:25 2 December 2019

Things about Android layoutparams

Original text: http://tryenough.com/android-... What is LayoutParams? LayoutParams is used by View to tell its parent control how to place itself. Lay...
21:16 2 December 2019

The stored procedure for generating time dimension in mysql (stored procedure example)

This paper mainly records the problem of generating time dimension in the process of BI and data analysis. It is also a basic example of mysql stored ...
21:06 2 December 2019

Optimization of construction speed of vue-cli2

For the front-end projects created by using Vue cli scaffolding, compiling and publishing are almost necessary operations, some of which only need sec...
21:05 2 December 2019

Get the weight or feature of a layer in the middle of Python

Get the weight or feature of a layer in the middle of Python Question: how to deal with a trained network model that wants to know the weight of a ce...
20:51 2 December 2019

Verification code algorithm

Verification Code: This verification code is developed by myself with reference to other people's ideas. The printing effect is general and not ...
20:20 2 December 2019

Handwritten code of front-end written test

1. Flat nested array / flat implementation Description: expand and tile a nested array into an array with only one layer. let array = [1, [1, 2, 3], [...
20:08 2 December 2019