iridakos

Lazarus Lazaridis' personal blog with posts mostly related to programming and opensource.
And cats.

github twitter
Composing better emails
Tips for writing effective emails avoiding misunderstandings with examples from the software development world.

awk '!visited[$0]++' or how to remove duplicate lines from files keeping the original order explained
How to remove duplicate lines of a file in Linux without sorting or changing their order (awk one-liner explained).

How to manage nested objects in Elasticsearch documents
How to add, update and delete nested objects in Elasticsearch documents using the Update API and painless scripts.

How to alias and navigate to directories with autocomplete in Linux
A Linux shell script for registering directory aliases and navigating to them with tab completion.

Dockerizing a Rails application
A step by step tutorial to dockerize a Rails application and run it in Docker with PostgreSQL and Redis.

Creating a chat application from scratch using Rails and WebSockets
A step by step tutorial for creating a chat application with Rails and WebSockets (ActionCable).

Elasticsearch bucket aggregations and faceted navigation - facets
A step by step tutorial for using Elasticsearch bucket aggregations to implement faceted navigation a.k.a. facets.

Change brightness with the function keys on iMac running Ubuntu or Debian

In this post I will describe the steps I had to follow to be able to change the brightness on my iMac using the related keyboard function keys.


Full text searching Linux man pages with Elasticsearch

In this post we are going to play around with full text searching Linux man pages using Elasticsearch.


Creating a bash completion script
How to add tab completion to your bash scripts