SpringBoot plugin spring-boot-maven-plugin principle, and jar package deployment of SpringBoo project slimming practice

spring-boot-maven-plugin We directly use maven package (the package packaging function that comes with maven). When packaging the Jar package, the Jar package that the project depends on will not be entered together. When using java -jar When the command starts the project, an error will be reported, and the project cannot be started normally. At […]

Vite3+vue3 project packaging optimization 3 – CDN acceleration, file compression

1. CDN online acceleration Content Delivery Network (CDN for short) is a distributed content distribution network built on a data network, which allows users to request resources from the nearest server to improve the response speed of network requests. Usually, we request dependent modules to use CDN, while requesting project code still uses its own […]

Python lightweight serialization and deserialization package marshmallow detailed usage guide 3

Marshmallow Official documentation: https://marshmallow.readthedocs.io/en/latest/ Marshmallow, Chinese translation: cotton candy. It is a lightweight data format conversion module, also called serialization and deserialization module, which is often used to convert between complex orm model objects and python native data types. Marshmallow provides rich API functions. as follows: Serializing Serialization [can convert data objects into storable or […]

Element table secondary packaging is super detailed with code (attached form slot, header slot, single choice and multiple choice, automatic selection according to data)

Recently, I have been working in the background management system, and the search and form are used a lot. Based on the secondary packaging of the element table, it is as follows first picture parent component <div class=”content_main”> <div class=”search_card”> <wpform style=”margin-top:20px” :objForm=”objForm” :formData=”formData” @searchSubmit=”searchSubmit(val)” ></wpform> </div> <div class=”tableContent”> <wp_table ref=”mytable” :tableData=”pendingReviewdata” @rowClick=”rowClick” :headerColumns=”pendingReviewHeader” :sendHeight=”sendHeight”> […]

Red-black tree package set and map (insert part)

Article directory foreword 1. General idea of design 2. Transform and package red-black tree 1. Insert a node 2. Implementation of iterators 3. Encapsulation of map and set 1. Code implementation 2. Simple test Foreword We have implemented the insertion part of the red-black tree before. This article mainly introduces the packaging of the previously […]

Apache Pulsar deployment and construction

1. Deployment planning Deploying a Pulsar cluster involves the following steps (in order): 1. Deploy a ZooKeeper cluster and initialize the Pulsar cluster metadata. 2. Deploy a Bookkeeper cluster. 3. Deploy one or more Pulsar brokers. 4. Deploy Pulsar manager (optional). 2. Node planning hostname IP address role port number zookeeper1 192.168.1.191 zookeeper 2181 zookeeper2 […]

Explain the webpack configuration and css processing of webpack in simple terms

Entrance The entry is to specify which module (js file) webpack uses as the start of building its internal dependency graph. After entering the entry, webpack will find out which modules and libraries are directly or indirectly dependent on the entry file Create webpack.config.js module.exports = {<!– –> //entry file entry: ‘./src.main.js’ } Export The […]

[Computer Vision 1]–Graphics preprocessing (color space conversion)

Article directory image preprocessing color space conversion RGB to HSV conversion HSV to RGB conversion RGB to CMYK conversion Image preprocessing Computer vision image preprocessing refers to a series of processing and conversion of images before image processing, so as to better perform subsequent image processing and analysis. Its main purpose is to enable images […]

The difference between apt remove purge deletes the configuration file while deleting the package

1. The difference between apt remove purge View man apt apt remove: remove the package without removing the configuration file. The purpose of this is that when the package is installed again in the future, the original configuration file will be automatically loaded for use. It can also avoid deleting the package by mistake. If […]