I was messing around with swapping the Caps Lock key and the Escape key, and this in combination with using the Colemak keyboard layout ended up causing some confusion.

Anyway it turns out to reset any options you may have set with setxkbmap it’s not as simple as just running setxkbmap gb. Instead, the solution for me was to run setxkbmap -option ''. Not very intuitive, but there you go.

I tried to dance but lost my nerve

I cramped up in the learning curve launched

Launched a simple project I did for college as a website.

Irish Tide Times

Get the tide times for Ireland by text.

It’s done with Django.

Might later expand it offer a JSON API.

fiji water

They now have my favourite water in the shop near college.

Fiji water

cool new flask

the box

the flask

qutebrowser lightning talk

qutebrowser and newsbeuter

I have been playing around with a promising new browser called Qutebrowser since the demise of dwb

I had a problem with newsbeuter with opening links using qutebrowser (it was holding up newsbeuter). The workaround was the following script:

# wrapper for newsbeuter

exec ~/src/qutebrowser/ "$*" > /dev/null 2>&1 &

(don’t forget to make it executable)

And then use this in ~/.newsbeuter.config:

browser "~/src/qutebrowser_wrapper :'open -t %u'"

Wacom tablet scrolling in linux

I got a Wacom Intuos tablet and was having trouble using it for general scrolling - eg. using a web browser. Couldn’t figure out how to map the lower button to scrolling, the way it is with the middle mouse button on my thinkpad.

The solution, for anyone who has the same issue, was easystroke. I’d say the solution is similiar for Bamboo and Touch Wacom tablets.

Install easystroke (I’m using Ubuntu 14.04 and it’s in the repos).

Click the preferences tab and then the button labelled ‘Gesture button’. In the window check ‘instant gestures’ and in the grey box click the lower button on your stylus pen.

Then in the actions tab add an action and choose type ‘scroll’. Then click ‘Record stroke’ and click in the lower button on the stylus again.

Clicking in the lower button and moving the stylus should scroll now. YMMV. But if you’re having trouble making your Wacom tablet work the way you want, try easystroke. You may also wish to go to the Advanced tab turn off the annoying notifications on gesture activation.

Links to recipes

Shepherd’s Pie with spiced parsnip mash

Ottolenghi’s shakshuka recipe

Paleo Fish and Chips

Sirloin Salad with Fresh Herbs and Thai Dressing

Thai Fish Soup

Perfect Chicken Tikka

Crab with Mango and Avocado

Roasted Chicken

Perfect roasted chicken

Slow-roasted chicken


Sweet Potato Pancakes

Paleo Pumpkin Pancakes

Fluffy Coconut Flour Pancakes


Chicken Liver Pate Recipe


Coconut Granola

Chia Seed Energy Bars


Got a Chromecast as a Christmas present and finding it really handy.

Especially so after the discovery of castnow which lets you stream anything to the chromecast from the command line.

What really won me over was the option –subtitles </local/path/to/>

How cool is that?

older posts