Postgres - Grouping data by date

27 Mar 2016 | | postgres, database

Easy ways to group counts of data by days, weeks, months or years.

Continue Reading →

Common VIM Commands

02 Jan 2016 | | vi, vim, common commands

TL;DR Run vimtutor and be enlightened!

Continue Reading →

How to say a REST-ful NO?

11 Nov 2015 | | REST, API, http, status, 404, resource not found

We had an interesting discussion at work yesterday: for a REST api, what HTTP status code to return when a resource does not exist - a 200 OK with an empty result, a 204 NO CONTENT or a 404 NOT FOUND ?

Continue Reading →

1 2 3 4 5 6