Functional Programming in JavaScript

Unlike in other popular programming languages, functions in JavaScript can be used as variables or parameters in function calls. In short, functions can also be treated as regular values as you would do with strings and numbers. This means that functions can be assigned to variables or passed as arguments…

BlackDoc, A Jekyll Theme

I recently added a new section in my website to publish my code cheatsheets. I added this new section for my own use as a quick reference to easily find the syntax and basic usage of language or software that I use for my projects. While working on it, I…

Replacing RVM with rbenv in OS X

For several years , I’ve been using RVM to manage and install different versions of Ruby and gemsets on my system. For anyone using Ruby, it’s an essential tool in making development much easier. It helped me greatly in managing different versions of Ruby and different gemsets to make…

ImgCaption: A Simple, Lightweight Image Caption jQuery Plugin

There are many image caption jQuery solutions for placing captions to images, but most of the available plugins I found don't provide the simplicity that I need and most use the alt or title tag to display text captions. I don't find these two attributes semantically correct when you need…

R.I.P. H.R. Giger

After hearing about HR Giger’s death, I felt compelled to write something about him. I'm a lifelong fan of macabre and dark art, and his life’s work was a great source of inspiration to me. He passed away on May 12 caused by injuries from a fall. I…