iridakos

Lazarus Lazaridis' personal blog with posts mostly related to programming and opensource.
And cats.
Linux shell navigation to aliased directories with autocomplete
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.


GDPR
When another GDPR email is received...

Full text searching Linux man pages with Elasticsearch

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


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

Creating a Linux Desktop application with Ruby

Lately I was experimenting with GTK and its Ruby bindings and I decided to write a tutorial introducing this functionality. In this post we are going to create a simple ToDo application (something like what we created here with Ruby on Rails) using the gtk3 gem a.k.a. the GTK+ Ruby bindings.


Using elasticsearch in a Rails application

In this tutorial we are going to create a Ruby on Rails application that will use elasticsearch to allow users to store and search their content. The sample application will be a stupid simple blog and the data will be, what else, posts. The integration with elasticsearch will be accomplished via the elasticsearch gems for Rails and we will use Kibana to view and check our index configuration.