From 1c5025d54c3a8244fcbe818f96dea49e51054ba6 Mon Sep 17 00:00:00 2001
From: mjfernez
Date: Wed, 22 Nov 2023 13:55:19 -0500
Subject: Update to new media directory syntax
---
.md/about/faq.md | 2 +-
.md/about/whereami.md | 2 +-
.../pc_gaming/common-gfx-card-installation-woes.md | 2 +-
.../how-to-fix-neovim-nerdtree-rendering-issue.md | 8 +-
.md/tutorials/www/quick-intro-html-css.md | 14 +-
about/faq.html | 2 +-
about/whereami.html | 2 +-
home.html | 12 +-
latest.html | 17 ++
.../common-gfx-card-installation-woes.html | 2 +-
...how-to-fix-neovim-nerdtree-rendering-issue.html | 8 +-
tutorials/www/how-to-use-the-internet.html | 250 +++++++++++++++++++++
tutorials/www/quick-intro-html-css.html | 14 +-
update_latest.py | 43 ++++
14 files changed, 344 insertions(+), 34 deletions(-)
create mode 100644 latest.html
create mode 100644 tutorials/www/how-to-use-the-internet.html
create mode 100644 update_latest.py
diff --git a/.md/about/faq.md b/.md/about/faq.md
index 21b2c73..c8fb90b 100644
--- a/.md/about/faq.md
+++ b/.md/about/faq.md
@@ -38,7 +38,7 @@ lately that I'm used to it.
Honestly, I though the fish was cool.
-![puffy](/static/puffy.gif)
+![puffy](/static/media/puffy.gif)
I don't know the artist of that one unfortunately, I just found it on a
forum.
diff --git a/.md/about/whereami.md b/.md/about/whereami.md
index 8be0a66..01d0809 100644
--- a/.md/about/whereami.md
+++ b/.md/about/whereami.md
@@ -25,7 +25,7 @@ need to go to make things go beep. In the 60s and
70s, routers tended to be people-based and would require workers spend
their time plugging cables into and out of ports so calls could connect.
-
+
*Image of a switchboard courtesy of
[Wikipedia
diff --git a/.md/tutorials/pc_gaming/common-gfx-card-installation-woes.md b/.md/tutorials/pc_gaming/common-gfx-card-installation-woes.md
index 19e3c1c..f9370ec 100644
--- a/.md/tutorials/pc_gaming/common-gfx-card-installation-woes.md
+++ b/.md/tutorials/pc_gaming/common-gfx-card-installation-woes.md
@@ -138,6 +138,6 @@ you're still seeing your desktop, you should be
good to go! I ran Kerbal Space Program 2
(currently in early access) as my first test.
-![](/static/ksp2.webm)
+![](/static/media/ksp2.webm)
Looking good, Jeb!
diff --git a/.md/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.md b/.md/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.md
index df0af33..1ff6fe7 100644
--- a/.md/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.md
+++ b/.md/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.md
@@ -6,18 +6,18 @@ scroll the window, I'd get a mess.
## The Problem
-![](/static/mess.gif)
+![](/static/media/mess.gif)
Now, yes, I know I'm a heretic for using the arrow keys and not just
jumping around, but I thought it was weird I didn't see this issue
anywhere else. Also, vim doesn't have this problem.
-![](/static/nomess-vim.gif)
+![](/static/media/nomess-vim.gif)
It's also not because of my meme tmux setup, the same issue happens in
terminator, which I happened to have installed.
-![](/static/mess-terminator.gif)
+![](/static/media/mess-terminator.gif)
## The Attempt
@@ -44,7 +44,7 @@ from Debian's default bashrc, but all I had to do was change it:
export TERM='tmux256-color'
```
-![](/static/fixed.gif)
+![](/static/media/fixed.gif)
No more hacky autocommands!
diff --git a/.md/tutorials/www/quick-intro-html-css.md b/.md/tutorials/www/quick-intro-html-css.md
index 3fe94ad..d94c254 100644
--- a/.md/tutorials/www/quick-intro-html-css.md
+++ b/.md/tutorials/www/quick-intro-html-css.md
@@ -91,7 +91,7 @@ tags in this example:
@@ -332,7 +332,7 @@ syntax. CSS allows you to set attributes to *all* tags in a specific
document and create a unifying style for all your pages.
```
-
+
```
As before, "href" points to the file to be linked. In this example, we
@@ -446,7 +446,7 @@ img.gray {
Applied:
You can read lots more options for image formatting
@@ -471,7 +471,7 @@ For one, that will only dim black-and-white images; anything else will
just turn to mush like this:
Instead, I'd like it to just apply to select elements; I can do so by
@@ -486,10 +486,10 @@ img.icon {
And to implement it in HTML:
```
-
+
```
-
+
#### Use the div tag to make sections
diff --git a/about/faq.html b/about/faq.html
index a4ead4a..0c2c039 100644
--- a/about/faq.html
+++ b/about/faq.html
@@ -220,7 +220,7 @@ terminal lately that I'm used to it.
Why OpenBSD?
Honestly, I though the fish was cool.
I don't know the artist of that one unfortunately, I just found it on
diff --git a/about/whereami.html b/about/whereami.html
index d6be605..8a2e712 100644
--- a/about/whereami.html
+++ b/about/whereami.html
@@ -178,7 +178,7 @@ router, which literally does what the name implies--it routes signals to
where they need to go to make things go beep. In the 60s and 70s,
routers tended to be people-based and would require workers spend their
time plugging cables into and out of ports so calls could connect.
Fortunately, we figured out that was dumb and made robots do the job
diff --git a/home.html b/home.html
index 2688d19..c80320a 100644
--- a/home.html
+++ b/home.html
@@ -43,9 +43,9 @@ learn the ins and outs of hosting your own, click
-
+
-
+
Most of what I'm working on (including this site) is kept at
@@ -59,23 +59,23 @@ learn the ins and outs of hosting your own, click
point, as long as you're still seeing your desktop, you should be good
to go! I ran Kerbal Space Program 2 (currently in early access) as my
first test.
-
+