Tag

CodeExamples

1 views collected around this technical thread.

Model Perspective
Model Perspective
Mar 1, 2025 · Fundamentals

Turn Everyday Tasks into Clear Diagrams with Mermaid

This article demonstrates how to use the text‑based Mermaid tool to create a variety of diagrams—from flowcharts for making breakfast to network packet charts—illustrating practical, everyday applications of visualisation with clear code examples and explanations.

CodeExamplesDiagrammingMermaid
0 likes · 16 min read
Turn Everyday Tasks into Clear Diagrams with Mermaid
Top Architect
Top Architect
Jan 2, 2025 · Backend Development

Comprehensive Guide to Spring Utility Classes: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AOP Helpers

This article presents a comprehensive guide to Spring's utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AOP helpers—detailing their purpose, usage patterns, and code examples, while also containing promotional material for related services.

CodeExamplesSpringbackend
0 likes · 14 min read
Comprehensive Guide to Spring Utility Classes: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AOP Helpers
Top Architecture Tech Stack
Top Architecture Tech Stack
Sep 12, 2024 · Backend Development

An Introduction to the Hutool Java Utility Library and Its Common Tools

This article introduces the Hutool Java utility library, outlines its extensive feature set, shows how to add it via Maven, and provides code examples for frequently used utilities such as DateUtil, StrUtil, NumberUtil, MapUtil, SecureUtil, and CaptchaUtil, helping developers boost backend productivity.

CodeExamplesHutoolUtility
0 likes · 8 min read
An Introduction to the Hutool Java Utility Library and Its Common Tools
Top Architect
Top Architect
Jul 20, 2024 · Backend Development

Spring Framework Utility Classes Overview and Usage

This article presents a comprehensive guide to Spring's core utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AopUtils—showing their purpose, typical use‑cases, and code examples, while also containing promotional material for related services.

CodeExamplesSpringbackend
0 likes · 13 min read
Spring Framework Utility Classes Overview and Usage
Test Development Learning Exchange
Test Development Learning Exchange
Jul 6, 2024 · Operations

10 Practical Python Automation Scripts for File Management, Web Scraping, Data Cleaning, and More

This article presents ten useful Python automation scripts covering file renaming, web page downloading, data cleaning, scheduled tasks, email sending, testing, database backup, log analysis, file compression, and document generation, each with clear explanations and ready‑to‑run code examples.

AutomationCodeExamplesOperations
0 likes · 7 min read
10 Practical Python Automation Scripts for File Management, Web Scraping, Data Cleaning, and More
Test Development Learning Exchange
Test Development Learning Exchange
Nov 25, 2023 · Fundamentals

Practical Examples of Python Iteration and Serialization Magic Methods

This article presents ten practical Python code examples demonstrating how to implement iteration and serialization magic methods, covering iterable objects, generators, indexed and sliced sequences, length, string and byte representations, as well as JSON, pickle, and XML serialization techniques.

CodeExamplesMagicMethodsPython
0 likes · 6 min read
Practical Examples of Python Iteration and Serialization Magic Methods
php中文网 Courses
php中文网 Courses
Dec 19, 2022 · Backend Development

Eight Useful PHP Libraries from GitHub to Boost Development Efficiency

This article presents eight highly starred PHP libraries from GitHub—including tools for pinyin conversion, cURL requests, Markdown parsing, HTML‑to‑PDF conversion, document handling, SMS sending, short‑URL generation, and console applications—along with code examples, and concludes with a promotion for an upcoming PHP online training class.

CodeExamplesLibrariesOpenSource
0 likes · 8 min read
Eight Useful PHP Libraries from GitHub to Boost Development Efficiency
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 28, 2022 · Databases

Understanding and Using UNION in MySQL 8.0

This article explains the purpose, syntax rules, and practical examples of the UNION operator in MySQL, covering distinct and ALL modes, ORDER BY restrictions, new TABLE and VALUES usages introduced in MySQL 8.0.19, and differences from MySQL 5.7.

CodeExamplesDatabaseMySQL
0 likes · 8 min read
Understanding and Using UNION in MySQL 8.0
Python Programming Learning Circle
Python Programming Learning Circle
Jan 8, 2022 · Fundamentals

Python Basics: Number Reversal, Docstrings, Encoding, String Rotation, Progress Bar, File Output, and List Merging

This article presents a series of Python fundamentals tutorials, covering number reversal, adding class docstrings, setting file encoding, rotating strings, implementing a console progress bar, redirecting print output to files, and merging two lists with sorting, each accompanied by concise code examples.

AlgorithmsCodeExamplesPython
0 likes · 6 min read
Python Basics: Number Reversal, Docstrings, Encoding, String Rotation, Progress Bar, File Output, and List Merging
Selected Java Interview Questions
Selected Java Interview Questions
Oct 30, 2020 · Fundamentals

Java 8 Date and Time API Tutorial with Practical Code Examples

This article introduces Java 8's new date‑time API, explains why it replaces the mutable java.util.Date and non‑thread‑safe SimpleDateFormat, and provides a series of clear code examples demonstrating how to obtain current dates, manipulate specific dates, compare dates, handle time zones, work with periods, and format dates using the modern java.time classes.

APICodeExamplesDateTime
0 likes · 19 min read
Java 8 Date and Time API Tutorial with Practical Code Examples
Sohu Tech Products
Sohu Tech Products
Jul 24, 2019 · Mobile Development

Understanding Swift Collection Protocols: StringProtocol, CustomStringConvertible, and Related Literals

This article explores Swift's collection‑type protocols, focusing on StringProtocol and related protocols such as CustomStringConvertible, CustomDebugStringConvertible, LosslessStringConvertible, and various ExpressibleBy… literals, providing code examples and explanations of their usage in mobile development.

CodeExamplesCustomStringConvertibleLosslessStringConvertible
0 likes · 10 min read
Understanding Swift Collection Protocols: StringProtocol, CustomStringConvertible, and Related Literals