Careless Fingers
A record of how I misused dpkg to purge leftover configuration files on a VPS, which ended up deleting the Git-related database, and the lessons learned.
74 posts · page 8 of 8
A record of how I misused dpkg to purge leftover configuration files on a VPS, which ended up deleting the Git-related database, and the lessons learned.
How to use JavaScript to listen for page visibility changes, so that the tab title shows different text when the user switches tabs.
How to tell the QQ, WeChat, and Alipay scanning environments apart by checking the User-Agent, so that a single payment code can redirect to the right tipping page for each app.
This is the default welcome post shown after the Typecho blog is successfully installed, confirming that the site is accessible.