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

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`'

Create an alias when composer runs out of memory

alias composer='php -d memory_limit=-1 `which composer`'