From 5a4a9297df4da8895154e2b6f8b62bcc10ddfd6d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 3 Apr 2024 00:06:36 +0300 Subject: Update content for gemtext --- gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi | 6 +++--- gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi.tpl | 6 +++--- gemfeed/atom.xml | 8 ++++---- index.gmi | 2 +- uptime-stats.gmi | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi index 6eb067c5..a8682a5c 100644 --- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi +++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi @@ -113,8 +113,8 @@ standby 300 IN AAAA 2a01:4f8:c17:20f1::42 ; Enable failover ``` ```sh -tramsform () { - sed -E ' +transform () { + sed -E ' /IN A .*; Enable failover/ { /^standby/! { s/^(.*) 300 IN A (.*) ; (.*)/\1 300 IN A '$(cat /var/nsd/run/master_a)' ; \3/; @@ -134,7 +134,7 @@ tramsform () { / ; serial/ { s/^( +) ([0-9]+) .*; (.*)/\1 '$(date +%s)' ; \3/; } - ' + ' } ``` diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi.tpl b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi.tpl index 5eb8b001..2f6ba9ea 100644 --- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi.tpl +++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi.tpl @@ -113,8 +113,8 @@ standby 300 IN AAAA 2a01:4f8:c17:20f1::42 ; Enable failover ``` ```sh -tramsform () { - sed -E ' +transform () { + sed -E ' /IN A .*; Enable failover/ { /^standby/! { s/^(.*) 300 IN A (.*) ; (.*)/\1 300 IN A '$(cat /var/nsd/run/master_a)' ; \3/; @@ -134,7 +134,7 @@ tramsform () { / ; serial/ { s/^( +) ([0-9]+) .*; (.*)/\1 '$(date +%s)' ; \3/; } - ' + ' } ``` diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 3259fa1a..8a206818 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2024-04-02T01:33:21+03:00 + 2024-04-03T00:06:22+03:00 foo.zone feed To be in the .zone! @@ -143,8 +143,8 @@ standby 300 IN AAAA 2a01: -
tramsform () {
-	sed -E '
+
transform () {
+  sed -E '
 	/IN A .*; Enable failover/ {
 	    /^standby/! {
 	        s/^(.*) 300 IN A (.*) ; (.*)/\1 300 IN A '$(cat /var/nsd/run/master_a)' ; \3/;
@@ -164,7 +164,7 @@ http://www.gnu.org/software/src-highlite -->
 	/ ; serial/ {
 	    s/^( +) ([0-9]+) .*; (.*)/\1 '$(date +%s)' ; \3/;
 	}
-	'
+  '
 }
 

diff --git a/index.gmi b/index.gmi index 7ad7ff8d..3051c805 100644 --- a/index.gmi +++ b/index.gmi @@ -1,6 +1,6 @@ # foo.zone -> This site was generated at 2024-04-02T01:33:21+03:00 by `Gemtexter` +> This site was generated at 2024-04-03T00:06:22+03:00 by `Gemtexter` ``` |\---/| diff --git a/uptime-stats.gmi b/uptime-stats.gmi index 14bb1990..98916f86 100644 --- a/uptime-stats.gmi +++ b/uptime-stats.gmi @@ -1,6 +1,6 @@ # My machine uptime stats -> This site was last updated at 2024-04-02T01:33:21+03:00 +> This site was last updated at 2024-04-03T00:06:22+03:00 The following stats were collected via `uptimed` on all of my personal computers over many years and the output was generated by `guprecords`, the global uptime records stats analyser of mine. -- cgit v1.2.3