Skip to content

Instantly share code, notes, and snippets.

View kaapstorm's full-sized avatar

Norman Hooper kaapstorm

  • Dimagi, Inc.
  • Edinburgh, Scotland
View GitHub Profile
#!/usr/bin/env python3
import sys
from collections import Counter
num_to_word = {
3: 'three',
4: 'four',
5: 'five',
6: 'six',
AIDS Acquired Immuno-Deficiency Syndrome
ADR Adverse Drug Reactions
ANM Auxiliary Nurse Midwife
ART antiretroviral therapy
ARTI Annual Risk of Tuberculous Infection
ASHA Accredited Social Health Activist
AWW Anganwadi Worker
ATP Advanced Tour Program
BPHC Block Primary Health Centre
CBNAAT Cartridge-based nucleic acid amplification test

An Open Letter To My Children

I'm writing this to you because, although neither of you are thinking about this question yet, it is on my mind at the moment. And one day you will think about it, I hope, and then you will have this.

Recently I realised that smarter people than me think that this question has no answer. I think it has, and I feel that it's important. So this letter isn't just for you. It's for anyone who needs it.

@kaapstorm
kaapstorm / gpu_passthrough_on_saitama.rst
Last active January 17, 2021 10:13
How to configure GPU passthrough on saitama

GPU Passthrough on saitama

Preamble

saitama has an AMD socket AM4 B350 motherboard. It does not have an integrated graphics device. It has two NVIDIA cards plugged into PCIe ports. The worse of the two cards is in the first port, making it the primary card. The better is in the fourth port. As a result the better

@kaapstorm
kaapstorm / gpu_passthrough_on_trillian.rst
Last active November 5, 2023 20:34
How to configure GPU passthrough, specifically for my desktop machine, trillian

GPU Passthrough on trillian

Prepare the host

Configure primary GPU

Check that the integrated GPU is the primary GPU.

@kaapstorm
kaapstorm / fbworkon
Last active May 15, 2019 10:25
Set your current FogBugz case from the command line
#!/usr/bin/env python3
from datetime import datetime
import os
import re
import sys
import requests
import yaml
RC_FILENAME = '~/.fbworkonrc'