From e86d0b83a245175fe8b2c0ddde7994a9406844a5 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sat, 4 May 2024 17:17:30 -0700 Subject: [PATCH] fix markdown links to .png files that use a %%TOKEN%% --- 2018/algmyr/README.md | 2 +- 2018/algmyr/index.html | 2 +- 2018/bellard/README.md | 4 ++-- 2018/bellard/index.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/2018/algmyr/README.md b/2018/algmyr/README.md index eb0ebbb4c..87ffe8ca4 100644 --- a/2018/algmyr/README.md +++ b/2018/algmyr/README.md @@ -83,7 +83,7 @@ from hearing. But even without training you can easily read along with the printed characters and have the sound make sense with the look of the characters. -See image [spoiler.png](%%REPO_URL%%/2018/algmyr/spoiler.png) for an example spectrogram. +See image [spoiler.png](spoiler.png) for an example spectrogram. ### Limitations diff --git a/2018/algmyr/index.html b/2018/algmyr/index.html index 7afbfcbb1..8e30ca070 100644 --- a/2018/algmyr/index.html +++ b/2018/algmyr/index.html @@ -442,7 +442,7 @@ could listen to a cacophony of chirpy characters.

from hearing. But even without training you can easily read along with the printed characters and have the sound make sense with the look of the characters.

-

See image spoiler.png for an example spectrogram.

+

See image spoiler.png for an example spectrogram.

Limitations

There is no error checking done when opening files, so expect segfaults if you provide the wrong path to a file.

diff --git a/2018/bellard/README.md b/2018/bellard/README.md index c96ca68a3..bd2da3b38 100644 --- a/2018/bellard/README.md +++ b/2018/bellard/README.md @@ -17,7 +17,7 @@ code](#alternate-code) below. ## Try: -First open [Lenna.png](%%REPO_URL%%/2018/bellard/Lenna.png) in your graphics viewer of choice. Next, after +First open [Lenna.png](Lenna.png) in your graphics viewer of choice. Next, after running the above command (`./prog > lena.ppm`), open `lena.ppm` in your graphics viewer of choice. After that try: @@ -32,7 +32,7 @@ compile and install netpbm for entries that require it?](../../faq.html#netpbm) [FAQ 3.16 - How do I compile and install libjpeg-turbo for entries that require it?](../../faq.html#libjpeg). -NOTE: [Lenna.png](%%REPO_URL%%/2018/bellard/Lenna.png) is from +NOTE: [Lenna.png](Lenna.png) is from . diff --git a/2018/bellard/index.html b/2018/bellard/index.html index a621ccce9..d08b58693 100644 --- a/2018/bellard/index.html +++ b/2018/bellard/index.html @@ -402,7 +402,7 @@ code below.

To use:

    ./prog > lena.ppm

Try:

-

First open Lenna.png in your graphics viewer of choice. Next, after +

First open Lenna.png in your graphics viewer of choice. Next, after running the above command (./prog > lena.ppm), open lena.ppm in your graphics viewer of choice. After that try:

    ./try.sh
@@ -412,7 +412,7 @@ versions) and pnmscale come from the netpbm project and cjpeg compile and install netpbm for entries that require it? and FAQ 3.16 - How do I compile and install libjpeg-turbo for entries that require it?.

-

NOTE: Lenna.png is from +

NOTE: Lenna.png is from https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png.

Alternate code:

The prog.alt.c is based on the author’s remarks and it should work