Of course I have a backup!

Random blobs of wisdom about software engineering

Archive About Me Consulting My toolset

I have an old wallpaper script that changes wallpapers every 30 minutes to a random picture from a folder, just like how you can do it with Windows 7. I'm going to take a look at how this could be implemented using systemd facilities.

Continue reading ...

In my previous post, I wrote about the shortcomings of arrays in Bash. I think I found a good enough solution, that seems to have a very little footprint, no side effects, and only uses built in functionality.

Continue reading ...

Arrays exist in Bash since version 4.0. However, the capabilities are pretty limited, it is nowhere near other scripting languages like PHP, Ruby, or Python. You can have sequentially indexed arrays, and associative arrays, but, both of them can be only one dimension.

Continue reading ...

I'm sure a lot of people can relate, when I say that deploying changes isn't my favorite part of the job. It's error prone, tedious, repetitive, and leads to a lot of shotgun debugging, when for some reason things don't work out on the production server. I'd like to show some snippets how deploying could be made easier, and less error prone. Note that this won't be a tutorial on bash scripting, since there are already a lot of that on the web, it will be more about putting it to some use.

Continue reading ...