Programming how-to posts

how-to posts and tips related to programming
Αυτή η σελίδα είναι διαθέσιμη και στα ελληνικά.
I just released stup, a tool for easily keeping organized daily notes in the terminal. You can find it on GitHub here.
Find palindrome dates in the Linux command line - explained
Explaining how to find palindrome dates using a shell command in Linux

Mongoid - Inheritance: change embedded document's type via nested attributes
How to change the type of an embedded document via nested attributes.

How to write better emails
Tips for writing effective emails avoiding misunderstandings with examples from the software development world.

How to remove duplicate lines from files preserving their order
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.

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.


How to add a custom HTTP header in Rails
Set custom HTTP headers in responses of a Ruby on Rails application.

Creating a bash completion script
A tutorial for adding tab completion to your scripts using the Bash Programmable Completion functionality.

How to create a favicon from an image
Quickly create a favicon with imagemagick from an image (png, jpg etc)


Displaying posts 1 - 10 out of a total of 12.