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 »

A life changing experience in Singapore

Well, when I first thought about writing something about the year in Singapore, I imagined talking how beatiful everything was, how the culture was so unique or how the food was so good and different. I could definitely talk about those things, a life changing experience for sure. However, I …

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 »

Why blogging?

In the past few years, I’ve been trying to find some time to put my own website/blog online. I believe this is a great way to share information and keep it organised and available to everyone. It is also a great way to improve your career by connecting …

Continue reading »
Older Articles »