Article. Page 90



BufferedWriter.write() solution to writing Chinese characters

In the process of reading and writing files with BufferedReader and BufferedWriter, it is found that the Chinese characters in the written files will...
3:47 3 December 2019

[LeetCode] 378. Report on the end of the K-th small element in the ordered matrix (C + +)

Original address: https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix/submissions/ Title Description: Given an n x n matrix, the...
3:37 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

Java concurrent synchronized keyword and Lock interface

Welcome to read and communicate with us. Please leave a message if you have any questions. There are also open sources on GitHub JavaHouse , welcome ...
3:25 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

dubbo source code analysis - service invocation process - Notes

Process flow chart of consumer call Calling process of consumer Consumer interface example: Process of receiving message at server NettyHandler. messa...
2:14 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

python multithreaded crawler + batch download Doo Doo Doo picture project (attention, continuous update)

python multithreaded crawler project () Crawling target: doodle (starting url: http://www.doutula.com/photo/list/?page=1) Crawling content: doutula pi...
0:52 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

springboot custom exception

Spring boot custom exception and exception handling In a web project, we may need to return different prompt codes to the front end. For example, 401 ...
0:23 3 December 2019

Group B of 2018 blue bridge provincial competition - global warming

There is such a question when I recently brush the Blue Bridge Cup: The main idea of the topic You have a picture of NxN pixels in a certain sea area...
0:16 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

Neural network, integer to onehot vector experiment, found that Adam optimizer is not universal, sometimes RMSprop optimizer is better

Experiment: the 16 integers 0-15 are transformed into a onehot vector with length of 16 by MLP of two layers, and the accuracy is required to be 100%...
0:00 3 December 2019

Deployment and monitoring of MYSQL 5.6 replication from the library

Deployment and monitoring of MYSQL 5.6 replication from the library MYSQL 5.6 installation and deployment #1. Download the installation package wget h...
23:59 2 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

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