Article. Page 91



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

Java's new project learning online notes - day3(3)

2 new page 2.1 new page interface definition 1. Define response model @Data public class CmsPageResult extends ResponseResult { CmsPage cmsPage; publ...
23:52 2 December 2019

PHP+Redis can delay tasks and automatically cancel and complete orders

Simple timing task solution: use redis's keyspace notifications (notify events after key failure); (A) business scenario: 1. When a business is t...
23:38 2 December 2019

138. Copy list with random pointer

Title: Given a linked list, each node contains an additional random pointer that can point to any node or null node in the list. It is required to re...
23:34 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

Functional computing automation operation and maintenance practice 2 -- event triggered eip automatic transfer

Function calculation Ali cloud Function calculation Is an event driven fully hosted computing service. Through function calculation, you don't ne...
22:18 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

Customize the layout of personal microblog

Take personal blogs for example, Blog address Preparation install $ npm install -g hexo-cli Initialization $ hexo init <folder> $ cd <folder...
22:16 2 December 2019

Deep understanding of javascript prototype and prototype chain

One, function object __proto: all reference types (functions, arrays, objects) have properties (implicit prototypes) Prototype: all functions have th...
22:13 2 December 2019

[tutorial] Java MySQL connection

Reprinted from http://www.runoob.com/java/java-mysql-connect.html In this chapter, we will show you how to use JDBC to connect to MySQL database. A d...
22:01 2 December 2019

Application instance of rewrite Module of Nginx service (actual combat! Can do with it!)

Experimental environment Linux CentOS7 virtual machine (IP: 192.168.52.132)win10 virtual machine (as test machine) 1. Install Nginx and bind services...
21:57 2 December 2019

Data structure quick sort

Fast sorting is the upgrade of bubble sorting, which belongs to exchange sorting. The basic idea of fast sorting is: the records to be sorted are div...
21:26 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

Binary tree traversal algorithm

Preorder traversal Idea: first root node - > left subtree - > right subtree;The binary tree is as follows: /** * TreeSearch Brief description *...
21:19 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

[FJOI2015] division of line tree of Mars store problem

Each inquiry of this question has two intervals, one is time interval and the other is store number interval. Each purchase is also related to the ti...
20:26 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

django development - building distributed (multi node) task queue with cellery

Today, I'll show you how to use cellery to build a task queue with two nodes in django project (one master node and one child node; the master no...
19:43 2 December 2019

Python automatic operation and maintenance development: basic Mysql Database Paging and paging in Python code

Back end database paging is implemented according to limit The first writing method: limit the number of pages offset start position select id,name,s...
19:23 2 December 2019

Use form create to dynamically generate vue components, supporting json format

[github] | [description document] Example let rule = [ { type:'row', children:[ { type:'i-col', props:{ span:12 }, children:[ form...
19:06 2 December 2019

Luogu P3346 [ZJOI2015] fantasy land favored by gods (generalized suffix automata)

meaning of the title Title Link Sol Board questions of generalized SAM. First, if the leaf node is no more than 20, then the subtree whose root is eac...
17:55 2 December 2019

Atcoder starter contest 115-d problem solving Report

subject https://atcoder.jp/contests/abc115/tasks/abc115_d thinking This problem is a delicate recursive one. Hamburgers of Level-0, level-1 and level...
17:52 2 December 2019

Reconstruction of P4198 building in Luogu (line section tree)

meaning of the title Title Link Sol Don't ask me why I sent it twice just to cheat traffic The line tree method of this question is very wonderfu...
17:46 2 December 2019

Differences between CountDownLatch and join

When the ants were asked this question, they really couldn't imagine the difference when they realized the same function. When they came back to...
17:42 2 December 2019

Troubleshooting of Oracle with high resource consumption but execution = 0

During the daily inspection of a customer's production environment database, it was found that the AWR report had a high resource consumption but...
17:25 2 December 2019