How to quickly handle third-party login and easy to expand?

This article is excerpted from "design patterns should be learned this way"1. Use class adapter to reconstruct the free adaptation of third-party loginWe use the adaptation pattern to implement an actual business scenario and solve practical problems. A little older partner must have experienced this process. The old systems developed ...

Posted by lobo235 on Wed, 03 Nov 2021 00:02:50 -0700

Mybatis plus from entry to earth

  Mybatis plus is a mybatis enhancement tool to simplify development and improve efficiency. The abbreviation mp is used below   To simplify the representation of mybatis plus  , This article mainly introduces the use of mp with SpringBoot. Note: the mp version used in this article is the latest version 3.4.2. Please refer to ...

Posted by timvw on Tue, 02 Nov 2021 23:43:57 -0700

RaabitMQ environment deployment (Windows, stand-alone, cluster)

1, windows installation 1.1. erlang Download erlang download page: https://www.erlang.org/downloads erlang download address: https://erlang.org/download/otp_win64_24.0.exe You can install directly in the next step. When you encounter the following figure, install visual C++ Configure environment variables after installation And add% Er ...

Posted by cringe on Tue, 02 Nov 2021 23:14:05 -0700

Modification of spring cloud gateway server webexchange core method and request or response content

Modification of spring cloud gateway server webexchange core method and request or response content premise The Spring Cloud Gateway version used at the time of writing this article is the latest version Greenwich.SR1 at that time. When using Spring Cloud Gateway, we noticed that filters (including GatewayFilter, GlobalFilter and filter chai ...

Posted by r270ba on Tue, 02 Nov 2021 22:55:31 -0700

Analog network Duplicate package used by ChaosMesh of chaos Engineering

preface Today, let's play ChaosMesh to simulate the network duplicate package. At the same time, we should also look at the direct impact on the application. target Simulate network duplicate packets. to configure yaml file configuration [root@s5 ChaosMesh]# cat network-duplicate.yaml apiVersion: chaos-mesh.org/v1alpha1 kind: NetworkC ...

Posted by neiltaylormade on Tue, 02 Nov 2021 22:49:42 -0700

NXP FS6500/FS4500 family power chip driver

NXP FS6500/FS4500 family power chip driver 1, General overview 1. Multi power output, linear power voltage regulator, switching power supply, automotive power chip supporting low power consumption and multiple wake-up mode capabilities and modes 2. Support 1-5v MCU power supply and SMPS (switching mode power supply) 0.8A,1.5A,2.2A linear reg ...

Posted by drtanz on Tue, 02 Nov 2021 22:41:54 -0700

Vue -- 08 Vue component development

Vue -- 08 Vue component development 8.1 concept of components Component system is another important concept of Vue because it is an abstraction that allows us to build large applications using small, independent and usually reusable components. When you think about it, almost any type of application interface can be abstracted into a component ...

Posted by tonbah on Tue, 02 Nov 2021 22:13:48 -0700

Some common code specifications

Summary of some common code specifications preface name 1. Named length selection 2. Simplify naming with context 3. Naming should be readable and searchable 4. How to name an interface notes 1. What should I write 2. Are the more comments the better Code style 1. How big is the function 2. How long is the most appropriate line of code ...

Posted by Donovan on Tue, 02 Nov 2021 21:53:23 -0700

Experiment 8: data plane programming practice - P4

Experiment 8: data plane programming practice - P4 1, Experimental purpose Master P4 under V1Model framework_ 16 program structure and basic syntax Be able to use P4 for simple data plane programming 2, Experimental environment Download the virtual machine software Oracle VisualBox or VMware; Install Ubuntu 16.04 Desktop amd64 in the virtual ...

Posted by hyster on Tue, 02 Nov 2021 21:52:57 -0700

Vue2.x source code - initialization: stateMixin(Vue), eventsMixin(Vue), lifecycleMixin(Vue), renderMixin(Vue)

Previous: Vue2.x source code - initialization: initMixin(Vue) This article mainly looks at the four blends of stateMixin, eventsMixin, lifecycle mixin and renderMixin. These methods are mainly used to mount some methods on the prototype of Vue instances: 1. stateMixin: data related $data, $props, $set, $del, $watch 2. eventsMixin: e ...

Posted by venom999 on Tue, 02 Nov 2021 21:49:50 -0700