嘿, 我是Mofei!

I
Write
Love & Life

MOFEI

Shanghai Stunt City: A Forgotten Egyptian-Themed Park

Hidden on Changxing Island, this once-Egyptian-themed amusement park from the 1990s is now a fading memory of Shanghai’s urban past.

LifeMon, Aug 29, 2022
MOFEI

The Secrets of CSS Variables: From Basics to Advanced Tricks

CSS variables go far beyond reuse—this guide explores animations, type definitions, fallbacks, and creative tricks that feel like magic.

TechTue, Aug 23, 2022
MOFEI

Spontaneous Trip to Liyang

An impromptu summer trip to Liyang after a missed flight to Changsha — hot springs, lakes, and bamboo forests under 40°C heat.

LifeMon, Aug 15, 2022
MOFEI

Mastering Intersection Observer for Lazy Loading

Stop listening to scroll—use Intersection Observer to efficiently handle lazy loading and viewport detection with clean, performant code.

TechThu, Jul 14, 2022
MOFEI

Force Docker to Use amd64 on Apple M1 Chips

Learn how to force Docker to build amd64 images on Apple M1 chips to avoid compatibility issues on common cloud platforms.

TechThu, Apr 14, 2022
MOFEI

[Translation] HTML Attributes You've Probably Never Used

Explore a collection of lesser-known but powerful HTML elements and attributes to boost your frontend skills.

TechFri, Apr 1, 2022
MOFEI

Aliyun FC Container Timeout on Macbook M1: A Platform Mismatch Story

Running into timeout errors when deploying ARM-built Docker images to Aliyun FC? Here's a detailed story of debugging and fixing the platform mismatch.

TechMon, Feb 14, 2022
MOFEI

Why You Shouldn't Use Index as Key in React

Using array index as a React key can lead to UI bugs and performance issues. Learn why it happens and what to do instead.

TechThu, Apr 15, 2021
MOFEI

Make Your GitHub Profile Stand Out

Personalize your GitHub profile by creating a username-matching repo with a customized README. Here's how to get started!

TechFri, Apr 9, 2021
MOFEI

Understanding Python's __init__.py

__init__.py files are more than just placeholders—they define packages, control imports, and can even initialize modules in Python projects.

TechThu, Jan 21, 2021
MOFEI

Understanding JavaScript Microtasks vs Macrotasks

Master JavaScript's event loop with a deep dive into the execution order of async/await, Promises, and setTimeout.

TechThu, Jan 14, 2021
MOFEI

Set Up a Global .gitignore File

Keep your project .gitignore clean by configuring a global ignore file for system and editor-specific clutter.

TechMon, Jan 4, 2021
2/8

HI. I AM MOFEI!

NICE TO MEET YOU!