Avatar 🍥

KnightLi Blog

记录并分享日常

  1. Home
  2. About
  3. Archives
  4. Search
  5. Links
    1. Dark Mode

Archives

2026 611
2025 23
2024 5
2023 9
2022 33
2021 5
2020 8

Categories

AI Tools Technical Docs Development Tools Hardware AI Industry Operations Security Updates Business Analysis

Tags

AI Agent AI Tools Codex AI Coding Developer Tools Claude Code Local LLM OpenAI MCP Claude Ollama Anthropic Linux ChatGPT Python Open Source Ubuntu NAS Prompts Gemini Llama.cpp AI Art AI Models Windows Cybersecurity Docker Game Development Godot LLM GGUF
Technical Docs

Hugo Shortcode Practice: bundle-file (Keep Multilingual Files and Attachments in One Page Bundle)

Use a custom bundle-file shortcode to automatically fall back to other translations when the current language resource is missing, and output a unified attachment link.

2026-03-29
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

How to Create and Use Skills: SKILL.md Specification and Practical Principles

A structured guide to SKILL.md standard structure and four core principles for writing high-quality Skills.

2026-03-28
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

IEEE 802.3af/at/bt (PoE) Differences Explained

A clear guide to IEEE 802.3af, 802.3at, and 802.3bt across power budget, wire pairs, and typical use cases.

2026-03-28
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

What Is Agent Skills: From Design Principles to Context Optimization

An overview of Agent Skills core design principles, progressive disclosure, and practical impact on context-cost optimization.

2026-03-28
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Common Misconceptions About WD HC620 SMR Drives and How to Use Them Correctly

2026-03-27
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

How Non-Programmers Can Direct AI to Do the Work: Extracting Diagrams and Math Formulas from an Image (Hands-On Example)

A hands-on case study showing how non-programmers can direct AI in Codex to recognize formulas, convert them to LaTeX, and align cropped diagrams with formulas, including practical results and limitations.

2026-03-26
4 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

How to Use Codex in VS Code (From Setup to Efficient Real-World Workflow)

A practical VS Code Codex guide covering installation, configuration, prompt patterns, and troubleshooting.

2026-03-20
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

LLM API Landscape (Free and Cost-Effective Options)

A practical overview of major LLM API options with a focus on free tiers, speed, and cost-performance.

2026-02-12
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

OpenWrt on JDCloud AX6600 Athena: Move the 2.5G Port to LAN and Swap WAN/LAN1

How to move the 2.5G port to internal LAN on AX6600 Athena by editing DTS and swapping WAN/LAN1.

2026-01-19
1 minute read
中文简体 中文繁體 日本語 Español
Hardware

VGA Connector Pin Definition

VGA connector pin definition and simple wiring guide.

2026-01-18
1 minute read
中文简体 中文繁體 日本語 Español
Hardware

Winbond Flash Chip Naming Rules Explained (with Full Winbond Flash Part List)

A practical guide to Winbond flash chip naming rules, with a full Winbond flash part list.

2026-01-01
136 minute read
中文简体 中文繁體 日本語 Español
Hardware

3.5-inch HDD Mechanical Dimensions (SFF-8301)

3.5-inch HDD mechanical dimensions per SFF-8301.

2025-12-17
1 minute read
中文简体 中文繁體 日本語 Español
Hardware

HP FLR Network Adapters: PCIe Lanes, Port Types, Controller Chips, and Part Numbers

Reference table for HP FLR network adapters, including PCIe lanes, interface type, controller chip, and spare/option part numbers.

2025-10-08
2 minute read
中文简体 中文繁體 日本語 Español
Hardware

PCIE Switches PCI-E switch chip inventory

PCIE Switches PCI-E switch chip inventory

2025-09-18
11 minute read
中文简体 中文繁體 日本語 Español
Hardware

PCIe-to-SATA Chipset Guide

A quick reference guide for common PCIe-to-SATA chipsets.

2025-08-25
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

C Struct Initialization and Character/String Fields

Common ways to initialize C structs, including char/string members.

2025-06-13
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

GNU C __attribute__ mechanism

GNU C __attribute__ mechanism

2025-06-13
4 minute read
中文简体 中文繁體 日本語 Español
Hardware

3-Pin / 4-Pin CPU & PC Fan Interfaces, PWM Control, and DC Speed Control

Pin definitions and control basics for 3-pin/4-pin cooling fans, including PWM and DC speed control.

2025-05-06
2 minute read
中文简体 中文繁體 日本語 Español
Hardware

MOSFET Identification and Basic Applications

MOSFET identification and basic usage.

2025-04-25
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Solve the problem that pyocd under Ubuntu cannot recognize some self-made DAPLinks

Record the troubleshooting process when pyOCD cannot recognize the self-made DAPLink under Ubuntu, covering udev permissions, device enumeration, firmware compatibility and connection verification methods.

2025-04-17
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Compress Microsoft Office Word Documents (.docx)

Practical method to reduce Word DOCX file size.

2025-04-14
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

JTAG vs SWD: Pros and Cons

A comparison of JTAG and SWD interfaces, including strengths, limitations, and selection guidance.

2025-04-07
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Getting started with CMake, examples and templates

Use examples to introduce the basic syntax, project structure, target definition and common templates of CMake to help C/C++ beginners quickly build maintainable construction projects.

2025-03-28
12 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

An in-depth explanation of the 8 input and output modes of GPIO of STM32, PY32 and other microcontrollers

The system explains the 8 input and output modes of STM32, PY32 and other microcontroller GPIOs, explaining the applicable scenarios of push-pull, open-drain, pull-up and pull-down, multiplexing functions and analog input.

2025-03-18
8 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Install and use pyocd Jlink under Ubuntu 24.04

Organizes the basic process of installing pyOCD, connecting the J-Link debugger and identifying the target chip under Ubuntu 24.04, and adds common permissions and driver issues.

2025-03-17
16 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Create Password-Protected ZIP and 7z Archives with Python

Create password-protected ZIP and 7z archives with Python, compare supported encryption options, and avoid common compatibility mistakes when sharing files.

2025-02-09
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

ffmpeg transcoding h265, different encoders, software/hardware speed comparison, CPU/integrated graphics/dedicated graphics encoding speed comparison

Compare the speed and image quality of CPU, integrated graphics and independent graphics encoders when transcoding FFmpeg to H.265, and sort out common parameters and hardware acceleration test results.

2025-02-07
23 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Check the hard disk status smartctl on the LSI card under Ubuntu, and locate the hard disk storcli64, hot-swap replacement

Record the use of smartctl and storcli64 in the Ubuntu server to check the hard disk status of the LSI array card, locate the faulty disk, and complete the maintenance process of hot-swap replacement.

2025-01-24
11 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

How to solve the problem that wireguard does not automatically reconnect under openwrt

Record the processing ideas for not automatically reconnecting WireGuard after disconnection in OpenWrt, including practical configuration methods in interface restart, timing detection and network recovery scenarios.

2025-01-19
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Error "Devices have inconsistent logical block sizes" when handling Vgextend failure

Explain the reason why vgextend reports Devices have inconsistent logical block sizes, and provide checking disk sector size, LVM planning and alternative solutions.

2025-01-17
5 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Using LVM to Manage Disks on Ubuntu

LVM (Logical Volume Manager) is a Linux disk management mechanism that adds a logical layer between physical disks and file systems for flexible capacity management.

2025-01-17
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Encode MP3 with ffmpeg

MP3 encoding modes and practical ffmpeg commands.

2025-01-07
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

How to Safely Hot-Swap HDDs (Do It Right and Avoid Hardware Damage)

A practical guide to correctly hot-swapping drives and reducing the risk of hardware damage.

2025-01-01
1 minute read
中文简体 中文繁體 日本語 Español
Hardware

UDIMM, SODIMM, RDIMM, LRDIMM, NVDIMM, ECC: What Is the Difference?

A quick comparison of common memory module types and ECC support.

2025-01-01
2 minute read
中文简体 中文繁體 日本語 Español
Hardware

Crystal Oscillator Capacitance Basics (Matching Capacitance, Load Capacitance, and Parasitic Capacitance)

Practical method for understanding and calculating crystal matching/load capacitance.

2024-11-29
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

inpaint-web: Free, Open-Source Image Inpainting, Watermark Removal, and Super-Resolution Tool

inpaint-web is a completely free and open-source tool for image repair, watermark removal, and image enhancement, with no usage limits and fast processing.

2024-10-24
1 minute read
中文简体 中文繁體 日本語 Español
Hardware

Dual Power Automatic Switching Circuit with Near-Zero Voltage Drop

A MOSFET-based automatic dual-input power switching circuit with very low voltage drop.

2024-09-30
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Common Wi-Fi Channel Frequency Ranges: 2.4G and 5G (5.2G / 5.5G / 5.8G)

Quick reference for common Wi-Fi channel ranges in 2.4 GHz and 5 GHz sub-bands.

2024-09-29
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Xiaomi AX3600: MIBIB and Firmware Compatibility

Different MIBIB variants match different firmware families. Flashing the wrong combination may brick the router.

2024-07-09
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

OpenStick Debian System Tuning: Wi-Fi AP and Compression Optimization

USB mode switching, AP setup considerations, and filesystem compression tuning for small-storage OpenStick devices.

2023-10-28
1 minute read
中文简体 中文繁體 日本語 Español
Hardware

How to Read Samsung MLCC Part Number Codes

Decode Samsung MLCC ordering codes by field.

2023-10-23
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Debian system firmware compilation for portable wifi

Record the compilation process of Debian system firmware for portable WiFi devices, including source code preparation, kernel and rootfs construction, flash verification and common problems.

2023-08-09
6 minute read
中文简体 中文繁體 日本語 Español
Hardware

HBA IT Mode / SAS Pass-Through Performance Comparison

Comparison notes for LSI SAS generations and pass-through capability.

2023-04-03
2 minute read
中文简体 中文繁體 日本語 Español
Hardware

Motherboard specification list

Compile common motherboard specifications and size data, including ATX, Micro-ATX, Mini-ITX and other board types, to facilitate chassis selection, installation and hardware structure design.

2023-03-18
3 minute read
中文简体 中文繁體 日本語 Español
Hardware

Is a 600 RMB New HC620 14TB Drive Worth Buying?

Hands-on notes for a low-price HC620 14TB host-managed drive (HSH721414ALE6M0).

2023-03-17
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Resetting mdadm RAID on Ubuntu 22.04

A short record of resetting RAID disks with mdadm on Ubuntu 22.04, including stopping the array, clearing metadata, rescanning disks, and the main risk points.

2023-03-17
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Fixing Slow NTFS Write Performance on Ubuntu 22.04

How to improve NTFS read/write speed on Ubuntu 22.04 by adjusting mount options.

2023-03-04
1 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

DIY Low-Cost 256GB Memory Workstation with HP Z440 Motherboard

Build notes for a low-cost 256GB ECC workstation based on HP Z440 board and Xeon platform.

2023-02-26
3 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

How to Verify Whether Certbot Can Renew a Let's Encrypt Certificate Successfully

A quick way to confirm whether Certbot automatic renewal will work before the certificate really expires.

2022-12-08
2 minute read
中文简体 中文繁體 日本語 Español
Technical Docs

Build a Git Server on Synology NAS and Back It Up with Hyper Backup

Use Synology NAS as a lightweight Git server and configure Hyper Backup to protect the repositories.

2022-12-07
2 minute read
中文简体 中文繁體 日本語 Español
1 9 10 11 12 13 14
© 2022 - 2026 KnightLi Blog
记录并分享
Built with Hugo
Theme Stack designed by Jimmy