(51) design principle of Apollo server of springcloud+springboot+uniapp+vue b2b2c distributed micro service E-commerce mall (source code analysis)

This section mainly analyzes the design principle of Apollo server. Configure real-time push design after release The most important feature of the configuration center is real-time push. Because of this feature, we can rely on the configuration center to do many things. As shown in Figure 1. Figure 1 briefly describes the general process of ...

Posted by Kold on Thu, 03 Mar 2022 15:05:19 +0100

The third day of jQuery study

The third day of jQuery study 1. Event registration grammar element.event(function(){}) for example $("div").click(function(){}) 2. jQuery event handling 2.1 event handling on() binding event grammar element.on(events,[selector],[data],fn) Events: trigger events, separated by commas Selector: select descendants of selector elemen ...

Posted by endlyss on Thu, 03 Mar 2022 15:03:47 +0100

React native implementation of SSR

Native implementation of React server rendering github project code address How to implement ssr 1. Create a node service instance express.static('public ') specifies the access path of static files. For example, when accessing the src attribute of script in html, this folder will be used as the root path // Create node service instances t ...

Posted by Bjom on Thu, 03 Mar 2022 15:01:38 +0100

Linux system porting: Kernel top-level Makefile

Linux system transplantation: Kernel top-level Makefile (Part 2) Continue to analyze the top-level Makefile execution process of Linux kernel source code 1, make defconfig procedure Like the top-level makefile of uboot, make XXX should be used before compiling the source code_ Defconfig configures the Linux kernel, and the code configure ...

Posted by jason97673 on Thu, 03 Mar 2022 14:59:28 +0100

Implementation principle and application of CountDownLatch

1. Working principle of countdownlatch CountDownLatch functions as a timer in multithreaded concurrent programming, and maintains a count variable, and its operations are atomic operations. This class mainly realizes its functions through countDown() and await(). First, it establishes a CountDownLatch object, and the incoming parameter is the ...

Posted by Fatboy on Thu, 03 Mar 2022 14:58:55 +0100

Use MSF to utilize ms08_067 penetration of XP

Using ms08_067 penetration of XP 1, Project requirements Penetrate into XP systemExecute several commands in the system 2, Project implementation 1. Implementation objectives Use the tool to find the target memory live hostUse tools to judge its operating system and collect relevant informationScan the vulnerability of the system and r ...

Posted by cybaf on Thu, 03 Mar 2022 14:50:35 +0100

Spring MVC return value processing

There are four common types of return values of processor methods annotated with @ Controller: The first: ModelAndView The second type: String The third type: no return value void The fourth type: return custom type objects Use different returns according to different situations preparation: 1. Import required dependencies: <dependencies ...

Posted by edcaru on Thu, 03 Mar 2022 14:43:08 +0100

Ten common Python automation operations

This article is taken from WeChat official account GitPython: Ten common Python automation operations . In case of infringement, the contact must be deleted. 1. OS module Import: import os 1. Traverse the folder The premise of batch operation is to traverse the folder, OS Walk traverses the folder and generates three parameters: Current ...

Posted by sig on Thu, 03 Mar 2022 14:42:47 +0100

textRCNN intensive reading and reproduction

title: textRCNN intensive reading and reproduction date: 2022-03-03 20:16:16 tags: paper intensive readingReappearancepytorch Thesis address: Recurrent Convolutional Neural Networks for Text Classification | Papers With Code Model architecture Bidirectional cyclic neural network and maximum pooling layer. The embedding mentioned in the pa ...

Posted by gooney0 on Thu, 03 Mar 2022 14:36:24 +0100

Callback function and callback function

catalogue 1, Promise object 1. Callback function 2. Synchronization task 3. Asynchronous task 4. Callback Hell: the case of nesting callback functions in callback functions is called callback hell (an operation method to realize the sequential execution of code) 5. Solution to callback hell 6. About Promise objects 2, async and await fu ...

Posted by luvburn on Thu, 03 Mar 2022 14:31:07 +0100