js native for high performance lazy loading (novice oriented)

Young brother is not talented, he made a simple lazy load to save moneyWindow.onscrollNumber of times to improve performance, designed function throttling and function anti-shake two modes, think of a better way to update later, also ask your friends to give more pointers!!:D Say nothing but code~~ 1. Simple lazy load ...

Posted by ddragas on Fri, 03 Jul 2020 08:49:27 -0700

Super simple integrated ML kit for dictation

background    I believe that all of us have dictation when we first learn a language. Now when primary school students learn Chinese, an important homework is dictation of new words in the text. Many parents have this experience. However, on the one hand, the action of reading words is relatively simple, on the other hand, parents' ti ...

Posted by abch624 on Mon, 29 Jun 2020 21:02:34 -0700

Exception capture and regular expression usage in python

Exception capture 1. What is exception capture """ The program can continue to run if there is an exception in the process of program execution. Note: you don't need to use exception capture all the time. You should use it when you know that there may be an exception in a certain place and you don' ...

Posted by rsmarsha on Mon, 29 Jun 2020 18:35:21 -0700

Why do I think Flutter is the future of mobile application development

Guide to Lao Meng: This is a boutique article translated by Lao Meng, which has a total of 3.6K of praise.Join the Lao Meng Flutter Exchange Group (wx:laomengit) and make great articles no mistake. Original address: https://medium.com/free-code-camp/why-i-think-flutter-is-the-future-of-mobile-app-development-768332b73c0d A few years ago, I ...

Posted by fighnight on Mon, 29 Jun 2020 17:15:02 -0700

Design and implementation of Data Grid based on Angular Material

Since the Extensions component library was released, Data Grid has become the most used and consulted component. At the beginning, the design of Data Grid was very simple. After some refactoring, the quality of components has been improved. Extensions component library: https://github.com/ng-matero/extensions Data Grid example: https://ng- ...

Posted by swr on Sun, 28 Jun 2020 21:05:42 -0700

Spring Science - SMS verification code login function

Spring Science (5) -- SMS verification code login function Previous articles on spring Science Series 1,Spring security (1) -- authentication + authorization code implementation 2,Spring security (2) --- remember my feature implementation 3,Spring Science (3) -- function implementation of graphic verification code 4,Spring Science (4) -- ...

Posted by marky2coats on Sat, 27 Jun 2020 20:17:11 -0700

60 very useful CSS code snippets, recommended collection

Shortcut directory Vertical alignment Extend an element to window height Use different styles based on file format Create image grayscale across browsers Background gradient animation CSS: table column width self applicable Show box shadows on one or both sides only Package long text Make fuzzy text ...

Posted by marlonbtx on Sat, 27 Jun 2020 19:47:19 -0700

MySQL -- DML (add, delete and modify) language

Preface: to every reader: Hello! My name is Changlon. I'm a runner who runs on the road of programming like you, hoping to change the world and improve your life with programming. First intention of writing article: convenient for review later, convenient for future interview, make more friends, exchan ...

Posted by eflopez on Fri, 26 Jun 2020 01:03:18 -0700

leetcode array simple best time to buy and sell stocks

subject Given an array, its i-th element is the price of a given stock on the i-th day. If you are only allowed to complete one transaction at most (that is, to buy and sell a stock once), design an algorithm to calculate the maximum profit you can obtain. Note: you can't sell shares before you buy ...

Posted by jgmiddel on Thu, 25 Jun 2020 19:28:00 -0700

Supplement animation of android animation

Mending animation Animation classification Mending animation Animation classification rules translate animation scale animation rotate animation Transparency animation alpha Animation combination set Code address Animation classification Mending animation There are four operations: Pan, zoo ...

Posted by davitz38 on Wed, 24 Jun 2020 20:37:31 -0700