summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-06-14 17:34:02 +0700
committerShulhan <ms@kilabit.info>2025-06-14 17:34:02 +0700
commit1209f0f62dcb8809c11a833cfce99c1c1b8a39d6 (patch)
tree1a86df2e490058fbaa84fd377f4da9df028365c6
parent34a52e8185a03293d5eaf725d049a0f3e61df4e9 (diff)
downloadkilabit.info-1209f0f62dcb8809c11a833cfce99c1c1b8a39d6.tar.xz
all: third round for fixing broken links
-rw-r--r--Makefile17
-rw-r--r--_content/journal/2020/the_mountain_of_kubernetes/index.adoc17
-rw-r--r--_content/journal/2022/lesson_from_learning_swimming/index.adoc2
-rw-r--r--jarink_brokenlinks.json33
4 files changed, 24 insertions, 45 deletions
diff --git a/Makefile b/Makefile
index be8f9db..10c9f2a 100644
--- a/Makefile
+++ b/Makefile
@@ -33,3 +33,20 @@ on-webhook: GOOS=linux
on-webhook: GOARCH=amd64
on-webhook: build
sudo rsync --progress _bin/www-kilabit /data/app/bin/www-kilabit
+
+##---- Scan broken links using jarink.\
+## -ignore-status
+## 403 - Forbidden, usually pages that require login.
+## 418 - Teapot, usually pages blocked from scanned by AI bot, like
+## sr.ht website.
+## 429 - Too many requests.
+
+.PHONY: jarink.brokenlinks
+jarink.brokenlinks:
+ jarink \
+ -ignore-status=403,418,429 \
+ -insecure \
+ -past-result=jarink_brokenlinks.json \
+ brokenlinks \
+ https://kilabit.home.local \
+ > jarink_brokenlinks.json
diff --git a/_content/journal/2020/the_mountain_of_kubernetes/index.adoc b/_content/journal/2020/the_mountain_of_kubernetes/index.adoc
index fef25aa..124d4c9 100644
--- a/_content/journal/2020/the_mountain_of_kubernetes/index.adoc
+++ b/_content/journal/2020/the_mountain_of_kubernetes/index.adoc
@@ -16,17 +16,12 @@ of their hill.
The preliminary of this article is written in this single tweet,
-+++
-<blockquote class="twitter-tweet"><p lang="en" dir="ltr">I could be wrong but
-Kubernetes is one of the greatest software marketing. The premise is
-&quot;autoscaling&quot;, but in the end we still pay by number of nodes (VM)
-not by pods.</p>&mdash; shuLhan (@_shuLhan)
-<a href="https://x.com/_shuLhan/status/1253140666470686721">
-April 23, 2020
-</a></blockquote>
-<script async src="https://platform.twitter.com/widgets.js" charset="utf-8">
-</script>
-+++
+[quote, @_shuLhan, https://twitter.com/_shuLhan/status/1253140666470686721]
+____
+I could be wrong but Kubernetes is one of the greatest software marketing.
+The premise is "autoscaling", but in the end you still pay by number of
+nodes (VM) not by pods.
+____
Let see if the assumption and premise is still stand.
diff --git a/_content/journal/2022/lesson_from_learning_swimming/index.adoc b/_content/journal/2022/lesson_from_learning_swimming/index.adoc
index 537130e..d7da711 100644
--- a/_content/journal/2022/lesson_from_learning_swimming/index.adoc
+++ b/_content/journal/2022/lesson_from_learning_swimming/index.adoc
@@ -35,7 +35,7 @@ The winner is the fastest one.
The gold medal for men's 50m freestyle
https://en.wikipedia.org/wiki/Swimming_at_the_2019_Southeast_Asian_Games[in SEA Games 2019^]
is 22.62 seconds.
-https://olympics.com/en/olympic-games/tokyo-2020/results/swimming/men-s-50m-freestyle[In Olympic 2020^],
+https://en.wikipedia.org/wiki/Swimming_at_the_2020_Summer_Olympics_%E2%80%93_Men%27s_50_metre_freestyle#Final[In Olympic 2020^],
the last men finish 50m freestyle is at 21.790 seconds.
From the perspective of the first winner of SEA games, the 0.83 seconds is a
huge gap.
diff --git a/jarink_brokenlinks.json b/jarink_brokenlinks.json
index a362038..93d93f2 100644
--- a/jarink_brokenlinks.json
+++ b/jarink_brokenlinks.json
@@ -1,43 +1,10 @@
{
"broken_links": {
- "http://kilabit.home.local/journal/2009/01/01__00_01__salt_and_pepper": [
- {
- "link": "https://idcorner.org/the-problems-with-openid",
- "error": "Get \"https://idcorner.org/the-problems-with-openid\": tls: failed to verify certificate: x509: certificate is valid for server20.hostwhitelabel.com, not idcorner.org",
- "code": 700
- }
- ],
- "http://kilabit.home.local/journal/2020/the_mountain_of_kubernetes": [
- {
- "link": "https://x.com/_shuLhan/status/1253140666470686721",
- "code": 400
- }
- ],
"http://kilabit.home.local/journal/2022/gpl": [
{
"link": "https://www.fsf.org",
"error": "Get \"https://www.fsf.org\": remote error: tls: handshake failure",
"code": 700
- },
- {
- "link": "https://www.gnu.org/gnu/manifesto.html",
- "error": "Get \"https://www.gnu.org/gnu/manifesto.html\": dial tcp 209.51.188.116:443: i/o timeout",
- "code": 700
- },
- {
- "link": "https://www.gnu.org/licenses/copyleft.html.en",
- "error": "Get \"https://www.gnu.org/licenses/copyleft.html.en\": dial tcp 209.51.188.116:443: i/o timeout",
- "code": 700
- },
- {
- "link": "https://www.gnu.org/licenses/gpl-faq.html",
- "error": "Get \"https://www.gnu.org/licenses/gpl-faq.html\": dial tcp 209.51.188.116:443: i/o timeout",
- "code": 700
- },
- {
- "link": "https://www.gnu.org/philosophy/categories.html.en",
- "error": "Get \"https://www.gnu.org/philosophy/categories.html.en\": dial tcp 209.51.188.116:443: i/o timeout",
- "code": 700
}
],
"http://kilabit.home.local/journal/2022/lesson_from_learning_swimming": [