Algorithms: 1. FizzBuzz

Introduction#

Go is a language I have only recently learnt, and so I decided, for practice, to write some of the standard algorithms and data structures in Go. None of these are particular new, all of them can be found on the web already, but the exercise …

Vim/Nvim Setup

When I first started working my tutor insisted we use vi. His reasoning was that vi was the only editor we were guaranteed to find on all various versions of UNIX. After 6 weeks of fighting with it, the keystrokes started to leak into my muscle memory and …

Developers and Dark Colour Schemes

Recently at our office our small development team moved from downstairs to upstairs.The upstairs has some skylights so the amount of glare is significantly higher and all of us were complaining about it. What I found fascinating though was the fact that …

Ghost Local Mail Setup

All of my servers use a local copy of exim to forward mail to my mail server so that any messages generated out of cron etc. are forwarded to me for checking. By default the blogging platform Ghost assumes you are going to send the emails it generates …

Setting Your Apt Proxy Depending on the Current Network

Before I changed over to using squid3 for my transparent proxy I was using apt-cacher-ng to proxy my debian and kubuntu repositories. The issue I had was that at work there was no apt-cacher-ng proxy, just a transparent squid proxy. Remembering to change …

Akonadi, Sqlite and Backups Part 2

There are various ways you can backup sqlite. One of the ways is to use the sqlite3 command line utility:

/usr/bin/sqlite3 ~/.local/share/akonadi/akonadi.db
SQLite version 3.8.6 2014-08-15 11:46:33
Enter ".help" for usage hints.
sqlite> .backup …

Akonadi, Sqlite and Backups Part 1

On both my home PC and work laptop I use kontact for my email, calendaring, etc. I didn’t want to use mysql for the underlying database (I don’t particular like it) so decided to use sqlite instead. Generally I have found this to work well, …

No Icons or Emoticons in Firefox or Pidgin

The other day I upgraded my laptop from Kubuntu 14.04 to 14.10 and after it had completed I found that I had no icons or emoticons in all my GTK applications - including Firefox and Pidgin. Eventually tracked it down to the fact that a particular cache …