Blog

Configuring nginx to gzip static files

April 08, 2021


When using dokku the static files (css, js, etc..) are typically served by nginx but by default

Read more

How to prevent ssh client from timing out

March 29, 2021


SSH drops idle connections after 30 seconds or something with the error client_loop: send disconnect: Broken pipe. Here's how to fix that...

Read more

Can an old laser mouse be used as an encoder

February 07, 2021


High resolution encoders are expensive... old computer mice are dirt cheap.

Read more

Installing arm embedded toolchain on ubuntu 20.04

January 22, 2021


Previously you could install and update the toolchain for arm cortex R and M cpu's using apt by just adding the ppa and doing a normal apt install, but that ended for whatever reason.

Read more

TemplateDoesNotExist with django form field

December 16, 2020


Django ignores your template settings by default when rendering forms.

Read more

Linux kernel fails to update

November 18, 2020


Every once in a while a linux kernel update will fail to install with an error like update-initramfs: failed for /boot/initrd.img...

Read more

CNC Control from Arduino to Zig

November 10, 2020


Originally my engraver used a Teensy 3.2 and Arudino but now it uses an Stm32 and Zig!

Read more

GE GSS22SGMD BS Refrigerator fix

November 05, 2020


My dad got a fridge that didn't work... the compressor wasn't running.

Read more

Samsung 32 TV Power supply repair

November 05, 2020


Short post on a 32" Samsung TV power supply fix.

Read more

Why doesn't GPIOG work on the STM32L5?

October 29, 2020


The NUCELO-L552ZE-Q board wires it's LPUART1 pins GP7 and GP8 on PORTG to the debugger VCP...

Read more