Avatar 🍥

KnightLi Blog

记录并分享日常

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

Archives

2026 233
2025 18
2024 5
2023 8
2022 32
2021 5
2020 8

Categories

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

Tags

Codex AI Agent Ai-Tools Developer Tools AI Coding Claude Code Local LLM Ubuntu Ollama Linux MCP Windows Claude Python GPU OpenAI Docker Open Source Agent-Skills Llama.cpp NAS Anthropic CVE Cybersecurity Nginx AI Video Browser Automation ChatGPT CUDA Hugging Face
Hardware

CRPS Common Redundant Server Power Supply Standard, Pin Functions, and Common Models

A practical overview of CRPS / M-CRPS common redundant server power supplies, including the 2x25 edge connector pinout, PSON/12VSB/PMBus signal functions, and common CRPS PSU models.

2026-04-17
11 minute read
Hardware

CSPS Common Slot Server Power Supply Interface and Pinout

A practical overview of CSPS / Common Slot server power supplies, including the 64 pin edge connector pinout, 12V output enable method, PMBus/SMBus signals, and breakout board design notes.

2026-04-16
18 minute read
AI Tools

Codex Usage Limits Explained: 5-Hour Reset, Weekly Quota, and Credits

Understand Codex usage limits, including the 5-hour reset, weekly quota, extra credits, and why both limit windows decrease at the same time.

2026-04-15
8 minute read
Hardware

A Practical Guide to Common U.2 Enterprise SSD Series

A practical overview of common U.2 enterprise SSD series from Solidigm, Samsung, Western Digital, Micron, and Kioxia, with a focus on product positioning and typical use cases.

2026-04-15
7 minute read
AI Tools

RAGFlow Project Notes: Features and Usage of an Open-Source RAG Engine

A practical overview of infiniflow/ragflow, covering its core positioning, major features, deployment approach, and basic usage flow for enterprise knowledge bases and AI Q&A systems.

2026-04-15
6 minute read
AI Tools

Playwright CLI Session Management: Multiple Browser Sessions, Isolation, Persistence, and Cleanup

Based on the official session-management reference, this article organizes the common ways to use named browser sessions, session isolation, persistent profiles, concurrent usage, and cleanup commands in Playwright CLI.

2026-04-15
6 minute read
Hardware

M.2 E Key vs B Key vs M Key: Interfaces, Buses, and Power-On Checks

Determine M.2 E Key, B Key, and M Key compatibility from the notch, socket type, PCIe/USB/SATA buses, and power requirements, with pre-power documentation and multimeter checks.

2026-04-15
6 minute read
AI Tools

Playwright CLI storage state: Save Login Sessions, Read Cookies, and Local Storage

Based on the official storage-state reference, this post summarizes the common Playwright CLI commands for storage state, Cookies, localStorage, sessionStorage, and IndexedDB with concise explanations.

2026-04-14
4 minute read
AI Tools

Playwright CLI Guide: Installation, Agent Skills, Sessions, and Commands

Install Microsoft Playwright CLI for coding agents, add its Skills integration, manage browser sessions, and use essential automation and monitoring commands.

2026-04-12
7 minute read
AI Tools

Hermes Agent Guide: What It Is, Setup, Features, and OpenClaw Comparison

A practical Hermes Agent guide covering what Nous Research's open-source AI agent does, how to install it, its memory and MCP features, and how it compares with OpenClaw.

2026-04-12
7 minute read
Operations

go2rtc with Xiaomi Camera RTSP: Feed NVR, HomeKit, and Frigate

A practical setup note for pulling Xiaomi camera RTSP via go2rtc and using it across NVR, HomeKit, and Frigate.

2026-04-11
1 minute read
AI Tools

Sharing an Agent Skill for E-commerce Product Image Cutout and Standardization

An overview of the product-cutout-normalize Agent Skill, including its purpose, usage, parameters, and the full source code for SKILL.md and scripts/run_pipeline.py.

2026-04-09
10 minute read
AI Tools

How to Download a GGUF Model from Hugging Face and Import It into Ollama

If a model does not have a ready-made Ollama version, you can download the GGUF file from Hugging Face and import it into Ollama with a Modelfile.

2026-04-09
4 minute read
AI Tools

Troubleshooting Slow Ollama Pulls: DNS, Proxy, TLS, Disk, and Cache Recovery

Diagnose slow Ollama model downloads, TLS timeouts, unexpected EOF errors, low disk space, and proxy certificate issues from logs, with safe recovery steps.

2026-04-09
5 minute read
AI Tools

How to Install and Run Gemma 4 on Android: Complete Getting-Started Guide

Install Google AI Edge Gallery on Android 12+, download Gemma 4, verify offline inference, and measure the device with the built-in benchmark.

2026-04-08
3 minute read
Hardware

Memory Die Identification Guide: How to Read Samsung, Micron, and SK hynix Codes

A beginner's guide to memory die identification using Samsung, Micron, and SK hynix examples, including common markings, code fields, and practical boundaries.

2026-04-06
3 minute read
AI Tools

Where Does Ollama Store Models? Paths for Windows, Mac, and Linux

Find the Ollama model storage path on Windows, macOS, and Linux, then move models off your system drive safely with the OLLAMA_MODELS variable.

2026-04-06
3 minute read
AI Tools

Completely Uninstall Ollama on Linux (Including Leftover Cleanup)

A practical, executable guide to fully remove Ollama on Linux by stopping and removing its service, binary, model files, and system user/group.

2026-04-06
2 minute read
AI Tools

LLM Quantization Explained: How to Choose FP16, Q8, Q5, Q4, or Q2

A practical guide to LLM quantization, common format differences, and VRAM-based model selection to balance quality, speed, and resource cost.

2026-04-05
3 minute read
Development Tools

CH347 Resource Guide: Drivers, Tools, and SPI Flash Programming

A beginner-friendly CH347 resource roundup: official page, Windows drivers, SPI Flash programming tools, and troubleshooting tips.

2026-04-03
2 minute read
Technical Docs

rsync --delete Guide: Safely Mirror and Clean Target Directories

Learn how rsync --delete mirrors and cleans target directories, with safer command patterns, dry-run checks, and precautions before removing files.

2026-03-29
2 minute read
Technical Docs

How Git Tracks File Executable Permission (+x)

Learn how Git tracks executable permissions on Linux, with practical commands to add, remove, and verify the executable bit.

2026-03-29
1 minute read
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
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
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
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
Technical Docs

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

2026-03-27
3 minute read
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
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
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
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
Hardware

VGA Connector Pin Definition

VGA connector pin definition and simple wiring guide.

2026-01-18
1 minute read
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
Hardware

PCIE Switches PCI-E switch chip inventory

PCIE Switches PCI-E switch chip inventory

2025-09-18
11 minute read
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
Technical Docs

GNU C __attribute__ mechanism

GNU C __attribute__ mechanism

2025-06-13
4 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

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
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

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
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
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
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
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
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
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
1 2 3 4 5 6 7
© 2022 - 2026 KnightLi Blog
记录并分享
Privacy Policy
Built with Hugo
Theme Stack designed by Jimmy