Generate tree parent-child structure through hierarchy (Java)

Thought sorting process Taking the vehicle configuration information as an example, the imported template information is as follows. My requirement is fixed to 7 levels, and it doesn’t matter if it is not fixed Just import the last level, that is, /Guangqi Honda, /Guangqi Honda/2018, /Guangqi Honda/2018/car series 01, you only need to import the […]

springboot integrates Redis to save commodity and commodity inventory information

1. Add dependencies and configuration <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> Add the following configuration in application.yaml: spring: redis: # address host: localhost # port, default is 6379 port: 6379 # password password: # Connection timeout timeout: 10s lettuce: pool: # The minimum idle connection in the connection pool min-idle: 0 # The maximum idle connection in […]

Two ways to separate and load Shellcode to achieve anti-killing (VT anti-killing rate: 1/68)

Introduction This article introduces in detail how to separate loading of Shellcode through file loading and remote URL loading to avoid detection by security software. The article first describes the process of loading shellcode files generated by Metasploit Framework, and provides the relevant C++ code. In order to avoid being detected by antivirus software, dynamic […]

Use Maven to quickly integrate and build and develop JavaFX for desktop application development

Purpose: Don’t step on the pit you have stepped on once Nanny-level tutorials, package education package meeting With this method, you don’t need to worry about manually configuring the jar package every time, and you don’t need to worry about the VM parameter –module-path of the startup class. With this method, you don’t need to […]

After the Dataway integrated swagger interface is updated, it cannot be updated on the swagger web side

Use version hasor-spring: 4.2.5 hasor-dataway: 4.2.5 springboot 2.5.0 swagger:springfox-boot-starter 3.0.0 Description of the problem After Dataway configures swagger, the interface document will always display the content published by the Dataway interface for the first time. After modification and re-release, it cannot be updated to the latest record. Issue Tracking The interaction between Dataway and swagger […]

Software Testing/Test Development丨Automated Testing Positioning Strategy Actual Combat-Tester Forum Search

This article is a sharing of learning notes for students of Hogwarts Test Development Society Original link: 1. Automated testing positioning strategy Not sure which targeting method to use? The element cannot be positioned and cannot be resolved? Location methods General web targeting methods Positioning Strategy Description class name Locate elements by class attribute […]

MinIO installation and integrated java usage, user permission control

Look at the permission and jump directly to 4. Realization of minio user permission control Directory 1. MinIO installation and integration springboot using MinIO official documents 1. Pull the Docker image of MinIO 2. Run MinIO in the Docker container, here we hang the data and configuration folders of MiniIO on the host 3. springcloud […]

springboot integrates redis under windows

Installation tutorial: How to install Redis under Widows? 1. Start the redis service first 2. Import prm.xml <dependencies> <!–redis dependency–> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <version>2.7.0</version> </dependency> </dependencies> 3. Configure yml spring: #Configure reids redis: host: #Local IP address port: 6379 #reids service port number 4, reids configuration class ** * redis configuration class */ @Configuration […]