I hereby claim:
- I am needcaffeine on github.
- I am needcaffeine (https://keybase.io/needcaffeine) on keybase.
- I have a public key ASAYC8GDyVFPNlkna2sGoVa5bzrWH51RH376npmiLihgrAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # given a bunch of folders which are years, and contents which are files of the form YYYY-mm-dd - name - $1234.56, | |
| # this script returns a sum of totals by year | |
| import os | |
| totals = {} | |
| for year in os.listdir('.'): | |
| if os.path.isdir(year) and not year.startswith('.'): | |
| total = 0 |
| ######################### | |
| # Base image | |
| ######################### | |
| FROM node:bookworm-slim AS base | |
| WORKDIR /site | |
| # Install latest security upgrades, and crucial runtimes. | |
| RUN apt-get update \ | |
| && apt-get upgrade -y \ | |
| && apt-get install -y \ |