Programming

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

Git Configuration for Using Different Settings Based on Multiple Git Services

This article explains how to configure Git for different repositories, highlighting benefits, steps, and references for …

· 2 min
GitGitHubGitLab

CI Optimization - Automated Merge Request Creation

This article introduces CI optimization for automated merge request creation, including advantages, implementation …

· 4 min
Deployment & Operations

Setting Up the Android Environment for Ionic Development

Setting up an Android development environment for Ionic can be tricky. This guide provides a straightforward process for …

· 2 min
AndroidIonicMobile Development

Package.json Usage Tips and Tricks

Advanced usage tips for package.json beyond basic dependencies, including version enforcement, custom fields, and …

· 3 min
Node.jsnpmJavaScriptDevelopment

Two‑Way Data Binding

How two‑way binding works (Angular as example): API sugar, dirty checking, view updates, and alternatives …

· 3 min
Angular

Closures Explained (Simple Guide)

Clarifying what closures are, why they matter in JavaScript, and practice problems that cement the idea.

· 3 min
JavaScript

Lazy Loading Principles

This article introduces lazy loading principles, including usage scenarios and implementation details, to improve …

· 2 min
JavaScript

Fancy Console

Discover how to create fancy console outputs with colorful styles and ASCII art to make your webpage console more …

· 1 min
consoleJavaScriptCode Magic