Article. Page 89



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

python multithreading and multiprocessing: ping scanning and stock price crawling of surviving hosts

python multithreading and multiprocessing Multithreading: Case: scan the surviving hosts in a given network (test by ping, if there is a response, it ...
11:23 3 December 2019

Rest Framework: IV. authentication component

I. create LoginAuth class to complete the authentication process urls.py url(r'^login/', views.Login.as_view()), url(r'^books/', ...
11:17 3 December 2019

Spring MVC conceptual model -- HandlerMapping: request / processor mapping

Summary Spring MVC interface HandlerMapping is used to abstract modeling concepts: mapping between request and handler. The interface can be implemen...
11:07 3 December 2019

Python draws a beautiful cherry tree (different kinds of cherry + Rose + Christmas tree)

There are many tree diagrams drawn in Python (most of them are turnle libraries), which is very beautiful. I sorted them out and selected some code th...
11:00 3 December 2019

Kubernetes deployment: CA certificate production

Make CA certificate manually 1. Install CFSSL [root@node-01 ~]# cd /usr/local/src [root@node-01 src]# wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd...
10:42 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

Character set scrambling in mysql

#View the character set of mysql database mysql> show variables like "%character%"; +--------------------------+------------------------...
10:31 3 December 2019

The use of sync.WaitGroup in collaboration

Scenarios used: When several goroutine s are running at the same time, you need to wait for these processes to complete before doing other operations ...
10:29 3 December 2019

Java code generator

Full automatic code generator Project address https://github.com/GitHub-Laziji/mybatis-generator The code template is located under resources and can ...
10:28 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

Dictionary and hash table to implement Redis source code

Through the study of "Redis design and implementation", I intend to implement a "Redis source code" as my own learning record. Stu...
10:09 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

Linux -- directory basic operation

cp copy files or directories Usage: cp [OPTION] SOURCE source file DIRECTORY target file. For details, see man cp Take common parameters for example [...
9:11 3 December 2019

Java - how to write multithreaded programs?

Share a Daniel's AI tutorial. Zero basis! Easy to understand! Funny and humorous! I hope you can join the team of artificial intelligence! Pleas...
9:03 3 December 2019

Support jsp+html jump in the whole contract of springboot 2.0

Spring boot project creation tutorial https://blog.csdn.net/q18771811872/article/details/88126835 springboot2.0 jump to html tutorial https://blog.csd...
8:58 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

A week fast self-study java Programming Advanced Language dry goods note cycle structure grammar

Cyclic structure grammar One of the process control statements in which the loop is difficult (turning). 1. Master the while cycle structure //When: ...
7:50 3 December 2019

On the interceptor of login request of vue axios

When we are making interface requests, such as when we judge the login timeout, it is usually the interface returns a specific error code. If we judge...
7:43 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

Using the Gin framework to build a simple login background (Go language)

I. Introduction to Gin framework Framework has always been a sharp tool in agile development, which enables developers to quickly start and make appl...
6:46 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

20 regular expressions!

Verification basic date format: var reg = /^(\\d)(-|\\/)(\\d)\\2(\\d)$/; var r = fieldValue.match(reg); if (r==null) { alert('Date format error!...
6:40 3 December 2019

Three ways to implement python multithreading concurrent processing

Tag: python's spoof technique Optimal number of threads Ncpu = number of CPUs Ucpu = target CPU usage W/C = ratio of waiting time to calculation ...
5:53 3 December 2019

Spring Boot from entry to mastery - project construction

Spring Boot greatly simplifies the development of Java projects. If you want to develop a java project before, you need to install tomcat or other co...
5:48 3 December 2019

ASP.NET MVC -- custom Filter

Introduction: filter is the judgment before or after the controller method. This paper mainly introduces the custom filter 1. Filter classification ①...
5:40 3 December 2019

Causes and consequences of inode occupation

0. Problem description phenomenon After receiving the pin alarm, online Solr server / var partition inode is full. Influence /The var partition can no...
5:16 3 December 2019

Delete folders larger than specified size on Linux at regular intervals

Background: There is no room for the development environment to move around, mostly debug logs.So it's necessary to delete unnecessary logs when ...
5:15 3 December 2019

The implementation of registration function in Java Web

Implementation of registration function Experimental steps 1. Create the database mydb with the character code of utf-8. 2. Create a tb_user table in...
4:47 3 December 2019