Killall DD on OSX

Most of us will be familiar with the common watch -n5 “killall -USR1 dd” trick when doing a huge byte transfer using DD on Linux to check it’s progress. OSX is different (well, 10.10 is, ymmv with other releases), because why the hell not, and instead of the -USR1 signal, opts for the -SIGINFO signal. …

Pacman “signature is unknown trust” error

Are you getting errors like the below while trying to update your Arch-based system using Pacman? error: package_name: signature from “Person Name ” is unknown trust :: File /var/cache/pacman/pkg/package-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). You’re system is probably really, really out of date. Below is what I did to fix it: # …

Linux on Mac (that isn’t Ubuntu)

As previously mentioned, I’ve been wanting to try Arch Linux for a while, but have been dealing with setting up X Server plus a halfway decent window manager for a long while. I’ve also been using Ubuntu on my MacBook Pro, as it’s the only Linux distro I’ve found that runs on OSX’s fancy bastardisation …

My ZSH Prompt

Time for me show off some ZSH magic, specifically my prompt (because that’s the “in thing” these days) ec 0 15-01-27 9:28 me@server:~ % Kinda neat, the integer after the ‘ec’ is the exit code of the previous command, and the timestamp after is the current time. This means I can copy that line with …

A disposable system

I’ve increasingly become less and less precious about my OS system disk, now leaving all of my important files on a pair of external drives. Having an essentially disposable system, like anything, has advantages and disadvantages… The good stuff * I can jump between different operating systems at the drop of a hat without fear …

Help for Linux Newbies

Linux Help is a section of this site I’m dedicating purely to helping people who want to get into Linux, but have no idea on where to start. My first entry is about navigating a filesystem using the cd command. If you’re interested in using Linux or have started and don’t quite understand the command …

Vim sucks, except that it doesn’t

I’m far beyond the point of irritation now when I hear people say “Vim is too hard”, or “Vim sucks”. Really? Is it Vim that sucks or your complete lack of either desire or capability (both of which are inexcusable) to learn Vim that sucks. To anyone who says that Vim is too hard to …

PSA: Puppet Error 400

When you get this error- Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class MODULE_NAME for NODE.FQDN at /etc/puppet/manifests/sites.pp:XXX on node NODE.FQDN Don’t be silly like me and spend ages looking for an issue in a Puppet manifest file when there isn’t one… Instead, make sure that …

A Git server is what you need.

Version control is one of those things that everyone who has anything to do with code, no matter whether it be hacky and hold things together like sticky-tape and bubblegum or the most beautiful software to ever be seen by man, should know, or at least have a basic understanding of. I used Git as …