diff options
author | Anthony Wang | 2024-12-03 22:09:15 -0500 |
---|---|---|
committer | Anthony Wang | 2024-12-03 22:09:15 -0500 |
commit | f0d251eac98fabfd0bb5ef0fa5a88b59f261da4b (patch) | |
tree | d76b7fbd8cfbd8e3ab34c2604ce7c4bb69367141 | |
parent | 90e5c08b6244dece6abfa1ad1b88e9f4e0e1b500 (diff) |
Now hosted on XVM and Caddy! Only include necessary pi digits in about page poem checker script
-rw-r--r-- | content/about/_index.md | 2 | ||||
-rw-r--r-- | static/src/check-about.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/content/about/_index.md b/content/about/_index.md index f928789..3c303f3 100644 --- a/content/about/_index.md +++ b/content/about/_index.md @@ -62,7 +62,7 @@ using a lot of really awesome [software](software). seeding this website with tons of [secret easter eggs](puzzle). -amazed that special patterns in my biological neural networks transcribed into UTF-8 encoded strings in Markdown documents converted into HTML by [Hugo](https://gohugo.io) with the [Gokarna theme](https://github.com/gokarna-theme/gokarna-hugo) deployed to the [exozyme server](https://exozy.me) and transmitted over HTTP and displayed on your screen have now created special patterns in your biological neural networks. +amazed that special patterns in my biological neural networks transcribed into UTF-8 Markdown documents converted into HTML by a Git hook running [Hugo](https://gohugo.io) with the [Gokarna theme](https://github.com/gokarna-theme/gokarna-hugo) deployed to [XVM](https://xvm.mit.edu) transmitted over HTTP by [Caddy](https://caddyserver.com) displayed on your screen have now created special patterns in your biological neural networks too. still alive. diff --git a/static/src/check-about.py b/static/src/check-about.py index e7bf62d..d88078d 100644 --- a/static/src/check-about.py +++ b/static/src/check-about.py @@ -1,6 +1,6 @@ import re -PI = '31415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679' +PI = '31415926535897932384626433832795028841' i = 0 with open('content/about/_index.md') as f: @@ -9,5 +9,5 @@ with open('content/about/_index.md') as f: continue cnt = str(len(re.sub(r']\([^\)]*\)', '', l).split())) if cnt != PI[i:i+len(cnt)]: - print(l, cnt, PI[i]) + print(l, cnt, PI[i:i+2]) i += len(cnt) |