Killiney Hill

Show untracked git files

This has been a real lifesaver at work. untracked = !git ls-files -o --exclude-standard

Bull Island

Eadaoin got us out of the house this morning for a walk through Saint Anne’s park in Clontarf and across North Bull Island. Gorgeous day, showers aside!

Typewriter sort returns!

I am revisiting 2014’s Typewriter Permutation Simulator. Now powered by Node.js, because I want to learn more JavaScript. I have a healthy start made for a web-based performant bogosorter. var args = process.argv.slice(2); var permute = function() { var letters = this.split(''), count = letters.length; while (--count > 0) { var rand = Math.floor(Math.random() * […]

If recruiters worked in bookshops…

Spotted this afternoon in Hodges Figgis.

Nonstop 5k run!

In January I got sick of being fat. All around me, clear to see, were middle-aged (45-60) year old people who didn’t take care of themselves. Most of my ex-wife’s family struggle with being overweight; diabetes is ubiquitous and even my ex-wife is seriously obese. My dad died of an asthma attack at 63 which […]

Bash spaceship function

I have no idea why this spaceship comparison is important, but a note in the file marked it so, and now here we are. #!/usr/bin/env zsh spaceship() { if [[ $1 -lt $2 ]]; then echo -1 elif [[ $1 -eq $2 ]]; then echo 0 else echo 1 fi } spaceship $1 $2

We did it Reddit!

NPM exploded last week. The Listos version is that Kik were not happy with a developer, azer. azer had a package in NPM named ‘kik’. Kik, compelled their trademark, first reached out to azer to ask him to rename or remove his package. azer cursed out Kik, so the company escalated the matter to NPM […]

My Ireland at 100

The Irish Republic turned 100 today and Dublin hosted a huge parade today at the culmination of events centered on the 1916 Easter Rising. The city and country turned out in pride and today was the day to be Irish.

Caira and Garrett, Easter 2016

Saturday out

Alanna and Casey came down last night. What a night it was! We had coffee in Clement & Pekoe, sushi and ramen next door in Kokoro and a round of pints at the Brew Dock. Then we went back to Dundrum for homebrewed mead on the couch. On Talbot Street saw two scumbags fighting (or […]

Eadaoin’s birthday debauchery

Eadaoin’s birthday weekend was Roman in its decadence, with high tea served at the resplendent Powerscourt Hotel in Enniskerry on Saturday, and a three-course feast of Mexican food consumed on Sunday.

Have the greenest of days

I used to be a remorseless asshole when it came to the Irish diaspora because of the amount of dipshit hyphenated Americans who flouted their misunderstood past. To me you were either Irish, or you were whatever else. Never could you be both together. Great example: two ladies I knew at Expedia, one named O’Shaughnessy, […]

Mandatory vim porn

I fixed a bunch of crap (Powerline font display, mostly). Go check it out!

Eadaoin’s birthday dinner was deep

It started right off with explanations of arrays and hash tables.

Thanks Gar

Garrett has figured out that he can call me whenever, and now does so at 1am. Thanks, kiddo.

Snow day

…and I’m sick as shit. Eadaoin woke me up at about six am because there was a heavy snowfall. I, sick, proposed a walk around the neighborhood, which we promptly undertook. I got soaked, came home, emailed work to let them know I wouldn’t be in and then fell asleep until about one o’clock this […]

Joanna Newsom!

Joanna Newsom performed at a series of concerts in Dublin’s Olympia Theatre this week past. Eadaoin adores Newton’s music with a fervour that brooks no dissent and encourages discussion of lyrics. So there was a concert and Eadaoin kept an eye out for tickets on Twitter. Eadaoin jumped at two which came up for sale […]

vim clipboard one-liners

Yank and replace all lines in a file without consuming the clipboard. " Quickly yank all lines in the file. nmap <leader>yy :%y+<cr> " Replace all lines in the file with the contents of the clipboard. nmap <silent><leader>rp gg"_dGVp

So now I have to fucking type again anways

I bought a mechanical keyboard: the Vortex POK3R/Poker 3 keyboard. I mean, I sit at a desk and type six hours per day, five or six days out of any seven. A keyboard is my tool as much as a plumber uses a wrench, and my work-provided Magic Keyboard it shit. It controls the Mac […]

I was ordered to write

From on high an order has given unto me: I need to blog more. Okay, sure, fine, whatever. Here we are. Most of the real meaty content on this blog came out of my personal pain. A few years ago, shit blew up on me, I had a breakdown, and I poured it out here. […]


zshell: cp the last file in a given directory

It’s come in useful for some small tasks. cp-last() { if [[ -d "$1" ]]; then echo "cd: ${1}: Not a directory" exit 1 fi cp "${1}/$(ls -A1t $1 | head -n 1)" "${2}" }

In Temple Bar

Caira and Garrett, February 2016

vim FIXME keybind

I’m onna roll, rite? This inserts a dated (format YYYY-MM-DD) FIXME comment into the above line. nmap <leader>fm :exe ':normal O# FIXME ' . strftime('%Y-%m-%d') . ': '<CR>i

vim colourcolumn shorthand function

While there’s probably an efficient, pithy, three-character, way to accomplish this, this works for me: If arguments are passed, take in the first. Coerce it to a number and set colorcolumn with it. There are some things I want to try (like ranges), but that’s for the future. function! RightRuler(...) let &l:colorcolumn = a:0 > […]

Valentine’s day 2016

Bought champagne. Didn’t have a fucking bottle opener. Kill me.

Dublin, early February 2016


Here’s a queer sight for you: nacreous clouds over Dublin and the rest of the British Isles caused by winter storm Henry. It was a rare and resplendent occasion that I duly celebrated through the time-honoured act of gaping.