Handling POSIX signals in bash using trap

Bash has a way of intercepting signals to perform actions. This is a nice way to have cleanup functions that can be executed before the program exists. Here are some examples in how you can setup a function that is capable of intercepting signals.

#!/bin/bash
# settting up the trap …

Continue reading »

Error: Argument list too long

Today I faced an unsual error. One of the jobs in the CI server was failing with the following message: [Argument list too long]. After some debugging and reading, I figured that the error is related to a kernel limitation, apparently well known, and today I am going to explain …

Continue reading »

Deploying your blog using a Continous Delivery Pipeline over SSH

I started this blog as a Wordpress blog. By that time, I thought I could just use some of the features that these blog engines provide so I would just focus on writing content. In the beginning that was true, but I realised that Wordpress was "too heavy" for my …

Continue reading »
Older Articles »