A simple ZSH todo function

22 Jan 2014

I got tired of all todo apps and needed a simpler way of handling my everyday tasks. My OS X desktop was mostly empty, I was only keeping files that reminded me of tasks. So I though, why not use my desktop as my todo list? I already spend a lot of time in the terminal so a simple ZSH todo function solved all my todo problems.

Smooth gradients on iOS/OSX

08 Jan 2014

I thought drawing gradients on iOS is easy. Well, until our designer gave me this:

The ternary operator in C

24 Jul 2013

Most programmers are familiar with the ternary operator ?: that is available in C and most other languages. But what some people may not know is that you can also use this operator with only two arguments.