Skip to main content

Writing

Notes on building things.

Creating Automated Deployment Workflows with Gitea Actions

Using a frontend project deployment as an example, this article provides a step-by-step guide on how to create automated deployment workflows using Gitea actions. For those who don't want to use Jenkins, Gitea actions is a good CI/CD solution.

10 min read

Using Tailwind CSS in Docusaurus v3

This article details how to integrate and configure Tailwind CSS in Docusaurus v3, including installing dependencies, configuring tailwind.config.js, creating tailwind.css and postcss.config.js, and more.

4 min read

Git Commit Convention

This article details the Git commit convention, including the specific content and usage rules of the Header, Body, and Footer sections, helping team members better understand and follow a unified commit standard.

5 min read

The Trap of Using map with parseInt in JavaScript

This article analyzes in detail why ["1","2","3"].map(parseInt) returns [1, NaN, NaN] in JavaScript, revealing this common JavaScript trap by examining how map and parseInt methods work.

3 min read

Browser Rendering Principles

This article details the seven stages of browser page rendering (HTML parsing, style calculation, layout, layering, painting, tiling, and rasterization) as well as the concepts of reflow and repaint, and why transform is efficient.

7 min read