Programming

Security Component Scanning and Handling in Node Projects

This article introduces security component scanning and handling in Node projects, including its advantages, …

· 2 min
Node.js

Ping Requests in the Browser Network Panel

Explains how ping entries appear in browser DevTools, when navigator.sendBeacon fires them, and practical analytics use …

· 2 min
JavaScript

login shell

Quick notes on login shells—the advantages, how they load configuration, and related resources—so I can troubleshoot …

· 1 min
Linux

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

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

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

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

An Introduction to the ssh2 Package

A practical overview of the ssh2 package for Node.js, including common usage patterns (Client, shell/exec, HTTP agent, …

· 2 min
WebShellNode.js

Introducing xterm-headless

What xterm-headless is and how to use it to implement terminal functionality on Node.js, with use cases and notes.

· 2 min
WebShell

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

How I use Tampermonkey to enhance websites: common scripts, sync setup, and tips.

· 1 min
JavaScriptEfficiency Tools

The inspect Command in Node

This article introduces the inspect command in Node, including its advantages, implementation details, and relevant …

· 2 min
Node.js