Compare commits

...

2 Commits

Author SHA1 Message Date
Neale Pickett 5a30a4e6ba typo 2023-09-25 17:26:03 -06:00
Neale Pickett 2347dc73c5 Reorganize blog by year 2023-09-25 17:23:49 -06:00
66 changed files with 11 additions and 9 deletions

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -39,11 +39,11 @@ I've been wearing that watch for a couple months now and it's no big deal.
It feels kind of silly writing about it.
But this is something a lot of people spend time and money thinking about in 2022!
---
Update: 2023-09-25
Update: 2023-Sep-25
---------------
Since switch jobs, I've been wearing a Casio F-91W. I got it for $7 about 10 years ago.
Since switching jobs, I've been wearing a Casio F-91W. I got it for $7 about 10 years ago.
It tells me the time, date, and weekday. It has an alarm, a stopwatch, and a barely-usable
light. It's been running on the battery it came with since I got it.

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

View File

@ -16,17 +16,19 @@ esac
SLUG="$1"
TITLE="${2:-$SLUG}"
DATE="$(date +%Y-%m-%d)"
YYYY="$(date +%Y)"
MM="$(date +%m)"
DD="$(date +%d)"
slug=$(echo "$SLUG" | tr 'A-Z ' 'a-z-')
dir="$DATE-$slug"
index=$dir/index.md
dir="$YYYY/$MM-$DD-$slug"
index="$dir/index.md"
mkdir $dir
cat <<EOD >$index
mkdir -p "$dir"
cat <<EOD >"$index"
---
title: $TITLE
date: $DATE
date: $YYYY-$MM-$DD
tags:
- untagged
---