• Spring 5 source code analysis series (8) – XML based dependency injection (2)


    Foreword: in the previous article, we talked about the dependency injection of populatebean method to bean attribute, and we will continue the following content in this article. 7. Beandefinitionvalueresolver resolves property values When the container performs dependency injection on the property, if it finds that the property value needs to be type converted, for example, […]

  • Tomcat source code analysis series (VIII) wrapper


    PrefaceThe first article talks about the startup of Context. In Context’s startInternal method, the start method of the sub container is invoked. The sub container of Context is Wrapper, and the implementation class of Wrapper is StandardWrapper. The standardwrapper does not overload the initinternal method.1. Standardwrapper? Startinternal method /** * Start this component and implement […]

  • Tomcat source code analysis series (IX) pipeline and valve


    PrefaceThe last article talked about the startup of wrapper. Pipeline and valve are mentioned for the first time in this article. The implementation class of pipeline is standardpipeline. Standardpipeline inherits from lifecyclebase, while there are many implementation classes of valve. These implementation classes all inherit from the base class ValveBase, while ValveBase inherits from lifecyclembeanbase. […]

  • ES6 image switching effect


    Design sketch demo.html Document <span style=”background-color: #f5f5f5; color: #000000;”> F5f5f5; color: × 000000; “> front end < / span > < span style =” background color: × f5f5; color: × 000000; “>”</span><span style=”background-color: #f5f5f5; color: #000000;”>, </span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; color: #000000;”>jquery</span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; color: #000000;”>, </span><span style=”background-color: […]

  • Spring 5 source code analysis series (9): annotation based dependency injection


    From the version after spring 2.0, spring has introduced annotation based configuration. Annotation is a new feature introduced in JDK 1.5, which is used to simplify the configuration of bean. In some cases, it can replace XML configuration file. Annotation can greatly simplify configuration and improve development speed, but it can’t completely replace XML configuration. […]

  • GitLab Runner


    Gitlab runner is an open source project for running your jobs and sending the results back to gitlab. It is used in combination with gitlab Ci, an open source continuous integration service used by gitlab to coordinate jobs. 1. Install Install GitLab Runner using the official GitLab repositories (Be the first choice) 1. Add gitlab’s official […]

  • MySQL containerization detailed tutorial


    Preface:  The previous article introduced the installation of docker tool and the use of common commands. In this article, we will introduce how to run MySQL instance in docker. Some small partners may ask: why run MySQL in docker? Because it is easy to deploy MySQL instance in docker, it does not need to consider […]

  • Analysis of using Mui progress bar


    How to use the Mui progress control: Check whether the current container (container control) itself contains the. Mui ProgressBar class: If the current container contains the. Mui ProgressBar class, the progress will be displayed directly with the current container as the target control; Otherwise, check whether the direct child node of the current container contains […]

  • Interface for node express to process forms


    Write a small interface and use postman to test whether the interface is feasible Chinese style import express from ‘express’ import config from ‘./config’ import router from ‘./router’ import queryString from ‘querystring’ const app = express() app.use(‘/node_modules’, express.static(config.node_modules_path)) app.use(‘/public’, express.static(config.public_path)) //Parsing and processing form post request body Middleware app.use((req, res, next) => { //Since the […]

  • Tinder’s move to kubernetes


    Why About two years ago, tinder decided to move its platform to kubernetes. Kubernetes provides us with an opportunity to push tinder engineering towards containerization and less operation and maintenance through constant deployment. The construction, deployment, and infrastructure of the application will be defined as code. We also want to address the challenges of scale […]

  • Using react to make a slide show component


    Jianghu rules ~ no picture, no truth, first picture! This is a slide carousel component of the exhibition list. Click the left and right buttons to slide left and right. Each time, you can slide a specified number of lines of content. My front-end rookies, big guys light spray whine Let’s share the code Because […]

  • Build the docker image locally and publish it to the remote server using the docker Maven plug-in


    1. Log in https://start.spring.io/ to generate a basic spring boot application. 2. Import the application into the eclipse IDE and create the application class. The directory structure is as follows: The application code is as follows: package com.example.demo.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Application { @RequestMapping(value=”/phone”) public String index(){ return “Hello World!”; } […]