Flutter in CLI (mainly flutter run) cannot auto hot reload by itself in Linux, so we need to setup some commands to trigger it. The basic idea is to use inotifywait in inotify-tools (which is already in Debian/Ubuntu's APT repository): inotifywait -e create,delete,modify -mr android/ lib/ | awk...
TL;DR The following snippet added to you ~/.zshrc will recognize project folders you changed to, so that when you create new shells (i.e. through opening a terminal) it changes to the last used project automatically. Please find the complete snippet at the end of this post. Some projects have a...
I recently installed Debian 8 on a MacBook Pro with a hi-dpi display, or as Apple calls it, a Retina Display. I used a netinst installer, which is very small, but leaves you, right after the installation, with nothing but a Linux text console. And the font is tiny! Luckily, there’s a remedy for...
Back in the days when I was developing in Ruby most of my waking hours rbenv was a real life saver. But looking at what it does, it initially felt awkward how it "wrapped" the cd command. You could argue that the Ruby community are no strangers to guerrilla patching. But it felt less awkward when...
I'm using the command line extensively, with plenty of black terminals side by side in my tiling window manager I was looking for something that helps distinguish remote shells (via ssh) from my local shells. Introducing one of my favorite tricks: Changing the background color of the terminal...