Blog

File Contents Cleared When Writing via Stream

Investigating why streaming writes cleared file contents when using SFTP in Node.js — the 'w' flag truncation and how it …

· 5 min
Node.js

parseInt

This article introduces parseInt, including its advantages, implementation details, and related information. These steps …

· 1 min
JavaScript

Serverless via Tencent Cloud Functions Explained (Simple Guide)

Three real-world use cases where Tencent Cloud Functions saved me from running servers, plus a quick definition of …

· 2 min
ServerlessCloud Functions

First Experience Recycling an MBP via Xianyu

Tried Xianyu’s official recycle for a 2019 MBP vs. JD recycle: process, price cuts, and why I switched back to JD.

· 2 min
Apple Ecosystem

Enable IPv6 on Home Broadband

Steps I took to switch my home network to IPv6—bridge the ONT, reconfigure the router, and verify connectivity.

· 1 min
Networking

How to Use SSE in AI Chat (Step-by-Step Guide)

Explore SSE in AI chat apps: advantages over WebSocket, implementation with EventSource and Fetch APIs. Learn efficient …

· 2 min
WebShellSSEFetch

attachCustomKeyEventHandler in xterm.js

How to use attachCustomKeyEventHandler in xterm.js to intercept keys for special handling, with source notes and use …

· 2 min
WebShellTech Learning

TinyMCE's GPL License Explained (Simple Guide)

A quick look at TinyMCE's GPL license—what it allows, commercial implications, and alternative editors—so I can evaluate …

· 2 min

Loading ES Modules in Node.js Projects

This article introduces loading ES modules in Node.js projects, including its advantages, implementation details, and …

· 1 min
Node.jsJavaScript

What is Shebang? A Guide for Scripting

Ever wondered about the `#!` line at the start of scripts? This guide explains what a Shebang is, how it works, and why …

· 2 min
Development ToolsLinuxScripting

Reading Large Files with FileReader

Optimizing FileReader for 1-3 GB files: chunking, streams, workers, and avoiding main-thread jank.

· 2 min
WebShell

Common PowerShell Commands

Quick guide to common PowerShell commands for file management: compress, copy, move, extract, delete, create, and rename …

· 1 min
WindowsPowerShellCommandsTerminal

Writing a Welcome Message in xterm.js

How to write a welcome message in an xterm.js terminal: server and client setup for a better connection experience.

· 1 min
WebShell

Terminal URL Scheme Support

Investigates how macOS and Windows handle terminal URL schemes so you can launch SSH sessions directly from hyperlinks.

· 1 min
Developer ToolsWindowsMac

Submitting PRs to GitHub Open Source Projects

This article introduces how to submit PRs to GitHub open source projects, including the advantages, implementation …

· 1 min
Git

Product Documentation Writing Guidelines

Practical guidelines for writing clear product docs: tone, screenshots, structure, and formatting conventions.

· 1 min

Debugging Local Packages with Pnpm and Vite: Common Issues and Solutions

This article introduces debugging issues when using Pnpm with Vite for local package development, including advantages, …

· 3 min

JavaScript String trim() Method

This article introduces the JavaScript string trim() method, including its advantages, implementation details, and …

· 2 min
JavaScript

How to Use HTTP3 (Step-by-Step Guide)

This article provides an introduction to HTTP3, including its advantages, implementation details, and related resources. …

· 2 min

$TERM Explained (Simple Guide)

Explains the $TERM environment variable, common values, and how it affects terminal capabilities.

· 1 min
WebShell

How to Use Eudic Dictionary (Step-by-Step Guide)

This article introduces the Eudic Dictionary user guide, including usage scenarios and implementation details to improve …

· 4 min
Translation

How to Use GitHub Copilot CLI (Step-by-Step Guide)

This article introduces the usage of GitHub Copilot CLI, including advantages, implementation details, and related …

· 1 min

Great Plugins for Hexo

Discover essential Hexo plugins to enhance your blogging experience. Includes setup and configuration tips for optimal …

· 2 min
hexohexojs

Comprehensive Introduction to Fig

This article provides a comprehensive introduction to Fig, including its advantages, implementation details, and related …

· 2 min

Microsoft Remote Desktop URL Scheme

Learn how to use URL Scheme to invoke Microsoft Remote Desktop on macOS and Windows, including limitations and …

· 1 min
WindowsRDP