Hi there

When given the choice between being right or being kind, choose kind.

Upgrading Docker Compose to V2 on Linux

Upgrading Docker Compose to V2 on Linux
Recently, Docker Desktop on macOS was updated, causing services orchestrated with docker-compose to fail. This led me down the path of upgrading.
Read more →

Advanced Usage of Laravel Tinker

Advanced Usage of Laravel Tinker
At work, I often need to adjust fields in the database. Since most of these scripts will only be used once, I choose to use Laravel Tinker instead of Commands.
Read more →

Optimizing Blog on Vercel

Optimizing Blog on Vercel
Recently I migrated my personal blog to the free PaaS provider Vercel, but encountered several issues.
Read more →

x86 架构计算机如何启动的

x86 架构计算机如何启动的
从按下电脑开机键以后,它到底做了什么,这对很多人来说就像一个黑盒子,通过技术手段窥视这个黑盒子后发现计算机世界没有魔法!一切都是有理可依的。
Read more →

Modifying macOS Username and Directory

Modifying macOS Username and Directory
When creating a user on a new Mac, macOS always changes the first letter of the username and user directory to lowercase, which is quite annoying for someone with OCD like me.
Read more →

Using Clarity to Understand What Your Users Want

Using Clarity to Understand What Your Users Want
If you don’t know how to optimize page elements or how to improve conversion, you might want to try Microsoft’s Clarity tool.
Read more →

Setting up Laravel Valet Development Environment on Apple Silicon Mac

Setting up Laravel Valet Development Environment on Apple Silicon Mac
Today I received a new company computer and encountered some small issues when migrating data and projects from the old Intel architecture Mac to the new ARM architecture Mac. I’m documenting these issues as a reference for others.
Read more →

Using Surge Module to Override Managed Configuration

Using Surge Module to Override Managed Configuration
After migrating from ClashX to Surge, I found that the private domain names resolved by local dnsmasq were not working. In ClashX, I used proxyIgnoreList.plist to ignore specific domains.
Read more →

Accelerating SSH with ClashX

Accelerating SSH with ClashX
At work, I often need to SSH into overseas servers to execute commands. After typing a command, I have to wait several seconds or even tens of seconds to see the characters appear in the command line, which is really painful for developers.
Read more →

Replacing PHP-FPM with Nginx Unit

Replacing PHP-FPM with Nginx Unit
I noticed the Nginx Unit project when it was first established, believing it would simplify backend service deployment and proxying. After years of development and maintenance, looking back now, it truly lives up to being a product from the Nginx family.
Read more →