Fixing ANC on Sony WH-1000XM4

Recently a friend came to me asking for help with a repair of their Sony WH-1000XM4 headphone with Active Noise Cancellation technology. The problem was that one ANC was activated, right speaker was making very unpleasant noises. Cleaning the buds did not help so we decided to re…

Interfaces may only include hooked properties

With the release of PHP8.4 I tried experimenting with the features it provides. One such feature is support for properties in interfaces. Interfaces were getting a few improvements over time, but up to PHP8.3 only methods were allowed, omitting properties from the definition. Wan…

Correct Google search country via VPN

While using the 4G/LTE technology as my primary internet connection for over four years now proved good enough compared to any kind of cable connection, there was a one major challenge that I had hard times overcoming for some quite time. The thing is, most telecom providers do n…

Fix color code data in fzf neovim

Some time ago I wrote how I had a a problem with color codes prepended into formatted files while using Neovim with Prettier. In the post I mentioned that I was able to solve the problem at hand. However, I had one other similar problem still present in my setup after migration f…

PHP test watcher for MacOS

I was successfully able to use my previous Laravel test watcher for a very long time, while I was on Linux. But now on Mac, it does not work, as mac does not support inotifywait. Mac does however support similar thing, called fswatch, install via Brew: brew install fswatch Howev…

Downgrade package in brew

There are numerous guides for downgrading a Brew package but somehow, none that I tried I found to be particularly helpful, let alone working and straightforward. Thus I mixed and matched them together to build Yet another brew downgrade package guide™, that at least works for my…

Install pynvim via Homebrew

Note: This article is misleading. There is a more recent one which you should consider reading first. I decided to write down a bit of details about how I was able to install python requirements for neovim on Mac M3, because as it turns out, it is not as straightforward as doing …