Mobile debugging artifact (eruda)

In the daily development of mobile terminal, we usually try the mobile terminal mode of Chrome browser for development and debugging. Only when chrome debugging is completed, can we go to the real machine for testing if there is no problem. This is the big problem of mobile terminal development, Various brands and models of mobile phones, vari ...

Added by ccooper on Thu, 30 Apr 2020 20:57:59 +0300

Vue.js - MVVM belief

Vue.js - MVVM belief Learning video address of station B: https://www.bilibili.com/video/BV1e7411M7GQ   All based on ES6 (let, const, arrow function, promise, axios) MVVM model (React nactive is widely used in APP) Traditional js top and bottom gives you thinking, breaking the manual operation of DOM     1. Import vue.js <script src="vue. ...

Added by xhitandrun on Mon, 27 Apr 2020 18:19:21 +0300

cropper crop picture and canvas composite picture

Before you can crop a composite picture, you first need to understand canvas and cropper. canvas 1. Create a node first: var c=ocument.createElement("canvas"); and 2. Create a drawing environment for c: var ctx = canvas.getContext("2d"); 3. You can set the width and height: canvas.width=330; canvas.height=440 (see how bi ...

Added by crowezr on Sun, 26 Apr 2020 19:31:39 +0300

Infinite loop of El menu component in element

Implementation idea: nesting of main components (components call themselves) Here is the data required by the component { "code": 1, "data": { "menuVoList": [ { "childList": [ { "childList": [], "menu": { "createBy": "0-1", "createTime": 1587610158, ...

Added by jeremywesselman on Sun, 26 Apr 2020 18:38:00 +0300

Jquery plug-ins (commonly used plug-in libraries)

With the end of Jquery knowledge points, I also began to touch the framework. At the beginning, I always hear the words "plug-in" and "framework". I wonder what's the difference between framework and plug-in? "?? There are countless plug-ins. Any function in a web page can be called a plug-in. It can be extracted separa ...

Added by sdlyr8 on Sat, 25 Apr 2020 20:18:05 +0300

Some simple applications of regular expressions

1. Match 11 mobile phone numbers with the first letter of 1 ^1\d{10}$ 2. Matching name, 3-6 characters in Chinese [\u4e00-\u9fa5]{3,6} 3. Matching password must be 6-16 characters, and can only contain numbers, letters and underscores: $\w{6-16}^ 4. Matching mailbox ^\w+@\w+(\.\w+){1,2} 5. Match the number of the seat ^\d{1,3}-\d{4,8}$ 6. Match ...

Added by Nameless12 on Thu, 23 Apr 2020 17:32:16 +0300

Flow static type checking development environment construction

Flow It is a static type checking tool for JavaScript produced by Facebook. It can help to catch common errors in JavaScript development without modifying the original code, such as static type conversion, null value reference and so on. At the same time, Flow adds a syntax identifier of static type to JavaScript, so that developers can define ...

Added by MaxBodine on Sat, 18 Apr 2020 12:33:56 +0300

Summary of common ES6 features

I. ES6 Basic Understanding 1. What is ES6? ES6 refers to ECMAScript 6.0 and is a standard for the JavaScript language.The goal is to make JavaScript a language for enterprise development by allowing you to write complex, large applications. 2. What is the difference between ES6 and JavaScript? ES6 is a standard for JavaScript, and JavaScript is ...

Added by suomynonA on Sat, 18 Apr 2020 00:04:07 +0300

Picture Processing of.net core and Generation and Resolution of Two-Dimensional Code

It has been more than ten years since I wrote the code.   From html to css to javascript to vbscript to c#, from interest to occupation, life is always lost and surprising.   Most of the time, I don't start because I know where to go, I just know I can't stay anymore, that's all.After being hit by the wind and rain, there will be a lot of u ...

Added by theqase on Fri, 17 Apr 2020 23:57:07 +0300

Detailed explanation of php's high precision calculation

PHPer engaged in the financial industry has frequent capital calculation. If you don't pay attention to it, you may lose hundreds of thousands or even worse... Let's take an example: javascript Why is 0.1 + 0.2 not equal to 0.3? (correct result: 0.3000000000000004) Why is 0.8 * 7 not equal to 5.6? (correct result: 5. ...

Added by tekkenlord on Thu, 16 Apr 2020 13:12:51 +0300