Enable Notifications in Ghostty for Claude Code

Context

I want Claude Code to notify me whenever it needs input, permission approval, or attention during long-running tasks.

I like cmux, but I find them too unreliable for daily use due to memory leaks and various bugs.

Enable Notifications in Ghostty

Add the following to your Ghostty config file:

# ~/.config/ghostty/config
desktop-notifications = true

Reload Ghostty or restart the application after updating the config.

Also ensure notifications are enabled in macOS:

Read more →

Fixing High Disk Usage and Unexpected MariaDB Kills with innodb_buffer_pool_size

My client has a few Wordpress websites and they ran into a strange issue. The stack is quite simple, just Wordpress and MariaDB both running in Docker, on Google Cloud.

When it happens, the server doesn’t respond, timing out. The VM is inaccessible, cannot SSH to the VM. We checked the log of both Wordpress and MariaDB, but couldn’t find anything useful to identify the issue. There was only normal logs, and then timing out.

Read more →

Getting Logitech F310 to work with Macbook USB-C port

Connect & use Logitech F310 with Macbook

Since my Macbook Pro only has USB-C port, I used an USB-A to USB-C adapter to connect my F310 to it, but it does not work (pressing MODE button does not turn on the LED).

How to

To make it work:

  • Disconnect F310 from Mac

  • On F310: switch X-input to D-input

  • Hold Logitech button (in the middle)

Read more →