487. Jin Ming's budget plan

Title Link 487. Jin Ming's budget plan Jinming is very happy today. He needs the key to the new house he bought at home. There is a very spacious room dedicated to Jinming himself. Even more pleased with him, his mother said to him yesterday, "what items do you need to buy and how to arrange your room? You has the final say, if you don't e ...

Added by azazelis on Sun, 06 Mar 2022 15:36:43 +0200

Vue.js to realize Huawei Welink code scanning login (to be continued)

​ Introduction to a pure Vue article From the perspective of JS Xiaobai (the author himself), record how to realize code scanning login according to the official documents of Huawei Welink, and explain some problems encountered during the period (how to introduce external JS, the life cycle of Vue.js, cross domain requests, etc.). Prelim ...

Added by docmattman on Sun, 06 Mar 2022 15:33:00 +0200

Online fault - CPU soared high

High CPU of application service caused by serialization problem The phenomenon of CPU soaring is very common, but in fact, it is not particularly complex to find and solve it. Here are some common cases of CPU soaring, and the solutions and relevant troubleshooting and solving processes are given. Before analysis, review several knowledge ...

Added by freddyw on Sun, 06 Mar 2022 15:31:13 +0200

Learning four basic knowledge on Apache Thrift official website

Four serialization mechanism 4.1 basic knowledge Thrift supports serialization and deserialization of binary, compressed format, and json format data. Developers can choose the specific form of the protocol more flexibly. The protocol is freely extensible. The new version of the protocol is fully compatible with the old version!Previously ...

Added by ravnen on Sun, 06 Mar 2022 15:30:13 +0200

Application of algorithm training camp graph (topological sorting)

Topological sorting principle An acyclic directed graph is called a directed acyclic graph.Directed acyclic graph is an effective tool to describe the process of engineering, planning, production and system. There are usually certain constraints between activities. For example, sequence.A directed graph that uses nodes to represent activities ...

Added by jay7981 on Sun, 06 Mar 2022 15:27:54 +0200

Don't overlook the importance of functions and classes in TypeScript

The last article summarized Type annotation for TypeScript , let's talk about equally important functions and classesfunctionThe following declares a function type. The type alias is defined by type. void indicates that there is no return valuetype fnType = () => void;As a parameterA function can be passed as an argument to another functiont ...

Added by mariaak83 on Sun, 06 Mar 2022 15:22:16 +0200

React event handling

1. React event handling The difference between React and DOM event handling: (1) The name of React event is small hump, and the name of DOM is lowercase. For example: DOM naming: onclick, React naming: onclick. (2) Event handlers are assigned as objects, not strings. For example: DOM in string mode: onclick = "handleClick()", Rea ...

Added by DocSeuss on Sun, 06 Mar 2022 15:21:52 +0200

Preparing the OpenXML development environment

Development with Open XML 1. Prepare the development environment 1.1 Open XML SDK Now the latest version of OpenXML SDK is 2.12.1 (2021 / 1), which needs to be downloaded through nuget. NuGet: https://www.nuget.org/packages/DocumentFormat.OpenXml/ Microsoft's official documents are some 2.5 and some 2.7, which have not been unified to the late ...

Added by Daisatske on Sun, 06 Mar 2022 15:21:02 +0200

[deep analysis of Spring source code] 09 transaction

1. Transaction usage example in JDBC mode 1) Create data table structure CREATE TABLE user ( id int(11) NOT NULL auto increment, name varchar (255) default NULL , age int ( 11 ) default NULL , sex varchar (255 ) default NULL , PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 2) Create corresponding PO public class User ...

Added by evanluke on Sun, 06 Mar 2022 15:18:57 +0200

HTML learning notes

HTML 1: Basic cognition Understanding web pages 1: What is a web page Text, pictures, audio, video and hyperlinks 2: What is the essence behind the web page Front end code 3: What is the code transformed into an interface Browser parsing and rendering Five browsers 1: Browser It is the platform for web page display and operation 2: ...

Added by roshanjameer on Sun, 06 Mar 2022 15:06:05 +0200