vue-cli5.0 + vue3 + ts + less + prettier + eslint + commitlint + stylelint
catalogue
1. Building projects using Vue cli 5.0
2. Associated remote warehouse
3. Add commitlint to verify git submission information
4. Add Eslint verification code specification and submit interception
5. Add to the root directory eslintignore files, ignoring some file Eslint detection
6. Add Prettier and fix the error reported by esli ...
Added by doox00 on Tue, 08 Mar 2022 06:59:50 +0200
Three or two experiments of hyperellipse
At the spring new product launch of Xiaomi, Lei Jun, CEO of Xiaomi, announced that Xiaomi officially launched a new LOGO, which adopts a new super elliptical contour design to replace the original square contour
Hyperellipse is the abbreviation of hyperelliptic curve and a branch of lame curve. Lame curve was first discovered and proposed by ...
Added by anser316 on Tue, 08 Mar 2022 07:00:41 +0200
dfs pruning and iterative deepening and bidirectional dfs
1, Question sequence: 1. Consider how to correctly search out all schemes 2. Consider pruning again
1. Optimize search order In most cases, we should give priority to searching nodes with fewer branches. 2. Eliminate equivalent redundancy For example, if the order is not considered, search by combination 3. Feasibility pruning If a scheme is i ...
Added by lhaynes on Tue, 08 Mar 2022 06:57:00 +0200
Interpretation of Vue source code (11) -- render helper
preface
Last article Interpretation of Vue source code (10) -- generating rendering function of compiler Finally, when it comes to component update, you need to execute the rendering function generated by the compiler to get the vnode of the component.
The reason why the rendering function can generate vnode is through it_ c,_ l,,_ v,_ s and ot ...
Added by BMurtagh on Tue, 08 Mar 2022 06:54:47 +0200
[mathematical modeling] parking lot simulation system, including Matlab source code
1 Introduction
In recent years, with the sustained and rapid development of economy and society and the steady improvement of national living standards, cars have gradually entered the lives of ordinary people. The number of cars in China is increasing. Parking difficulties and traffic jams have appeared in many cities. In order to cope with t ...
Added by k9underdog on Tue, 08 Mar 2022 06:48:54 +0200
How does Dubbo service check parameters gracefully
1, BackgroundWhen the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces such a problem, that is, how to gracefully solve the verification of various interface parameters?In the early days, when making the HTTP interface provided ...
Added by w4designs on Tue, 08 Mar 2022 06:48:55 +0200
Persistent data structure
Persistent data structure
1. Principle of persistent data structure
principle
Persistence: record all historical versions of the data structure, which is called persistence.Not all data structures can be persistent. Persistent data structures require stable structure, such as heap (a full binary tree with stable structure), tree array, ...
Added by kpowning on Tue, 08 Mar 2022 06:45:13 +0200
Hash id s generates short and unique IDs
Generally, we use the incremental id as the identification of the requested resource, but if the site directly uses the incremental id field as the business attribute, it will have the following impact on the site (not limited to the following):
For user resources, the site is easy to detect the total number of registered users, the number of ...
Added by mikesmith76 on Tue, 08 Mar 2022 06:42:47 +0200
Design mode - structural design mode
Structural design patterns involve how to assemble classes and objects to achieve a larger structure.Structured class pattern uses inheritance mechanism to combine interfaces or implementations.
1. Agent mode
Introduction:
Proxy Pattern uses one class to represent the functions of another class, and objects with existing objects to provi ...
Added by kevinritt on Tue, 08 Mar 2022 06:39:47 +0200
go language service monitoring -- the use of gopsutil
brief introduction
Gopsutil is a Python tool library * * [psutil]( https://link.zhihu.com/?target=https%3A//github.com/giampaolo/psutil )**The transplanted version of Golang can help us easily obtain various system and hardware information. Gopsutil shields the differences between various systems for us and has very strong portability. Wit ...
Added by envexlabs on Tue, 08 Mar 2022 06:38:12 +0200