Whitebait, Kleftiko, Ekmek Special

Not in fact any relation to the famous large Greek meal of the same name.

Tuesday, 4 December 2018

A rebasing vendor-branch workflow for Git

›
An earlier post laid out a neat way of managing third-party code, in a subdirectory of a larger Git repository, as a vendor branch. Here at...
Friday, 14 September 2018

Enable and disable methods are an anti-pattern

›
Here's a C++ API for an abstracted I2C master peripheral, such as might be found on a microcontroller – an API which I inven...
Wednesday, 13 April 2016

How to create an SSH-only shell account in Ubuntu

›
Because I keep forgetting. $ sudo adduser --gecos 'Fred Smith' -p '*' fred $ cd /home/fred $ sudo mkdir .ssh $ sudo cp ~/f...
Tuesday, 25 August 2015

C++: Deduced templates are smarter than explicit templates

›
Suppose you’re writing a C++ class that encapsulates the idea of a callback , a routine that’s invoked when an asynchronous operation compl...
Friday, 19 December 2014

Optimising Squirrel for speed

›
TL;DR: avoiding slow Squirrel constructs in favour of faster ones, makes this program run four times faster. Electric Imp’s little embed...
Monday, 15 December 2014

Help, my X clipboard is broken

›
Whenever I drag-select anything in xterm, the selection immediately gets cleared. Similarly in XEmacs, even when using shift and arrow-keys ...
Wednesday, 22 October 2014

Software Practices At Electric Imp

›
This post is an elaboration of a discussion held at Electric Imp’s headquarters in October 2013, where we ran through a collection of softwa...
‹
›
Home
View web version

About Me

Peter Hartley
Cambridge, United Kingdom
Waits for audience applause ... not a sossinge.
View my complete profile
Powered by Blogger.