Skip to content

Instantly share code, notes, and snippets.

View CharlesTBetz's full-sized avatar

Charles T. Betz CharlesTBetz

View GitHub Profile
@CharlesTBetz
CharlesTBetz / gist:c68e0bddd9217ebcc8a113649fc093b5
Last active July 30, 2019 18:12
Song for Britannia (Reap the Fruits)
I wrote this song in 1993, in response to a round of UK handwringing about its historical decline
(now laughably minor in contrast to Brexit.)
It has a bit of a reggae beat. If someone is interested I could share chords & melody.
Tears from across the sea
Cry the kingdom that used to be
Your sun is going down forevermore
Losing faith and losing heart
Traditions sacred torn apart
@CharlesTBetz
CharlesTBetz / phoenixStudy.adoc
Last active October 25, 2023 00:53
Phoenix Project discussion questions

Phoenix Project discussion questions

Trying gist as the channel here, rather than a full repo which seems too heavyweight (but I don’t want to roll these into an existing repo).

Will be updated as the semester progresses.

Note on syllabus. Phoenix Project works well as a semester long read, with 3 chapters per week, assuming 12 active class weeks (semesters are typically 14 weeks, including intro & final).

For full context, the primary text for this class (SEIS664, IT Delivery, Graduate Programs in Software at University of St. Thomas, Minnesota) is the Digital Practitioner Body of Knowledge (https://pubs.opengroup.org/dpbok/standard/DPBoK.html). The class is "flipped" and class sessions are primarily lab (not lecture), with a strong hands-on emphasis (Linux, containers, cloud, infracode, etc).

#!/bin/bash
# tightly coupled to current packer version, update as necessary
wget https://releases.hashicorp.com/packer/1.5.4/packer_1.5.4_linux_amd64.zip
unzip packer_1.5.4_linux_amd64.zip
mkdir -p ~/bin
mv -f packer ~/bin
rm packer_1.5.4_linux_amd64.zip
echo "either add ~/bin to your path or run as ~/bin/packer"
@CharlesTBetz
CharlesTBetz / gist:e93d48d96d379122f69f4d542d6dad8a
Last active March 14, 2021 17:29
Rich chocolate noatmeal - cronometer import
{"owner":2558354,"labelType":"AMERICAN","foodTags":[],"source":"Custom","barcodes":[],"nutrients":[{"amount":5.229114710412028,"id":512},{"amount":9.402547374400811,"id":513},{"amount":23.27959639255386,"id":514},{"amount":39.57194881601386,"id":515},{"amount":9.722485672241818,"id":516},{"amount":9.410568433223327,"id":517},{"amount":50.0767886342655,"id":645},{"amount":98.904815625,"id":262},{"amount":10.94122089239885,"id":518},{"amount":95.27365202663367,"id":646},{"amount":0,"id":521},{"amount":19.327333920342472,"id":269},{"amount":3.8324180516801905,"id":401},{"amount":28.03171465228343,"id":10001},{"amount":67.1754645664578,"id":10002},{"amount":2.8102694113358666,"id":404},{"amount":2.2132856668337872,"id":405},{"amount":16.167941045832322,"id":406},{"amount":0.19592856937500003,"id":10007},{"amount":0,"id":10009},{"amount":1.7572615322474001,"id":410},{"amount":0.017360949375,"id":287},{"amount":2.2108149767580825,"id":415},{"amount":181.19697281208,"id":417},{"amount":0,"id":418},{"amount":93.84878