How to get code coverage using zig and kcov

May 15, 2020

Here's a short post on how to get code coverage with zig using codecov on travis CI.

Read more

Using zig and the STM32H7 to drive stepper motors

May 09, 2020

Finally got stepper motors working with the STM32H7 and DRV8825 using ziglang!

Read more

Find where C/C++ headers are in Linux

April 17, 2020

Here's a tip on how to find the correct path for setting the include directory.

Read more

Testing a Zig project with Travis-CI

April 01, 2020

It's really easy to test a Zig project with travis-ci.

Read more

Fix Virtualbox Guru Meditation Error

March 31, 2020

I was recently getting "Guru Meditation" errors with Virtualbox errors when attempting to start a VM...

Read more

Conda interfering with system libraries

January 29, 2020

Every now and then I get very strange errors saying libraries are not found when they are when attempting to build a project.

Read more

Attaching to STM32 with OpenOCD during sleep

January 10, 2020

mbed-os uses sleep to save power. This is nice except when the debugger won't attach. So here's how to force it.

Read more

How to disable STLink Nucleo boards mounting as USB mass-storage devices

December 27, 2019

ST's STM32 Nucleo dev boards show up as a mass storage device on ubuntu by default. This is annoying and messes up flashing, so here's how to disable it. This should work for ST-LINK v1 - v3

Read more

Running elasticsearch 2.3.5 on OpenJDK 11

October 23, 2019

Elasticsearch 2.3.5 wouldn't start on ubuntu because of an "Unrecognized VM option 'UseParNewGC'". Here's how I "fixed" it.

Read more

Migrating to a custom user model mid-project in Django 2.2

October 23, 2019

I had to migrate user models to a custom model on Django 2.2 and all of the answers I found required wiping tables or resetting them and re-applying migrations.

Read more