summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-04-03 00:06:36 +0300
committerPaul Buetow <paul@buetow.org>2024-04-03 00:06:36 +0300
commit5a4a9297df4da8895154e2b6f8b62bcc10ddfd6d (patch)
treeb2142116dd0c6d4e13d0c54849bba4a9704bd959
parent7af68bf6d1a17b73f9c3106fe0fc06aea21eb539 (diff)
Update content for gemtext
-rw-r--r--gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi6
-rw-r--r--gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.gmi.tpl6
-rw-r--r--gemfeed/atom.xml8
-rw-r--r--index.gmi2
-rw-r--r--uptime-stats.gmi2
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 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <updated>2024-04-02T01:33:21+03:00</updated>
+ <updated>2024-04-03T00:06:22+03:00</updated>
<title>foo.zone feed</title>
<subtitle>To be in the .zone!</subtitle>
<link href="gemini://foo.zone/gemfeed/atom.xml" rel="self" />
@@ -143,8 +143,8 @@ standby <font color="#993399">300</font> IN AAAA 2a01<font color="#990000">:</f
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><b><font color="#000000">tramsform ()</font></b> {
- sed -E <font color="#FF0000">'</font>
+<pre><b><font color="#000000">transform ()</font></b> {
+ sed -E <font color="#FF0000">'</font>
<font color="#FF0000"> /IN A .*; Enable failover/ {</font>
<font color="#FF0000"> /^standby/! {</font>
<font color="#FF0000"> s/^(.*) 300 IN A (.*) ; (.*)/</font><font color="#CC33CC">\1</font><font color="#FF0000"> 300 IN A '</font><font color="#009900">$(</font>cat /var/nsd/run/master_a<font color="#990000">)</font><font color="#FF0000">' ; </font><font color="#CC33CC">\3</font><font color="#FF0000">/;</font>
@@ -164,7 +164,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#FF0000"> / ; serial/ {</font>
<font color="#FF0000"> s/^( +) ([0-9]+) .*; (.*)/</font><font color="#CC33CC">\1</font><font color="#FF0000"> '</font><font color="#009900">$(</font>date <font color="#990000">+%</font>s<font color="#990000">)</font><font color="#FF0000">' ; </font><font color="#CC33CC">\3</font><font color="#FF0000">/;</font>
<font color="#FF0000"> }</font>
-<font color="#FF0000"> '</font>
+<font color="#FF0000"> '</font>
}
</pre>
<br />
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.