Skip to main content

How to migrate from qcow2/raw to iSCSI with KVM/QEMU

I recently had to migrate a number of VMs currently running on an NFS share to an iSCSI target. During my research, I was surprised how little documentation there was around this, so I decided to whip up this quick little piece about how to do it. Here are the steps: Create a new iSCSI target (one per VM/image you’re migrating). This step varies depending on …

Read More

How to fix kernel_task CPU usage on El Capitan

Sometime ago, I wrote the blog post How to fix kernel_task CPU usage on Yosemite. This post still receives a great amount of traction, so I wanted to post an update that reflects the covers how to do this on El Capitan. The process is largely the same, but requires a bit more work due to the changes to the additional security that El Capitan introduced to …

Read More

Using Ansible with Google Cloud Platform (the easy way)

For some time, Ansible has been my configuration management of choice and we use it for both Screenly and YippieMove. Since both of these services are running on Google Compute Engine, we’re using Ansible’s dynamic inventory for GCE. (Behind the scenes, this dynamic inventory is using Apache Libcloud, which is a great Python library for interacting with …

Read More

How to find a network device when using Internet Sharing on Mac OS X

The built-in Internet Sharing in OS X is very handy. When I’m on the road, I frequently use this to share my laptops WiFi connection with other devices over a wired connection (such as a Raspberry Pi, when I work on Screenly). If you’re connecting some kind of headless device, you will likely want to connect to this device over SSH or similar. The only …

Read More

Quickly navigate folders in your shell with `ccd`

I’m a huge fan of autojump. It allows me to quickly navigate my filesystem in ways without having to type out every folder. There is however one task that I frequently that I wanted to make more efficient: create a new folder and then jump into said folder. Normally, this would simply be: $ mkdir foo $ cd foo This feels somewhat inefficient, so I wrote a …

Read More

Introducing NatPass

After moving to London, I decided to go with NatWest as my bank. While it was a good experience at large, their online banking leavs a lot to be desired. Not only do they lack things like Two-Factor Authenciation (2FA), but they also have this really frustrating login system. Well, today I had enough and whipped up a CLI tool that allows you to generate the …

Read More

A case study in failed UX/UI  (aka DSC please get your shit together)

Dear Digital Security Controls (DSC), I recently purchased your T-link extension (IP module) for two alarm systems that I wanted to be able to remotely manage. After a few hours of troubleshooting (read: having to install Windows XP), I am now able to connect to these alarm systems over a VPN connection, but that’s about it. Please take a look at this …

Read More