Sed Append – Appending to Input

sed append

I had the need to add a port number to a list of IP addresses and I couldn’t find anything that I could copy & paste from my google searches so I decided to implement it myself and share it for others who in the future might need to do something similar. In this artcile I will display sed append with that example.

Continue Reading

Swagger API Documentation

Swagger API documentation

Writing documentation is a necessity which is extremely dull and boring. But luckily there is a tool available referred to as Swagger API Documentation. Documentation with Swagger has never been easier. All you have to do is to add the dependency to your Spring Boot project and Swagger will take care of it for you.

Continue Reading

Golang Twitter Bot

golang twitter bot

I’ve heard loads of positive things about Googles programming language Golang, and curious as I am I decided to explore it. When I’m learning new things I like to get started using it instantly hands-on. I am a frequent user of Twitter and thought what if I can increase my followers with a Golang Twitter Bot?

Continue Reading

Immutability with Lombok builder pattern

Lombok builder gives minimalistic code

Lombok is a tool that makes it possible to write classes in Java the way it is supposed to. It reduces a lot of the boilerplate code required that many modern languages already have built-in support for, such as Golang and Kotlin. Lombok supports the traditional OOP class structure with getters and setters, but my favorite part is the Lombok Builder which enables us to write immutable classes with almost no code required at all. In this article, we are going to explore that and hopefully, you will be convinced and start using it yourself.

Continue Reading

Kibana – Elastic Stack Tutorial (Part 3)

Kibana

Kibana is an awesome tool in the Elastic Stack that aims to solve the problem of what to do with all the data that you collect and how to use it in a meaningful way. Kibana does that by letting you easily visualize the data that arrives into Elasticsearch. In this article, I will give you a brief introduction to the tool and how to set up your first visualization.

Continue Reading

Elasticsearch – Elastic Stack Tutorial (Part 2)

Elasticsearch

Elasticsearch is a powerful search engine developed in Java with clients available for many of the major languages. Data is stored as JSON documents and are easily and quickly searched via an HTTP interface. Elasticsearch is popular to run together with Logstash for data-collecting and processing logs, and Kibana for visualizing the data. This is referred to as the Elastic Stack, and Elasticsearch functionality in the stack is to store the data and make it searchable.

Continue Reading