This article is mainly for the front-end development engineers to explain how to use Node.js Framework Koa2 and mockjs build a set of data simulation services to provide simulation data for front-end services. Simple operation can greatly improve development efficiency.
Problems encountered in actual combat
Scene 1: schoolmate A is hap ...
Posted on Thu, 11 Jun 2020 04:36:04 -0400 by mesh2005
Mouse events often encountered on web pages include: mouse hover operation, right mouse button, mouse long press, drag and so on
Trigger method is used to trigger events on DOM elements
Examples of grammar usage
.trigger(eventName, x, y)
Posted on Thu, 11 Jun 2020 00:19:39 -0400 by AndrewJ1313
https://github.com/ning1875/falcon-plus This is my change to the open source version of falcon
The most important thing I forgot to write is: why can consistency hash algorithm only migrate a small number of keys when the nodes change? Because the sortkeys list is actually a hash ring. The relative position of the client's hash value and t ...
Posted on Wed, 10 Jun 2020 23:46:24 -0400 by assonitis
Recently, at 618 discounts, I bought Raspberry Pie 4 to use as a computer for my baby.After that, I played it by myself and made a simple scanner.
Raspberry Pie 4 related hardware procurement
4GB version of Raspberry Pie 4.Officially priced at $65, Jingdong 300 is reduced from 40 to 389.
Micro HDMI to HDMI cable.Raspberry Pie 4 replaced the po ...
Posted on Wed, 10 Jun 2020 20:57:03 -0400 by evdawg80
What is El scrollbar?
Element UI, as a set of well-known UI component library of Vue, is almost known by people playing Vue. Recently, when looking at the source code of element, I found an interesting phenomenon. How can I add an EL scrollbar component to autocomplete recommendations?After some understanding, it turned out to be a scroll bar c ...
Posted on Wed, 10 Jun 2020 02:13:53 -0400 by raja9911
The little sister and teacher are walking farther and farther along the way to learn NIO. The only thing that can help her is to give her full support when she needs it.Say nothing. Today we're talking about NIO's basic Buffer.Old fellow gave me a Buff.
What is Buffer
Little sister: Brother F, this Buffer is the sentence in o ...
Posted on Tue, 09 Jun 2020 18:13:43 -0400 by ccjob2
redis transaction command
MULTI: Open a transaction
EXEC: Transaction execution, which executes all commands within a transaction at once
DISCARD: Cancel Transaction
Optimistic locking using WATCH+MULTI
WATCH: Monitors one or more keys, and if a key changes before the transaction executes, the transaction is interruptedUNWATCH: Suppress WATC ...
Posted on Mon, 08 Jun 2020 12:23:08 -0400 by socalnate
This paper mainly records the use of ELK to complete the business system log collection, mainly using log4net for data entry and docking.
ELK docker img: https://hub.docker.com/r/sebp/elk
Docker version installation: docker ru ...
Posted on Sun, 07 Jun 2020 23:27:30 -0400 by Jewelie