Linux

Happy New Lunar Year 2019

February 5, 2019

This blog post is a little treat for all geeks. In short, we will introduce logstash to ingest data into Elasticsearch. The occasion is to celebrate today the Lunar New Year or Chinese New Year. 2019 is the Year of the Pig. In Chinese culture, pigs are the symbol of wealth. Their round faces and big ears are signs of fortune as well. The common belief is that pigs are blessed with luck and have a beautiful personality. See below the fortune output for the year of the pig.

Read more

Working with Arrays in Linux Shell

January 16, 2019

One necessity is dealing with Arrays as a data structure in any kind of language or interpreter. The Linux Documentation Project has lots of documentation, but lacks IMHO concise and straightforward examples. I created this example, as recently I have struggled myself how to operate on arrays. I spice it up with some ASCII art from asky.io (♥_♥).

Read more