Tom McKeesick

tmck-code.github.io

my blog


20241210 Christmas Tree Lights with Arduino

And a 5V WS8211 LED string 🎄

20241128 Comparing Lists or Matrices

Functional approaches to compare sequences in Python

20240829 Using JQ with style

Colour/theme configuration for jq

20240828 Filtering Nones from a Python list

Functional approaches to filter out None items from a python list

20240411 Join and Coalesce in Pyspark

Join two dataframes and merge their columns

20240403 Allow flatpak to use secondary hard drives

Useful when sharing a steam installation

20240310 My Favourite Surf Maps

[Counter-Strike] A list of my favourite CS Surf maps

20240129 CS CFG tricks #1

[Counter-Strike] Execute multiple commands with a single keybind

20240126 CS Surf - Toggle all saveloc keybinds

Use one key to toggle all of your saveloc keybinds on and off

20231105 CS2 Surf

The configs that I use for CS2 surf, currently a WIP

20230919 Parsing BOMs in Python

How to detect/read/write UTF 8/16 BOMs

20230704 Jupyter Cell Wrappers

Adding decorator-style functionality to jupyter cells

20230605 PySpark Fu

Some non-trivial pyspark examples

20230406 Installing Github Copilot

The start of my journey with Github Copilot - installation!

20230322 Dictionary Paths

Accessing or modifying nested keys and values

20230311 Simplify with islice

Showcasing a very useful method from the itertools module

20220718 CSGO Surf

The configs that I use for CSGO surf, plus any other tips and tricks I can think of

20220703 FSTAB

A basic guide on creating /etc/fstab entries for automatically mounting secondary partitions at boot

20220610 awscli / boto3 snippets

Handy code & command snippets for AWS services

20220518 Minecraft

Minecraft for linux! Help, commands, mods etc. for both client & server.

20220511 Bash Practices

A few “good-practice” techniques that I’ve found over the years working with Bash

20220330 Convert PDF to PNG

A lifesaving feature I discovered in OSX

20220308 Fresh Python Repo

Roll-your-own basic python repository, complete with Dockerfile

20220306 Python Datetimes

Recipes for common datetime operations in Python (using the standard lib)

20200419 CSV

A multi part series on reading & writing CSV data, with code examples from multiple languages.