Programming

Which Option to Choose for Git Merge

When submitting a Merge Request (MR) for a project branch, there are three options: Merge, Rebase, and Squash. What are …

· 2 min
Git

How to Use the Custom name in the target attribute of <a> tag (Step-by-Step Guide)

I learned about the tag’s custom target attribute during the technical weekly meeting, and here is my note.

· 1 min
a tagtargetbrowserHTML

Quickly Fix Bugs in Open Source Community Repositories

In projects, we often use many third-party NPM packages, such as Mousetrap. We usually encounter bugs that have not yet …

· 2 min
NPMJavaScriptpatch-package

Browser Fingerprinting

What browser fingerprints are, FingerprintJS v3 vs. v4 licensing, expected accuracy, and basic usage.

· 1 min
JavaScriptWebShell

ua-parser-js Explained (Simple Guide)

In real-world development we often parse the UA header to detect device details—whether the user is on Windows or …

· 1 min
JavaScript

Frontend Visual Graph Editing

A recent project needed a visual flow editor. Here’s a survey of available libraries and tools. IBM’s Open-Source …

· 1 min
JavaScript

Passwordless Login for Linux Machines

For security reasons, passwordless login is generally implemented using public-private key pairs. Here, I’ll mark down …

· 1 min
LinuxSSH

Get the Current Directory of Any Selected File in WebShell

While implementing “click to download selected filename” in a WebShell based on xterm.js, I ran into a challenge: how …

· 1 min
WebShell

babel-plugin-import Explained (Beginner's Guide)

Due to bundle size issues, I’ve revisited babel-plugin-import. I wasn’t clear about this plugin before, so I’m …

· 2 min
JavaScript

The registry under the npm command does not work

Sometimes, switching the source of npm packages in a project is necessary due to network or security issues. The …

· 2 min
NPMNodeJS

redux-logger Tree Shaking Not Working

Investigates why redux-logger stays in production bundles, explores its UMD build, tries the 4.x ES module beta, and …

· 1 min
ReduxWebpackTree Shaking

Implementing SQL Autocompletion in Monaco Editor

Recently, I used Monaco editor to implement an SQL editor. To improve the user experience, code auto-completion was …

· 2 min
monacosqleditor

How Module Import Style Affects Bundle Size

Importing from lib vs. es vs. package root can change bundle size dramatically; why and how to choose.

· 1 min
Build Tools

Setting Environment Variables during SSH2 Connection

Can environment variables be set when connecting to a server using the Node.js SSH2 client? After investigation, it was …

· 1 min
ssh2

Monitor Network Disconnection in WEB

Explore methods to monitor and handle network disconnections in web applications, improving user experience and …

· 2 min
JavaScript

ShellCheck Explained (Simple Guide)

This post introduces ShellCheck, covering when to use it and how it works so you can adopt it more efficiently.

· 2 min
Linux

Wave Terminal Explained (Beginner's Guide)

Learn about Wave Terminal: a free, open-source terminal supporting Mac, Linux, and Windows WSL. Discover its features …

· 3 min
WaveTerminalResearch

Accessing Google Cloud VMs from Your Local Terminal

A practical guide to connecting to Google Cloud Platform (GCP) virtual machines using the gcloud SDK and Identity-Aware …

· 3 min
Cloud Services

Customizing Source Map Generation in Webpack

How to customize Source Map generation in Webpack, including when to enable it, how to exclude specific files, and …

· 1 min
Build Tools

Feasibility of Specifying a Startup File When Opening an SSH2 Session

This post explores whether an SSH2-based web terminal can specify a startup file when opening an interactive session, …

· 1 min
WebShellLinuxDevelopment Tools

OpenCloudOS SSH exec errors

This post explains SSH exec errors when connecting to OpenCloudOS, including analysis and fixes.

· 2 min
WebShell

tar: Ignoring unknown extended header keyword

Explains the 'Ignoring unknown extended header keyword' message when using tar between macOS and Linux, why it happens, …

· 1 min
Linux

Detect CPU Architecture in Shell Scripts

Shows how to detect the machine’s CPU architecture in shell scripts so you can download the correct Code Server package.

· 1 min
LinuxWebShell

Enable Autosuggestions in Your Shell

Explains the difference between shell autosuggestions and autocompletion, and shows how to enable suggestions in Bash, …

· 1 min
Linux

FileSaver Source Code Analysis

This article introduces FileSaver source code analysis, including its advantages, implementation details, and related …

· 2 min
JavaScript