Programming

Frontend Basics — P1

Notes from frontend interview questions to reinforce fundamentals: TCP handshake, number precision, storage, hoisting, …

· 4 min
Frontend Development

What Are Git Snapshots

This article explains what Git snapshots are, how they are stored, and why they matter. These details help you …

· 3 min
Git

Encoding Pitfalls to Watch

Two web bugs traced to encoding: URL fragments in the URL API and window.btoa choking on non-ASCII.

· 1 min
JavaScript

Web Performance: Reduce Re-Renders

Reducing unnecessary renders in SPA apps with React (and similar frameworks), including strategies, pitfalls, and …

· 2 min
React

JIT vs AOT

This article provides a comparison between JIT (Just-In-Time) and AOT (Ahead-Of-Time) compilation, including their …

· 2 min
JavaScriptCompilation

Limitations of React's componentWillUnmount

This article discusses the limitations of React's componentWillUnmount lifecycle method, including its advantages, …

· 2 min
ReactJavaScript

TypeScript Enum vs. ES6 Symbol

Compares TypeScript enums and ES6 symbols so you know when to choose each for identifiers and constants.

· 3 min
JavaScriptTypeScript

rsync total size is 0 speedup is 0.00

Diagnoses rsync reporting “total size is 0 speedup is 0.00” during GitHub Actions deployments and traces it back to …

· 2 min
LinuxGit

JavaScript Regular Expressions: Literal vs Constructor

This article explains the differences between JavaScript regular expression literals and constructors, including their …

· 1 min
JavaScript

How to Set Up a Network Proxy in Terminal Shell

Learn how to set up a network proxy in terminal shell for OS X. This guide covers configuring shell files, applying …

· 2 min
iTerm2ShellTerminalProxy

TypeScript Explained (Simple Guide)

Key takeaways about TypeScript, including use cases and implementation details, to help you work with the language more …

· 2 min
TypeScript

Best Practices for Batch Updating Production Data

When performing complex updates on tables with hundreds of thousands of rows, single massive transactions can cause …

· 2 min
Database

Daily Challenge — Predict the Rendered Value

A Vue question on reactivity and lifecycle: what value renders on the page, and why.

· 1 min
JavaScriptVue

Daily Challenge — Avoid Infinite Loop

A frontend quiz: modify the code to avoid an infinite loop, with analysis and solutions (Web Worker, async approaches).

· 1 min
JavaScript

Parent-Child Commits in Git Log

This article introduces parent-child commits in Git log, including their advantages, implementation details, and related …

· 1 min
Git

Upgrading TypeScript to v4

Notes from upgrading to TypeScript 4.0—packages to bump, issues encountered, and fixes.

· 1 min
TypeScript

Reading the Meituan Homepage HTML Source

A tour of the Meituan homepage markup covering SEO tags, DNS prefetching, async/defer, IIFEs, and more front-end …

· 2 min
Technical Learning

Improve Frontend Code Quality — Stylelint

A quick setup for Stylelint to enforce CSS style, complementing ESLint on the JS side.

· 2 min
Frontend DevelopmentCSS

Error Boundaries Explained (Simple Guide)

React Error Boundaries: what they solve (UI exceptions), what they don’t (non-UI errors), and how to use them in …

· 2 min
React前端开发WebShell

Jenkins Continuous Deployment - Email Notification with ChangeLog

This article provides an introduction to Jenkins continuous deployment with email notifications including ChangeLog, …

· 2 min
Deployment & Operations

JavaScript Event Loop

This post explains the JavaScript event loop, including the model, tasks, and references to help you understand it more …

· 4 min
JavaScript

Project Code Statistics

Clone all repos, run cloc, and merge CSVs to measure code size across a group — scripts and steps included.

· 2 min

Pro Git Reading Notes

This article shares the author's reading notes from Pro Git, covering advantages, implementation details, and related …

· 2 min
Git

Practical Tips for Using GitLab

This article introduces practical tips for using GitLab, including its advantages, implementation details, and relevant …

· 2 min
gitlabci-cddevops

Improving Code Quality — Standardizing Git Commits

Use commit templates plus commitlint and standard-version to write consistent messages and generate changelogs.

· 2 min
Git