Compare commits
2 Commits
94ae73d448
...
5a30a4e6ba
Author | SHA1 | Date |
---|---|---|
Neale Pickett | 5a30a4e6ba | |
Neale Pickett | 2347dc73c5 |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 434 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
@ -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.
|
||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
|
@ -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
|
||||
---
|
||||
|
|