Brief Analysis of Springboot--Container Refresh Process

First, learn about the various post processor extensions (1) BeanFactoryPostProcessor - bean factory post-processing Once the BeanFactory standard has been initialized (all BeanDefinition s have been registered after package scanning), this BeanFactory can be postprocessed. (2) BeanDefinitionRegistryPostProcessor - bean Definition Registry Post ...

Posted by SemiApocalyptic on Sun, 01 Mar 2020 10:54:34 -0800

Communication of Vue components

Preface In this chapter, we will learn all the contents of Vue component communication. Before that, you'd better master the basic syntax, instructions and other contents of Vue. At the same time, we suggest you check my other articles for supplement. Component communication Parent child relationship Through the figure above, I will show you t ...

Posted by Druid on Fri, 28 Feb 2020 04:15:38 -0800

Function extension of ECMAScript6

Function extension of ECMAScript6 1. Default value of function parameter ES6 set the default value for function parameters before, which needs to be implemented with flexible methods. function add(x, y) { x = x || 1; y = y || 2; return x+y; } // Use parameter default value to participate in ope ...

Posted by ArneR on Thu, 27 Feb 2020 20:57:27 -0800

Authorization authentication (identity server 4)

Difference OpenId: Authentication: authenticationOAuth: aurarize: authorization Enter the account password, and QQ confirms that the correct account password can be used for login -- > authentication The following check boxes need to be checked (get nickname, avatar, gender) -- > authorization OpenID When you need to visit website A, w ...

Posted by Daisatske on Sun, 23 Feb 2020 22:56:24 -0800

Leetcode 698. Divided into k equal subsets

1. Title Description Given an integer array nums and a positive integer k, find out whether it is possible to divide the array into k non empty subsets, the sum of which is equal. Example 1: Input: nums = [4, 3, 2, 3, 5, 2, 1], k = 4 Output: True Note: it is possible to divide it into four subset ...

Posted by bad_gui on Sun, 23 Feb 2020 02:33:41 -0800

Learning notes of memcpy source code under glibc

I've always heard that memcpy has memory overlap. I want to see why it has this problem? glib version 2.15 #include <string.h> #include <memcopy.h> #include <pagecopy.h> #undef memcpy void * memcpy (dstpp, srcpp, len) void *dstpp; const void *srcpp; size_t len; { u ...

Posted by AE117 on Sat, 22 Feb 2020 22:27:57 -0800

Breakthrough CRUD universal tree tool class encapsulation

0. You may be able to gain after learning this article Experience the process of gradual optimization and perfection of a tree tool from the beginning Design and implementation of tree tool package Finally, we get a ready to use tree tool source code Students who have some knowledge and use of the front-end tree components can dir ...

Posted by ale8oneboy on Fri, 21 Feb 2020 02:26:49 -0800

netty learning note 14 - TCP packet sticking and unpacking

Basic introduction of TCP packet sticking and unpacking TCP is connection oriented, flow oriented, and provides high reliability services. There should be one-to-one comparison of socket s on both sides of the transceiver (client and server). Therefore, in order to send multiple packets to the server ...

Posted by ProblemHelpPlease on Fri, 21 Feb 2020 00:06:39 -0800

stm32cubeMX learning 18. SD card virtual U disk experiment

This program is based on the operation environment of STM32F103ZET6. I had some losses before running this experiment. Let me come together! 1. After the software was written, it was found that there was no enumeration of USB after the USB cable was inserted and connected to the computer resolvent: ...

Posted by kokomo310 on Tue, 18 Feb 2020 05:20:57 -0800

set notes of Chou Hanpai

Similar digital advanced set jw big guy's: set the naked question. First, each array is de duplicated and then thrown into the set. The answer is the number of elements reduced after de duplication / the number of elements in the set. You can use unique for de duplication. However, this problem feels ...

Posted by juniorbisono on Tue, 18 Feb 2020 05:06:40 -0800