Tag: mac

Programming Arduino pro mini with CH341A on Mac

I decided to write this guide, because there are a few details and nuances that I will probably forget soon and then I will have to rediscover them again. So lets get dirty! Arduino pro mini This device probably does not need too much introduction. Small, bare-bones ATmega 328P w…

Automatic remarkable backup script on mac

Automatic Remarkable2 backup on Mac This script backs up the data and its config from your Remarkable2 tablet to the repository once it is connected via USB, commits it and pushes to origin. Install Create a git repository with origin and with this script: #!/bin/bash BACKUP_DIR…

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 …

Fix ANSI data in nvim execute

After migrating my dotfiles over to Mac M3 I stumbled into roadblock issue for my neovim setup. Every time I saved a PHP file, a lot of garbled data got prepended at the beginning of said file. If you remember so far back, my setup uses prettier for formatting everything, mostly …