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 add, update and delete nested objects in Elasticsearch documents using the Update API and painless scripts.
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.
Set custom HTTP headers in responses of a Ruby on Rails application.
Quickly create a favicon with imagemagick from an image (png, jpg etc)
How to deal with required boolean attributes and radio buttons in Ruby on Rails.
I was working on my application and I wanted to write some RSpec tests for some controllers having `before_filter` for some actions....