First Class Functions

Fun with first class functions in Go

November 11, 2014

There are times I need to wrap a function with extra behavior. Also I need to wrap this behavior in different ways based on...

Read More

Casting vs Calling

My confusion surrounding casting a function into an object

May 28, 2014

Being new to Go I was confused by how some packages in Go adapt functions into objects. The net/http package provides such an...

Read More

My tmux setup

A look at my favourite configuration settings

February 18, 2014

I have been using tmux for a couple of years now, I committed a tmux.conf to my dotfiles repo two years ago this week. I find that...

Read More

Enumerator in Go

Implementing the Enumerator (not)

January 31, 2014

I am a big fan of the Enumerator in Ruby. So I wanted to see if there was something similar in Go. But before I...

Read More

Getting started with Go

Resources, best practices, and diving in

December 18, 2013

Why Go?

My programing language of choice is Ruby. I just love to work with it. As a former Java developer, Ruby has made...

Read More

My Backup Strategy

March 28, 2011

Unfortunately there is no backup silver bullet, so to ensure that I have the computers in my home backed up and secured I use...

Read More

Extract to Git submodule

Convert subfolder into Git submodule

January 13, 2011

Recently I had the need to refactor a large repository we use at work. The layout of the repository was as follows

 ~ $ ...

Read More

Applying changes to VIM buffers

How to apply changes to all open VIM buffers

January 13, 2011

A simple way to make modifications to a lot of file is to open all of them
in vi and apply the search and replace...

Read More

Git: Rebase vs Merge

Using rebase instead of merge when pulling from remote

October 19, 2010

Instead of doing a regular pull

git pull# aka: git fetch && git merge remotes/origin/BRANCH BRANCH

To avoid the all the...

Read More

SSH: Password free login

Setting up ssh keys

December 14, 2009

Step 1

On each machine type ssh somemachine.example.com and make a connection with your regular password. This will create...

Read More

  Subscribe by Email and Never Miss a Post