(tagged "shell")

Revisiting Eru

November 4, 2018

As you might know, Eru is the supreme deity of Arda. The first things that Eru created where the Ainur. He then bade the Ainur to sing to him. Each Ainu had a particular theme given by Eru. Sure enough, Eru makes the ‘World and All That Is’.

So when I get a new clean system there is nothing yet. And so I call upon the wisdom and power of Eru.sh - the one who creates Ainur and the ‘World and All That Is’.

I just have to wait patiently, while everything is being downloaded and installed, while all configuration cogs are being placed on the right spot.

Read more →

High quality GIF from video

October 13, 2018

When it comes to converting video to GIF, one usually gets a huge file and a questionable quality. Most of the guides suggest to use FFmpeg to do the conversion, but usually, they don’t bother with the quality of the result. As it turns out, folks from FFmpeg made some huge steps in improving the GIF output.

Read more →

Random bytes generation with OpenSSL

January 31, 2018

Sometimes you just have to generate some random bytes with high entropy. And OpenSSL can help you with this task.

Read more →

Errors in shell scripts

June 27, 2016

Writing shell scripts might be pretty tedious because of all those failing commands leading to a corrupted state. And it gets even worse when you overpopulate your script with if statements which distract you from solving your initial problem. And fortunately, there are several neat tricks for handling errors in shell scripts that everyone should be familiar with.

Read more →