2688e4e339
Add a deployment command group to the website script
...
This group has one command so far: next-tag. It looks at the git tag list and
figured out the next deployment tag. For the most part tags are named like so:
deploy-%Y-%m-%d-NN
The middle segments are year-month-day, and the last segment is an incrementing
counter. For the most part this number will be 01. On days when I deploy more than
once, it will increment.
2025-08-29 08:59:03 -06:00
9633b85411
Move photos content path in new-photo-post script to erynwells_me module
2025-08-28 07:37:05 -06:00
6db1174a21
scripts: Include os.path as osp in new-photo-post
2025-01-01 10:46:53 -08:00
22dbdceab3
scripts: Return the result of calling the args handler
2025-01-01 10:46:14 -08:00
b9796ab096
When editing weeknotes with the website script, create the page from the Hugo archetype and process it
...
This implements what the Makefile did, but with a more intuitive interface.
Remove the weeknotes target from the Makefile.
2024-12-10 12:16:23 -08:00
a9f52aad98
Rework a bunch of scripts into a single website script
2024-11-18 14:59:43 -08:00
b7fb364862
Meta: Avoid an IndexError with .get() instead of indexing in the weeknotes script
...
Replace indexing into the os.environ dictionary with a .get() call (and a default)
to avoid an IndexError
2024-11-18 08:05:22 -08:00
2d6912aed2
Add a --edit argument to the new-photo-post script
2024-11-17 14:51:39 -08:00
9ce6362402
Meta: Port several things common to various Python scripts to a new website module
2024-11-17 14:49:33 -08:00
d87438bf6a
Add a few characters to the list of ones to strip out of strings when slugifying a title
2024-11-07 09:18:12 -08:00
0cef7a7903
Fix up the new-photo-post script
...
Make the script a little more resilient. Print out some EXIF data that the template
will use when generating the page.
Update the photostream submodule commit.
Remove the unused photo_exif_table.html partial.
2024-11-04 08:37:56 -08:00
9b682a5d96
Remove the .py extension from the new-photo-post script
2024-10-31 08:05:00 -07:00
bee8800070
Replace the next_sunday.py script with a more comprehensive weeknotes script
2024-06-10 13:18:21 -07:00
7843ee9cdd
Write a new script to calculate next Sunday's date
2024-06-03 07:55:36 -07:00
a4a0561bc8
In new-photo-post.py, continue instead of pass when opening an image fails
2023-11-20 11:54:41 -08:00
1e851f7061
Fix two issues in new-photo-post.py
...
- Strip typographic quotes from input to slugify()
- Fall back on a floating timestamp if no timezone is given
2023-07-13 07:48:46 -07:00
29c402c3ec
Add a slug argument to the new-photo-post script
2023-04-23 22:10:04 +09:00
a2653e185c
For new photo posts use YYYY/name if possible, and fall back on YYYY/MM/name if not
2023-03-04 10:25:04 -08:00
c6531e618d
Format month photo path component with a leading 0
2023-01-29 16:28:35 -08:00
2a4838e8a3
Max level in the Nethack logfile is actually the max dungeon level, not the max character level
2022-12-05 08:14:39 -08:00
b423f89809
Move new photo script to ./scripts/new-photo-post.py
2022-11-28 16:56:05 -08:00
0ca9cf45c9
Import recent Nethack games; add Dwarf to the import script
2022-11-28 16:48:58 -08:00
2011ccdd78
Add Male entry to GENDERS in nethack import script
2022-11-24 08:25:30 -05:00
9e11021ae3
Update import nethack logfile script
...
- Add a few roles to the ROLES mapping
- Check if the logfile changed before writing it (avoid updating the timestamp
if no changes were made)
2022-11-20 10:01:07 -08:00
8a939f5b45
Update import-nethack-logfile script
2022-04-24 17:08:21 -07:00
a5a226a5b3
Reformat the logfile
2022-04-16 18:20:59 +00:00
d42b83698a
Wrap records array in a dictionary
2022-04-13 09:01:24 -07:00
16d5d9bee9
Add additional roles and races I've played on nutmeg
2022-04-13 15:37:34 +00:00
5ecd480f98
Add script to import a Nethack logfile
2022-04-13 08:34:34 -07:00