Spring-Anotion-(Spring configures beans based on annotations)

1. Basic introduction and introductory cases of Spring’s annotation-based bean configuration 1. Basic introduction: Configure beans based on annotations, mainly components in project development, such as Action, Service, and Dao. 2. Commonly used component annotation forms are: @Component indicates that the current annotation identifies a component. @Controller indicates that the current annotation identifies a controller, […]

Centos8 installs docker and configures Kali Linux graphical interface

Since there is currently no complete and easy-to-use tutorial on docker installation of kali + desktop connection on the Internet, I want to make one. Preparation Wow, the image provided by this server provider is really pure, so pure that there is nothing in it. Question 1: There is a problem with Centos8 source Error: […]

Centos8 installs docker and configures Kali Linux graphical interface

Since there is currently no complete and easy-to-use tutorial on docker installation of kali + desktop connection on the Internet, I want to make one. Preparation Wow, the image provided by this server provider is really pure, so pure that there is nothing in it. Question 1: There is a problem with Centos8 source Error: […]

Harbor configures HTTPS and uses docker-compose container deployment

1. Preparation Note: Pay attention to the choice of version. Does the docker version correspond? Prepare images and binaries 1.1 Download the harbor offline package. I packaged the image from a machine using docker save -o. 1.2 docker-compose binaries curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose Configure local resolution echo “192.168.40.63 qiushi.cn” >> /etc/hosts […]

Centos8 installs docker and configures Kali Linux graphical interface

Since there is currently no complete and easy-to-use tutorial on docker installation of kali + desktop connection on the Internet, I want to make one. Preparation Wow, the image provided by this server provider is really pure, so pure that there is nothing in it. Question 1: There is a problem with Centos8 source Error: […]

Kylin KYLINOS configures kysec firewall through command line

Original link: Kirin KYLINOS configures kysec firewall through command line Hello, everyone, today I bring you an article about using the command line to configure the kysec firewall. Through studying this article, you can understand how the firewall information in the graphical interface is generated. We will The relevant configurations of the firewall are put […]

Hyper-V installs Centos + configures Centos repo + solves the problem of wifi connection and fixed IP access to Cetos + other fragmentary issues + remote access (reprinted + modified version + supplementary version of the problem + supplementary part)

In the past year or two, I have been using a laptop provided by the company. Due to security restrictions, I cannot install some virtual machine software, which makes me always feel troublesome during the learning process. Therefore, I have always wanted to try a free virtual machine software, using Windows The built-in service Hyper-V […]

swagger3.0 sets up grouping and configures multiple scanning paths and filtering URLs

package com.jeeplus.config; import com.fasterxml.classmate.TypeResolver; import com.jeeplus.sys.service.dto.LightUserDTO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandlerSelectors; import springfox.documentation.schema.AlternateTypeRule; import springfox.documentation.service.*; import springfox.documentation.spi.DocumentationType; import springfox.documentation.spi.service.contexts.SecurityContext; import springfox.documentation.spring.web.plugins.Docket; import java.util.*; /** * swagger configuration */ @Configuration public class SwaggerConfig implements WebMvcConfigurer { @Bean public Docket api() {//Default grouping TypeResolver […]

HAL Co Gen of TI TMS470 high-end timer HET configures PWM output function

Recently, when I used the PWM function of TI’s TMS470, I found that the way it is implemented using HET is very special. And there is very little relevant information, so I deliberately recorded the relevant content, hoping to assist everyone’s learning. What is HET? What is the difference from ordinary timer Timer? Before using […]

SpringBoot configures redis multiple databases and sets session storage to redis

Click here to reprint directly Create a springboot project The application.yml file is configured like this server: port: 8888 spring: data: redis: database: 0 #session stores the default database database-db: #Multiple database configuration db0: 0 db1: 1 db7: 7 host: 127.0.0.1 port: 6379 password: 123456 jedis: pool: #Maximum number of connections max-active: 8 #Maximum blocking […]