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...
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 ...
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], [...
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...
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...
Write custom parameter validation
This article has been published for more than two months since I left my previous company two months ago (the reason may be at the end of the year, th...
Spring cloud microservices Zuul cross domain issues
At present, the project structure is VUE as the front-end, and the back-end uses the micro service architecture. When developing, the front-end needs ...
Implementation of paging query in weUI
This paper introduces the implementation of h5 paging query in mobile terminal 1. front end html Front end implementation based on weui style library ...
layui-v2.4.5 compatibility tuning
It has been written in the community of layui, but the community editor is really not good. Write it again here, just to consolidate it table.js Descr...
Two way binding with Proxy
We need to use Proxy to implement two-way binding in vue3.0, so let's try to implement it first. 1 implementation of object.definepropertyThe ori...
Common code set
I. jquery returns to the top $("html , body").animate(,'slow'); Second, jQuery judges the sliding direction of the mobile screen ...
Appearance mode of design mode (structural type)
[TOC] I. model definition Appearance mode: appearance mode is to provide a unified interface to access a group of interfaces of subsystem. The facade...
vue wechat sharing (actual battle)
Today, I met the demand of wechat sharing. Generally speaking, it's relatively simple, but I still met a hypothetical pit (really hypothetical) a...
Spring Data JPA must master 20 + query keywords
WeChat public number: an excellent wasterIf you have any questions or suggestions, please leave a message in the background. I will try my best to sol...
React form element
Let's talk about the form elements of react today.Controlled elementLet's see how to get the value of the input box import React, { Componen...
Effective alphabetic words
Organizing thoughts: I am mentally retarded now, so no matter how simple the topic is, I will share it. My idea is to define two dictionaries (such a...
Java collection series - HashSet
Original article, reprint please mark the source: Java collection series - HashSet I. overview HashSet is a set set set based on Hash implementation....
Python basic (string) day two
1. Single quotation mark and escape Guide 2. Splicing string 3. Format string 4. Common methods #Remove spaces and special symbols #Search and replace...
The meaning and implementation of virtual DOM
This article comes from "An essay on the meaning and implementation of virtual DOM" , if you think it's good, welcome to Star Github wa...
Gracefully register events in the React component
Preface In the development of React, we often need to register some events on the window, such as pressing Esc to close the pop-up window, pressing up...
Summary of Handlebars, a front-end template engine
I. escape of Handlebars template 1. template Escape, output HTML string when {}} is used When {{}}} is used, html is output without escaping (identif...
Noseparte says: How is a gateway thread pool created in online games
Correct Posture for Java Thread Pool Definition of ThreadPool thread pool and how to create it? Configure ThreadPoolExecutor Manage Task Queue Blockin...
Realization of Js rotary lottery
Samples Address: http://js.zhumimi.cn/zhujiang/index.htm Source code: https://pan.baidu.com/s/15khesfclf1wmoom6pzcja II. Implementation method 1: buil...
Solve the disorder of A6 avant media player
My wife's Audi A6 avant, from my itunes, from music library COPY to SD card, inserted into the media player, checked that the songs in each albu...
Spring Boot get configuration file value
In the process of program development, some values that may be modified are often put into the configuration file. How to get the values of the config...
mybatis automatically fills in the time field
For the created ﹣ on and updated ﹣ on entities, it is unnecessary for developers to intervene, because it is enough to explain the use scenario, that ...
Detailed introduction to Spring
Preface This article is followed by the detailed introduction to spring (1). It is recommended to read the first article before reading this article. ...
ES6 Foundation - ES6 class
Author| Jeskson Source|Dada Front End Bistro ES - Class Classes and Object Oriented: Object-oriented, that is, everything is object. Object-oriented ...
Brush the front end of the book
1. The following recursive functions are at risk of stack overflow. How to optimize them? function factorial(n){ return n*factorial(n-1) } Answer: fun...
Solve Jackson 2 deserialization LocalDateTime error
Today, when integrating redis and spring boot, I encountered an error. Record it. The error is reported as follows: Could not read JSON: Cannot constr...