Threading the pull-requests

» ruby , github

I've seen myself go through the my Github organisations pull-requests pages one by one, to see if anything was up, but no more.

Rake task for Github comparison

» git , github , ruby , rake , heroku

"What's going to production?"

Wonderful quirks in the English language

» language , grammar , punctuation

»Lets eat Grandma« or »Lets eat, Grandma«? It depends on whether you want to actually eat your grandmother or you want to say to her that you're going to eat.

Up and atom

» ruby , atom , editor

So today I got an early access for Githubs new Atom editor. (Thanks Kasper!)

Pluck vs. map and select

» ruby , rails , optimise

Just a quick look at pluck vs. map and select in Rails.

2+2=5. No seriously.

» numbers , ruby , math , fun

So I've been watching Numberphile videos on YouTube lately. They did a video about the sum of all the natural numbers being equal to -1/12.

Switch to New Ruby Hash Syntax

» ruby , sublimetext , regex

When working on old Ruby code, you'll see the old (<= 1.9) hash syntax:

Pretty JSON in Grape API

» ruby , grape , json

So we're building this JSON API at, in which we want the JSON outputted to be human readable (pretty). Nothing is worse than trying to debug a JSON service, and always having to parse it through e.g. json_pp.

String Interpolation in Knockout

» javascript , ruby , rails , knockout

At we are currently developing a new flow for car owners to enter. This flow is based on a data-driven API. The new flow will be a front-end client of this API.

New TheRubyGame Challenge - Time to golf!

» ruby , golf

So TheRubyGame was just brought back from the dead. The newest challenge (Challenge #1) is about ducks and fire and ducks on fire.

✔ as a shortcut

» bash , macosx

I've been going crazy over that Mac OS X has a shortcut for (Square root sign) but not for (Check mark).

Even more failing comments

» ruby , erb

So I took my erubis for another spin.

Failing comments in erubis

» ruby , erb

I'm doing a lot of back-end work in Ruby and in Rails. Lately we hired a full-time front-end developer, and I wanted to give him some pointers in the index.html.erb-file in the /app/views/home-dir (front page of our site). I started writing some comments in the file, in a branch, which he could then take and improve on, get to know some of the models (stats shown on the front page) and view-helpers.

New .bashrc-file

» scripts , bash , shell

Previously I wrote about functions and aliases, however I just swtiched back to bash from zsh and thought I'd share some of my .bashrc-file. I also switched from TotalTerminal to iTerm 2.

Small, but useful script

» zsh , scripts , shell

We all have those small lines of code that we write again and again and again. Why not write a script to do it for you?

Welcome to Jekyll! What? Not Rails?

» jekyll , ruby , rails , hosting

I must say. Usually I swear to Rails. "Hey, shouldn't we build this?", "Yeah, of course, lets use Rails!". However this tends to get out of hand. You really shouldn't build everything in Rails, just because you can, why not use some frameworks that are built with a specific application in mind, e.g. jekyll.