Fix word wrap, fix template, update stack

This commit is contained in:
askiiart 2023-05-11 13:58:01 -05:00
parent 4de5196c72
commit a6ba04c98e
11 changed files with 24 additions and 15 deletions

0
assets/marlin-linux-mint.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

5
blog/marlin-boot-animations.html Normal file → Executable file
View file

@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<meta content="width=device-width, initial-scale=1" charset="utf-8" /> <meta content="width=device-width, initial-scale=1" charset="utf-8" />
<link rel="icon" href="/assets/askiiart.gif" type="image/icon"> <link rel="icon" href="/assets/askiiart.gif" type="image/icon">
@ -414,7 +415,7 @@
};</code></pre> };</code></pre>
<p>Which ends up looking like this:</p> <p>Which ends up looking like this:</p>
<figure> <figure>
<img src="/assets/marlin-linux-mint.png" alt="Linux Mint logo, as it would appear on a 128x64 display" /><figcaption aria-hidden="true">Linux Mint logo, as it would appear on a 128x64 display</figcaption> <img src="/assets/marlin-linux-mint.png" alt="" /><figcaption>Linux Mint logo, as it would appear on a 128x64 display</figcaption>
</figure> </figure>
<p>Rather than using Marlin's official converter, you can just take the array from the file generated by <code>convert frame.png frame.xmp</code>. <a href="">Very useful for automation.</a></p> <p>Rather than using Marlin's official converter, you can just take the array from the file generated by <code>convert frame.png frame.xmp</code>. <a href="">Very useful for automation.</a></p>
<p>Note that the earlier example was generated using <code>convert</code>, so it's in hexadecimal format rather than decimal, unlike <a href="https://marlinfw.org/tools/u8glib/converter.html"><code>converter.html</code></a> would have generated. It's actually 3 frames (0.6 seconds) of Bad Apple (albeit a bit messed up).</p> <p>Note that the earlier example was generated using <code>convert</code>, so it's in hexadecimal format rather than decimal, unlike <a href="https://marlinfw.org/tools/u8glib/converter.html"><code>converter.html</code></a> would have generated. It's actually 3 frames (0.6 seconds) of Bad Apple (albeit a bit messed up).</p>

0
blog/marlin-boot-animations.md Normal file → Executable file
View file

5
index.html Normal file → Executable file
View file

@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<meta content="width=device-width, initial-scale=1" charset="utf-8" /> <meta content="width=device-width, initial-scale=1" charset="utf-8" />
<link rel="icon" href="/assets/askiiart.gif" type="image/icon"> <link rel="icon" href="/assets/askiiart.gif" type="image/icon">
@ -79,7 +80,7 @@
<h2 id="othermeta">Other/Meta</h2> <h2 id="othermeta">Other/Meta</h2>
<p>If you like what you see here, a donation would be nice.</p> <p>If you like what you see here, a donation would be nice.</p>
<ul> <ul>
<li>Monero: <a href="monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&amp;tx_description=donation_from_site">8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w</a></li> <li><wrap>Monero: <a href="monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&amp;tx_description=donation_from_site">8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w</a></wrap></li>
</ul> </ul>
</body> </body>
<footer> <footer>

View file

@ -53,4 +53,4 @@ I'm a hobby programmer and co-founder and vice president of the [TCCD CompSci an
If you like what you see here, a donation would be nice. If you like what you see here, a donation would be nice.
- Monero: [8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w](monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&tx_description=donation_from_site) - <wrap>Monero: [8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w](monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&tx_description=donation_from_site)</wrap>

View file

@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<meta content="width=device-width, initial-scale=1" charset="utf-8" /> <meta content="width=device-width, initial-scale=1" charset="utf-8" />
<link rel="icon" href="/assets/askiiart.gif" type="image/icon"> <link rel="icon" href="/assets/askiiart.gif" type="image/icon">

View file

@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<meta content="width=device-width, initial-scale=1" charset="utf-8" /> <meta content="width=device-width, initial-scale=1" charset="utf-8" />
<link rel="icon" href="/assets/askiiart.gif" type="image/icon"> <link rel="icon" href="/assets/askiiart.gif" type="image/icon">

View file

@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<meta content="width=device-width, initial-scale=1" charset="utf-8" /> <meta content="width=device-width, initial-scale=1" charset="utf-8" />
<link rel="icon" href="/assets/askiiart.gif" type="image/icon"> <link rel="icon" href="/assets/askiiart.gif" type="image/icon">
@ -38,11 +39,11 @@
<h2 id="website">Website</h2> <h2 id="website">Website</h2>
<ul> <ul>
<li>Running on nginx in Docker</li> <li>Running on nginx in Docker</li>
<li>Behind a reverse proxy via <code>nginx-proxy-manager</code></li> <li>Behind Caddy as a reverse proxy</li>
<li>Written in markdown, then converted to HTML using <code>pandoc</code> <li>Written in markdown, then converted to HTML using pandoc
<ul> <ul>
<li>Script for this <a href="https://git.askiiart.net/askiiart/askiiart-net/src/branch/main/md2html.py">here</a></li> <li>Script for this <a href="https://git.askiiart.net/askiiart/askiiart-net/src/branch/main/md2html.py">here</a></li>
<li><code>pandoc</code> is one of the very few things I don't have in Docker (yet)</li> <li>pandoc is one of the very few things I don't have in Docker (yet)</li>
</ul></li> </ul></li>
<li><a href="https://git.askiiart.net/askiiart/askiiart-net">All in a git repo</a></li> <li><a href="https://git.askiiart.net/askiiart/askiiart-net">All in a git repo</a></li>
</ul> </ul>

View file

@ -27,8 +27,8 @@
## Website ## Website
- Running on nginx in Docker - Running on nginx in Docker
- Behind a reverse proxy via `nginx-proxy-manager` - Behind Caddy as a reverse proxy
- Written in markdown, then converted to HTML using `pandoc` - Written in markdown, then converted to HTML using pandoc
- Script for this [here](https://git.askiiart.net/askiiart/askiiart-net/src/branch/main/md2html.py) - Script for this [here](https://git.askiiart.net/askiiart/askiiart-net/src/branch/main/md2html.py)
- `pandoc` is one of the very few things I don't have in Docker (yet) - pandoc is one of the very few things I don't have in Docker (yet)
- [All in a git repo](https://git.askiiart.net/askiiart/askiiart-net) - [All in a git repo](https://git.askiiart.net/askiiart/askiiart-net)

3
style.css Normal file → Executable file
View file

@ -25,3 +25,6 @@ pre {
background: #202020 background: #202020
} }
wrap {
word-wrap: break-word
}

View file

@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<meta content="width=device-width, initial-scale=1" charset="utf-8" /> <meta content="width=device-width, initial-scale=1" charset="utf-8" />
<link rel="icon" href="/assets/askiiart.gif" type="image/icon"> <link rel="icon" href="/assets/askiiart.gif" type="image/icon">