Spring Boot Essential Knowledge: One-to-Many Relationships, MyBatis-Plus, and Configuration
One-to-Many Relationship: Server-Side CRUD with Pagination
@Service
@Slf4j
public class BookServiceImpl implements BookService {
@Autowired
private BookMapper bookMapper;
@Override
public PageResult<BookModel> searchBooks(SearchCriteria criteria) {
PageHelper.startPage(criteria.getPage(), criteria.getPageSize());
...
Posted on Thu, 04 Jun 2026 17:14:43 +0000 by hrdyzlita
Setting Up and Configuring a MinIO Environment
To set up and configure a MinIO environment, follow the steps below:
Download the MinIO binary from the official website for your operating system.
Extract the downloaded binary to your target folder.
Create a data storage directory inside your chosen location.
Add the MinIO binary to your system PATH sothat the minio command is available from ...
Posted on Sat, 30 May 2026 00:32:12 +0000 by Greaser9780
Understanding and Parsing HBase Configuration Files
HBase relies on several key configuration files to manage its distributed, column-oriented NoSQL database behavior. These files define critical settings for cluster operation, integration with HDFS, ZooKeeper coordination, and performance tuning.
Core Configuration Files
The primary configuration files include:
hbase-site.xml: Contains site-sp ...
Posted on Fri, 29 May 2026 21:13:42 +0000 by vbcoach
MySQL 5.7 Portable Version Configuration Guide for Windows
Downloading the Software
Obtain MySQL 5.7.29 64-bit from the official MySQL archives or a trusted mirror. This guide uses the portable (zip) distribution which does not require installation wizard.
Configuration Steps
1. Extracting the Archive
Extract the downloaded zip file to your preferred installation directory. For example: E:\Database\mys ...
Posted on Thu, 28 May 2026 20:27:22 +0000 by fogofogo
Efficient Vim Configuration and Plugin Management
Vim is a highly efficient text editor that supports extensive customization through plugins and configuration files. The primary configuration is handled via the .vimrc file located in the user's home directory (~/.vimrc). Below is a robust configuration setup that utilizes Vundle for plugin management, along with optimized settings for code de ...
Posted on Thu, 28 May 2026 19:42:40 +0000 by wsantos
A C++ INI File Reader/Writer Class Supporting Multiple Data Types
The CIni class is composed of two files: ini.h and ini.cpp. It suports reading and writing various data types, including binary data.
ini.h
#pragma once
#define SER_GET(bGet,value) SerGet(bGet,value,#value)
#define SER_ARR(bGet,value,n) SerGet(bGet,value,n,#value)
#define SER_GETD(bGet,value,default) SerGet(bGet,value,#value,NULL,default)
#def ...
Posted on Thu, 21 May 2026 20:51:41 +0000 by Matt Parsons
Nginx Location Directive Matching Rules and Web Server Configuration
Event Block Optimization
events {
worker_connections 4096;
use epoll;
accept_mutex on;
multi_accept on;
}
The worker_connections parameter sets the upper limit of simultaneous connections each worker process handles. The theoretical maximum client capacity equals worker_processes × worker_connections, though actual limits depen ...
Posted on Wed, 20 May 2026 04:05:52 +0000 by laserlight
Managing INI Configuration Files in C# via Windows API
Working with classic INI files in C# relies on native Windows functions: GetPrivateProfileString and WritePrivateProfileString. This article demonstrates a clean wrapper and a practical configuration manager built around them.
Sample INI structure
Assume a file named AppSettings.ini:
[FtpServer]
IP=127.0.0.1
Port=21
UserName=user
Password=user
...
Posted on Tue, 19 May 2026 20:14:58 +0000 by noobcody
Configuring Multiple RabbitMQ Instances in a Single Spring Boot Application
1. Configuration File (application.yml)
spring:
rabbitmq:
primary:
host: localhost
port: 5672
username: guest
password: guest
virtualHost: /channel-demo
secondary:
host: 192.168.1.184
port: 5672
username: guest
password: guest
virtualHost: /third-party-test
2. Configuration ...
Posted on Mon, 18 May 2026 16:45:05 +0000 by friday_13
Deploying Multiple MySQL Instances and Resetting the Root Password
This guide walks through two common operational tasks: bootstrapping several isolated MySQL instances on the same host and regaining access when the root credentials are lost.
Anatomy of a MySQL Option File
# /etc/my.cnf or any *.cnf under /etc/my.cnf.d/
[mysqld] # server-only settings
user=mysql
basedir=/usr/local/mysql
datadi ...
Posted on Mon, 18 May 2026 11:12:21 +0000 by amitsonikhandwa