Sam Hooke

Collecting Netlify Analytics data with Python

Decimal error when upgrading from Django 3.1 to Django 3.2

Setting up CMocka with CMake for Linux and Windows

Porting a simple SDL2 game to Emscripten

Setting up Emscripten with CMake on Linux

Setting up Emscripten with CMake in Git Bash on Windows 10

Network adapter disappears after reboot

A portable timegm alternative

Fixing apt-key deprecation on Debian stretch for Dropbox, Sublime Text, NodeJS and Sublime Text

The Important Files: Part 7

Docker build invalid reference format

nmcli tips

Workaround for installing Dropbox on Debian with libpango transitional package

Running inkscape_merge against Inkscape v1.0

Sonic Pi on Debian

mypy tips

SSH tips

mypy and verbose logging

Researching generating playing cards from an SVG template using Inkscape

Migrating from Tastypie to Django REST Framework

Configure Python package to install dependencies only for specific combinations of Python version and platform

Python click: allow user to retry input upon validation failure

Call Python script from pylint init-hook

Python DEPRECATION warning and pip --no-cache-dir breakage

libusb usb_open error -4

Troubleshooting wifi driver crashing (part 4)

Making Visio 2016 Usable

Troubleshooting wifi driver crashing (part 3)

Troubleshooting wifi driver crashing (part 2)

Install Hugo testing distribution on Debian

Debian center window keyboard shortcut

Troubleshooting wifi driver crashing (part 1)

Bootstrapping pip

Invalid handle error from Coverage inside Tox

Run Django makemigrations as tox task

New dependency font(:lang-en) required by fontconfig-2.10.95-11

Installing rpms offline using a local yum repository

The Important Files: Part 6

The Important Files: Part 5

The Important Files: Part 4

How to reload Ethernet udev rules without reboot

Modify bash history

Freeing up disk space on Arch Linux

The Important Files: Part 3

The Important Files: Part 2

Calling iPerf3 from Python

The Important Files: Part 1

Debugging a Python process not terminating due to active threads

Lint Bash on Windows

Convert Emacs org files to markdown

Emacs package managers

Make temporary network changes permanent under CentOS 7

Lightweight Python SIP library

Removing unused COM ports from Windows

Attach shell to running Python process

Hugo 0.37 does not support h6 markdown heading

Bind hugo to localhost for development

Calling MPSSE over FTDI from Python on CentOS 7

Hugo tag and category pages

Calling C from Python

Building against `libusb`

Get errno from Python requests `ConnectionError`

Python logging: %s vs format

Escaping Hugo shortcodes within Hugo markdown

Automatic image thumbnails in Hugo from static directory

Captured `SystemExit` with pytest and tox

Tastypie "TypeError of type 'NoneType' is not iterable"

Using a non-pk as a foreign key in a Tastypie endpoint

pytest and functools decorator

normalize-scss with hugo

Automating hugo development with npm scripts

RabbitMQ handshake timeout caused by hostname change

Kombu "timed out" bug: connection hangs forever in Kombu 4.1.0

Debugging RabbitMQ

Using a different port with Fabric

CentOS 7 firewalld

These are rough notes from whatever I was working on, interested in or thinking about at the time. They vary greatly in quality and length, but prove useful to me, and hopefully to you too!