I hereby claim:
- I am dmuth on github.
- I am dmuth (https://keybase.io/dmuth) on keybase.
- I have a public key ASA3KPZ_mYWvzsYrN2KCqpRjY30CPUy1ZCuc_3CWhB1yIwo
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Dump our files to the screen for copying into the Clipboard and getting into ChatGPT | |
| # | |
| # Errors are fatal | |
| set -e | |
| if test ! "$1" | |
| then |
| {{/* | |
| I'm using Hugo to build the front end for https://github.com/dmuth/peco-outage-status | |
| As part of that effort, I'd like to be able to have separate Javascript files thare combined into | |
| a single Javascript file when I build the site. | |
| The good news is that the Concat function in Hugo lets me do this. The bad news is that the key | |
| is the filename, and the contents are cached. This does not lend itself well to rapid development. | |
| So the trick was to create a filename based on the date so that each time a file is edited and Hugo | |
| re-processes its files, a new filename is generated, which results in a cache miss in Concat, |
| #!/bin/bash | |
| # | |
| # This script is to test specific Autobahn jumphosts. | |
| # | |
| # Errors are fatal | |
| set -e | |
| #set -x # Debugging | |
| #!/bin/bash | |
| # | |
| # This script is to test specific Autobahn jumphosts. | |
| # | |
| # Errors are fatal | |
| set -e | |
| # |
| #!/bin/bash | |
| # | |
| # This script will convert JPG and PNG files to HEIC format recursively. | |
| # | |
| # Errors are fatal | |
| set -e | |
| GO="" | |
| DELETE="" |
| #!/bin/bash | |
| # | |
| # This script should run in a multipass VM. | |
| # Take the hosts file that was written at creation and append it to /etc/hosts. | |
| # This way, the hosts that we created can talk to each other by hostname. | |
| # | |
| # Errors are fatal | |
| set -e |
| #!/usr/bin/env python3 | |
| # | |
| # This script will mimic tail -f functionality in Python. | |
| # It will correctly handle files that haven't been created yet, as well as files that are removed. | |
| # | |
| # It is based heavily on an example I found at: | |
| # https://newbedev.com/how-can-i-tail-a-log-file-in-python | |
| # | |
| # However, I did some optimization. :-) | |
| # |
| #!/bin/bash | |
| # | |
| # Download a copy of a website, with (hopefully) working links, | |
| # and tar it up to a single file. | |
| # | |
| # Errors are fatal | |
| set -e |
| #!/bin/bash | |
| # | |
| # Download a copy of Anthrocon's website, with (hopefully) working links, | |
| # and tar it up to a single file. | |
| # | |
| # Errors are fatal | |
| set -e |
I hereby claim:
To claim this, I am signing this object: