Commit changes immediately to git using Rust

Having a trail of your coding flow can be handy or will explain the longing question about 'what was i thinking' when resolving problems of

Warning: this script needs Rust (unfortunately) installed

Godot application not working for others. Check your log file

I've build a few iterations and suddenly it is broken. What!

Checking with the log file showed an error on a audio file name.

open ~/Library/Application Support/Godot/app_userdata/my-game/logs/godot.log


**ERROR**: Cannot load source code from file 'res://UI/'.

So ... moving code from project using UI in uppercase to on that has ui lowercase is a known MacOS problem.

Scale object in your editor scene?

I want the assets imported from Blender or other sources fit my scene needs

For this we need to find the bound of the mesh and scale accordingly.

Godot on IRC using IRSSI

  • On the command prompt type irssi
  • Type `/join #godot-

Homebrew installed MariaDb too many open files

MariaDB broken

It happened again.

I did brew update/upgrade a while ago then weeks after that restarted MariaDB then days later tried to access MariaDB.

MariaDb too many open files

Trying to get info over the config file seems not easy.

Apple movie file to animated gif

Make a proper recording

  • Record using QuickTime
  • Clip/trim the video


ffmpeg -i -vf fps=5,scale=450:-1 animated.gif


Install image on Pinephone

According to Copying an operating system image to an SD card using Mac OS steps are


diskutil list

/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *32.0 GB    disk4
   1:                 DOS_FAT_32 NO NAME                 32.0 GB    disk4s1


Take disk identifier and unmount disk

Adding an inset using minkowski

Cubes with one applying minkowski

OpenSCAD is a scripting CAD tool every developer could like.

Create alias when tired of opening customer site in particular browser

For this to work you need to have your Drush aliasses configured

You also need the path to your Browser app.

alias customer_test_dir='cd path-to/customer_dir'
alias customer_test='customertest_dir ; open -a /Applications/ `drush @tst uli --no-browser`'