Avatar 🍥

KnightLi Blog

记录并分享日常

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

Archives

2026 45
2025 23
2024 5
2023 9
2022 30
2021 5
2020 8

Categories

Technical Docs Hardware AI Tools Development Tools Operations AI Industry Blockchain

Tags

Ubuntu Ollama Gemma 4 Local LLM Agent-Skills Hugo Nginx Python Linux AI Agent Certbot Local LLMs OpenClaw Openwrt Pinout Vs-Code Windows WordPress Ai-Practice Anthropic API Atx-Power-Supply Backblaze-Drive-Stats Chip-Overview Codex Drive-Failure-Rate Enterprise-Drive-Reliability Ffmpeg Gemini Git
Technical Docs

GNU C `__attribute__` Guide

Common GNU C `__attribute__` usage patterns and examples.

2025-06-13
1 minute read
中文简体 中文繁體
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
中文简体 中文繁體
Hardware

MOSFET Identification and Basic Applications

MOSFET identification and basic usage.

2025-04-25
2 minute read
中文简体 中文繁體
Technical Docs

Fix pyOCD Failing to Detect Some DAPLink Probes on Ubuntu

Troubleshooting and udev rule fix when pyOCD cannot detect certain custom DAPLink probes.

2025-04-17
1 minute read
中文简体 中文繁體
Technical Docs

Compress Microsoft Office Word Documents (.docx)

Practical method to reduce Word DOCX file size.

2025-04-14
2 minute read
中文简体 中文繁體
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
中文简体 中文繁體
Technical Docs

CMake Basics and Practical Templates

CMake fundamentals and practical examples.

2025-03-28
1 minute read
中文简体 中文繁體
Technical Docs

STM32/PY32 GPIO: 8 Input/Output Modes Explained

Practical explanation of common GPIO modes on STM32/PY32 MCUs.

2025-03-18
1 minute read
中文简体 中文繁體
Technical Docs

Install and Use pyOCD + J-Link on Ubuntu 24.04

Step-by-step setup for pyOCD with J-Link on Ubuntu 24.04.

2025-03-17
1 minute read
中文简体 中文繁體
Technical Docs

Python Compression: Create Encrypted Archives in ZIP and 7z

Use Python to create encrypted compressed files in ZIP and 7z formats.

2025-02-09
1 minute read
中文简体 中文繁體
Technical Docs

FFmpeg H.265 Transcoding: Different Encoders, Software vs Hardware Speed Comparison

Practical comparison of H.265 transcoding methods in FFmpeg, including software and hardware encoder speed/quality trade-offs.

2025-02-07
1 minute read
中文简体 中文繁體
Technical Docs

Ubuntu + LSI: Check Drive Health with smartctl, Locate Drives with storcli64, and Perform Safe Hot Swap

Practical workflow for Ubuntu storage maintenance with LSI controllers: health checks, drive mapping, and safe hot swap replacement.

2025-01-24
1 minute read
中文简体 中文繁體
Technical Docs

Fixing OpenWrt WireGuard Auto-Reconnect Issues

A practical method to auto-recover WireGuard on OpenWrt when peer IP changes (for example DDNS scenarios).

2025-01-19
1 minute read
中文简体 中文繁體
Technical Docs

Fixing vgextend Error: Devices have inconsistent logical block sizes

How to troubleshoot vgextend failure caused by mixed logical block sizes.

2025-01-17
2 minute read
中文简体 中文繁體
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
中文简体 中文繁體
Technical Docs

Encode MP3 with ffmpeg

MP3 encoding modes and practical ffmpeg commands.

2025-01-07
1 minute read
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
Hardware

How to Read Samsung MLCC Part Number Codes

Decode Samsung MLCC ordering codes by field.

2023-10-23
2 minute read
中文简体 中文繁體
Technical Docs

Rebuild Debian Firmware for OpenStick Wi-Fi Stick

Notes for rebuilding Debian firmware and kernel for OpenStick-style Wi-Fi devices.

2023-08-09
2 minute read
中文简体 中文繁體
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
中文简体 中文繁體
Hardware

Motherboard Form Factor List and Dimensions

A list of common motherboard form factors and their dimensions.

2023-03-18
1 minute read
中文简体 中文繁體
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
中文简体 中文繁體
Technical Docs

Resetting mdadm RAID on Ubuntu 22.04

Steps to safely stop and reset an mdadm RAID array on Ubuntu 22.04.

2023-03-17
1 minute read
中文简体 中文繁體
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
中文简体 中文繁體
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
中文简体 中文繁體
Technical Docs

Verify Whether Certbot Auto-Renew for Let's Encrypt Is Working

Check timer status and run dry-run renewal to validate Certbot auto-renew.

2022-12-08
1 minute read
中文简体 中文繁體
Technical Docs

Build a Git Server on Synology NAS and Schedule Backup with Hyper Backup

Setup Git Server on Synology, configure SSH auth, and schedule backup with Hyper Backup.

2022-12-07
1 minute read
中文简体 中文繁體
Hardware

Why a Windows 10 Laptop Gets Hot in a Backpack and Drains Battery During Sleep

Explanation and fixes for Modern Standby causing heat and battery drain in bags.

2022-09-27
1 minute read
中文简体 中文繁體
Hardware

Backblaze 2022 Q2 Drive Failure Statistics

Summary of Backblaze Q2 2022 drive reliability data.

2022-09-08
1 minute read
中文简体 中文繁體
Blockchain

Sybil Attack

Sybil attack refers to one entity creating many fake identities to influence or control a decentralized system.

2022-07-05
1 minute read
中文简体 中文繁體
Hardware

Backblaze 2022 Q1 Drive Failure Statistics

Summary of Backblaze Q1 2022 drive fleet and annualized failure rates.

2022-06-16
1 minute read
中文简体 中文繁體
Hardware

Intel ATX12VO Connector Pinouts

ATX12VO moves to 12V-only PSU output and shifts 5V/3.3V conversion to motherboard side.

2022-05-26
1 minute read
中文简体 中文繁體
Hardware

Comparison of Common Desktop and Server PSU Connectors

Quick comparison of common motherboard/CPU/GPU/storage power connectors.

2022-05-15
1 minute read
中文简体 中文繁體
Hardware

Intel ATX 3.0 Specification (Chinese Reading Notes)

Key points from Intel ATX 3.0 related to transient response and new GPU power interface.

2022-05-07
1 minute read
中文简体 中文繁體
Hardware

12V PSU and PCI-E Auxiliary Power Interfaces

Notes on 12V-only power design and PCIe auxiliary connectors.

2022-05-06
1 minute read
中文简体 中文繁體
Technical Docs

Set IP Address for Mellanox Infiniband Adapter on Ubuntu 20.04

Configure static IP for Mellanox Infiniband interfaces using netplan.

2022-04-29
1 minute read
中文简体 中文繁體
Technical Docs

Switch Mellanox Infiniband Between IB / Ethernet / VPI Modes

How to check and switch Mellanox port link-layer modes.

2022-04-28
1 minute read
中文简体 中文繁體
Hardware

Two Affordable DC-DC 12V-to-5V Buck Modules (Hands-on Notes)

Practical test notes for two low-cost 12V to 5V DC-DC modules.

2022-04-28
1 minute read
中文简体 中文繁體
Hardware

PCI-E Power Connector Current and Power Limits

2022-04-24
1 minute read
中文简体 中文繁體
Technical Docs

Translate Full Markdown Documents with translate.google.cn

A script-based approach for translating long Markdown files while preserving front matter and syntax.

2022-04-21
1 minute read
中文简体 中文繁體
Technical Docs

Translate Full Markdown Documents with translate.google.cn (V2)

Improved V2 workflow for translating full Markdown documents.

2022-04-21
1 minute read
中文简体 中文繁體
Technical Docs

Connect Two OpenWrt Networks over the Internet with WireGuard

Build an OpenWrt WireGuard tunnel to interconnect two LANs over the Internet.

2022-04-14
1 minute read
中文简体 中文繁體
Technical Docs

Install GoAccess on Ubuntu + Nginx for Real-Time Site Analytics

Use GoAccess to visualize Nginx access logs in real time.

2022-04-14
1 minute read
中文简体 中文繁體
1 2 3
© 2022 - 2026 KnightLi Blog
记录并分享
Built with Hugo
Theme Stack designed by Jimmy