From 4cffabec06d0c82eb4f4ff5d082944bf80f29832 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Fri, 5 Nov 2021 00:57:25 -0400 Subject: [PATCH] gopher: Add a dump of site-code to the hole I'm really proud of `notetag` and want to share it asap (before setting up stagit-gopher) :) So here's a hacky way to share it! --- gopher/Makefile | 7 +++++++ gopher/code/gophermap | 21 +++++++++++++++++++++ gopher/gophermap | 14 +++++++------- 3 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 gopher/code/gophermap diff --git a/gopher/Makefile b/gopher/Makefile index b8574e1..c1905ec 100644 --- a/gopher/Makefile +++ b/gopher/Makefile @@ -3,6 +3,11 @@ FILES = about.txt \ gophermap \ phlog.txt +CODE = bin/notetag \ + LICENSE \ + Makefile \ + code/gophermap + .PHONY: build build: cd notes && ../bin/notetag > gophermap @@ -10,9 +15,11 @@ build: .PHONY: install install: build mkdir -p /var/gopher/notes + mkdir -p /var/gopher/code install -m 444 $(FILES) /var/gopher for tag in notes/*/; do \ mkdir -p /var/gopher/$$tag; \ install -m 444 $$tag/* /var/gopher/$$tag; \ done install -m 444 notes/gophermap /var/gopher/notes + install -m 444 $(CODE) /var/gopher/code diff --git a/gopher/code/gophermap b/gopher/code/gophermap new file mode 100644 index 0000000..5eeddf0 --- /dev/null +++ b/gopher/code/gophermap @@ -0,0 +1,21 @@ + __ + /\ \ + ___ ___ \_\ \ __ + /'___\ / __`\ /'_` \ /'__`\ +/\ \__//\ \L\ \/\ \L\ \/\ __/ +\ \____\ \____/\ \___,_\ \____\ + \/____/\/___/ \/__,_ /\/____/ + + for this gopherhole + + +I publish all my git repos on the WWW at: + +h https://git.alexkarle.com URL:https://git.alexkarle.com + +And I plan to set up stagit-gopher so I can mirror +here as well. However, for now you're stuck with +a lowsy plaintext dump of the code used to build +this site :) + +* diff --git a/gopher/gophermap b/gopher/gophermap index 135d87d..6702f42 100644 --- a/gopher/gophermap +++ b/gopher/gophermap @@ -12,13 +12,13 @@ 1 | | jam setlists /jam-tuesday 1 |.| tech notes /notes 0 | | phlog (gopher exclusive!) /phlog.txt - |.| . - |-| |` - . | | __ o' . - ! \ | | .^ | | |` - \ .'| |`' / o' o' o' - . ( - ) === . +1 |.| gopherhole code /code + |-| + . | | . + ! \ | | .^ |` + \ .'| |`' / __ o' . + . ( | | |` + ) === . o' o' o' ; ) ( ... ; . . -- libgit2 1.1.1