Mark Grealish

Cats and wizardry.


First Cycle Since…2008?

in me

The first cycle-cycle, that is, because trips to and from town in Galway don’t count. Back in Vegas I used to cycle to work: take the bus part way, cycle the balance. I stopped (no bicycle) after I got back to Ireland, so I’m looking forward to the route to Howth.

There are few words in this post, which I blame on being tired.

The shiny new bicycle
Obligatory narcissistic selfie

Replace Odd Numbers of Spaces Only

in code

Stolen from Stack Overflow, this bit of regex matches odd numbers of spaces only. Last week I retabbed a work project, but didn’t catch that I replaced \t with \s instead of \s\s. Whoops.

gsed -E -i -e 's/^\s(\s\s)*/& /g' src/**/*.*

Per the SO link, x(xx)* will match odd numbers of x.

It works.


Dwerja Bay, Gozo

in malta

I’m missing Malta today. :( Hope to go back for a week in September.

Dwerja Bay, Gozo

Slidescan Panorama of Dollymount Strand

in ireland

Taken on my way home from work in the rain last Wednesday. The effect came out great.

Slidescan panorama of Dollymount Strand, Dublin

Baily Lighthouse and the Irish Sea

in ireland

The new workplace in all its summer glory. :)

Panorama of Baily Lighthouse and the Irish Sea

Withered Galway Skies

in ireland

The two of us sat there hour with coffee as the storm bit by bit consumed the world.

Storm clouds over Galway Bay