I hereby claim:
- I am norm on github.
- I am norm (https://keybase.io/norm) on keybase.
- I have a public key ASAfZSok464Vju0rflItgBmGgQ5aG9eKTnElzXR4daE3Cwo
To claim this, I am signing this object:
| #!/usr/bin/env -S bash -euo pipefail | |
| base_dir="${OBSIDIAN_BASE_DIR:-$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents}" | |
| vault="${OBSIDIAN_DND_VAULT:-dnd}" | |
| items_dir='magic-items' | |
| working_dir='' | |
| type='' | |
| num_match=0 | |
| rarity='' | |
| source='' |
| from textwrap import dedent | |
| BILLS = dedent(""" | |
| 50 padding | |
| 32.00 O2 | |
| 100.00 charities | |
| 15.00 medicines, supplements | |
| 5 Monzo Plus |
| diff --git a/main.c b/main.c | |
| index 5c4b701..20adfd5 100644 | |
| --- a/main.c | |
| +++ b/main.c | |
| @@ -384,7 +384,7 @@ static void callback(long inpos, int function){ | |
| static int slast=0; | |
| static int stimeout=0; | |
| static int cacheerr=0; | |
| - char *smilie="= :-)"; | |
| + char *smilie=":-)"; |
| files=($(find source -name \*.toml)) | |
| for file in "${files[@]}"; do | |
| gif=$(echo $file | sed -e 's/toml$/gif/') | |
| if ! grep -q info.filesize $file; then | |
| echo "++ $file" | |
| sed -i '' -e 's/^"""/"""\n\ninfo.colours = ""\ninfo.filesize = ""\ninfo.frames = ""\ninfo.size = ""\ninfo.time = ""/' $file | |
| ./script/gif_info $gif $file | |
| fi | |
| done |
I hereby claim:
To claim this, I am signing this object:
| A great dessert if you are a fan of coconut. |
| #!/bin/bash | |
| adjectives=( | |
| aged autumn | |
| billowing bitter black blue bold broken | |
| cold cool crimson | |
| damp dark dawn delicate divine dry | |
| empty | |
| falling floral fragrant frosty | |
| green |
| #!/bin/bash | |
| set -e -o pipefail | |
| case "$1" in | |
| plan) | |
| terraform plan -out planfile | |
| ;; | |
| apply) |
First things first — I've had RSI and incessant pain before, and I don't want it again. There are many instances of keyboard break software, but the one I use is AntiRSI. It's available from the Mac App Store for a fiver, and its worth every penny to me. If you prefer free, an older version is still available. I enforce it always being running (but with the ability to turn it off when playing games) with a script I run from cron.
I use LaunchBar for more things than I can count. A Mac just doesn't seem to work right until I've got LaunchBar working.
| #!/bin/sh | |
| /bin/df -h "$@" 2>/dev/null | perl -e ' | |
| $prefix = <>; | |
| $longest_fs = 20; | |
| while ( <> ) { | |
| m{ | |
| ^ | |
| ( [\S+\s]+? ) \s+ # Filesystem |