Update site, fix scripts, block more AIs

This commit is contained in:
askiiart 2023-10-10 10:13:11 -05:00
parent e53b59a94b
commit e68cacf15c
No known key found for this signature in database
GPG key ID: 1C6E779EF11B3271
16 changed files with 69 additions and 62 deletions

View file

@ -527,6 +527,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -5,22 +5,22 @@
<title>askiiart.net</title>
<description>The feed for askiiart.net, I guess</description>
<link>https://askiiart.net</link>
<lastBuildDate>Mon, 09 Oct 2023 15:27:37 +0000</lastBuildDate>
<lastBuildDate>Tue, 10 Oct 2023 15:10:14 +0000</lastBuildDate>
<item>
<title>My Stack</title>
<link>https://askiiart.net/stack.html</link>
</item>
<item>
<title>Marlin Boot Animations</title>
<link>https://askiiart.net/blog/marlin-boot-animations.html</link>
<title>Using JSON with docker compose</title>
<link>https://askiiart.net/til/using-json-with-docker-compose.html</link>
</item>
<item>
<title>askiiart's site</title>
<link>https://askiiart.net/index.html</link>
</item>
<item>
<title>Using JSON with docker compose</title>
<link>https://askiiart.net/til/using-json-with-docker-compose.html</link>
<title>Marlin Boot Animations</title>
<link>https://askiiart.net/blog/marlin-boot-animations.html</link>
</item>
</channel>

View file

@ -15,5 +15,3 @@ find . -name "*.html" | while read -r item; do
printf "\n <item>\n <title>${TITLE}</title>\n <link>https://askiiart.net/${item}.html</link>\n </item>" >>feed.xml
done
printf "\n\n</channel>\n</rss>" >>feed.xml
find . \( ! -regex './md2html.sh' \) -type f | xargs sed -i 's/language-/language-/g'

View file

@ -9,12 +9,11 @@
</head>
<body class="line-numbers">
<h1 id="askiiarts-site">askiiart's site</h1>
<p>I'm a hobby programmer and co-founder and vice president of
<p>I'm a hobby programmer, and co-founder and vice president of
the <a
href="https://codeberg.org/TCCD-CompSci-and-Coding-Club/">TCCD
CompSci and Coding Club</a>. This is my site.</p>
<p><strong><a href="/resume.html">See my resume
here!</a></strong></p>
CompSci and Coding Club</a>. I do stuff sometimes. This is my
site.</p>
<h2 id="personal-links">Personal links</h2>
<ul>
<li><a href="https://git.askiiart.net/askiiart">Gitea</a> (my
@ -22,10 +21,6 @@
<li><a href="https://github.com/askiiart">GitHub</a></li>
<li><a href="https://codeberg.org/askiiart">Codeberg</a> (rarely
used, aside from club stuff)</li>
<li><a rel="me" href="https://tech.lgbt/@askiiart">Mastodon</a></li>
<li><a
href="https://news.ycombinator.com/user?id=askiiart">Hacker
News</a></li>
<li>Discord: <a
href="https://discord.com/users/552658564368302092">askiiart</a></li>
<li>Email:
@ -69,8 +64,7 @@
<li><a
href="https://bibliogram.askiiart.net/applysettings/3bb4944d6d346268ae9bd84f42bc9a51">Bibliogram</a>
<ul>
<li>An alternative frontend to Instagram (currently
broken).</li>
<li>An alternative frontend to Instagram</li>
</ul></li>
</ul>
<h2 id="pages">Pages</h2>
@ -114,7 +108,6 @@
</ul></li>
</ul>
<h2 id="othermeta">Other/Meta</h2>
<p>If you like what you see here, a donation would be nice.</p>
<ul>
<li><wrap>Monero: <a
href="monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&amp;tx_description=donation_from_site">8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w</a></wrap></li>
@ -122,6 +115,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -1,16 +1,12 @@
# askiiart's site
I'm a hobby programmer and co-founder and vice president of the [TCCD CompSci and Coding Club](https://codeberg.org/TCCD-CompSci-and-Coding-Club/). This is my site.
**[See my resume here!](/resume.html)**
I'm a hobby programmer, and co-founder and vice president of the [TCCD CompSci and Coding Club](https://codeberg.org/TCCD-CompSci-and-Coding-Club/). I do stuff sometimes. This is my site.
## Personal links
- <a href="https://git.askiiart.net/askiiart">Gitea</a> (my main git thing)
- <a href="https://github.com/askiiart">GitHub</a>
- <a href="https://codeberg.org/askiiart">Codeberg</a> (rarely used, aside from club stuff)
- <a rel="me" href="https://tech.lgbt/@askiiart">Mastodon</a>
- [Hacker News](https://news.ycombinator.com/user?id=askiiart)
- Discord: [askiiart](https://discord.com/users/552658564368302092)
- Email: <a href="mailto:mail@askiiart.net">mail@askiiart.net</a>
@ -32,7 +28,7 @@ I'm a hobby programmer and co-founder and vice president of the [TCCD CompSci an
- [Status](https://status.askiiart.net/)
- The status page for all the publicly accessible services on my site.
- [Bibliogram](https://bibliogram.askiiart.net/applysettings/3bb4944d6d346268ae9bd84f42bc9a51)
- An alternative frontend to Instagram (currently broken).
- An alternative frontend to Instagram
## Pages
@ -54,8 +50,6 @@ I'm a hobby programmer and co-founder and vice president of the [TCCD CompSci an
## Other/Meta
If you like what you see here, a donation would be nice.
[//]: # (For CSS for wrapping even if cutting off the word, see /style.css)
- <wrap>Monero: [8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w](monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&tx_description=donation_from_site)</wrap>

View file

@ -1,10 +1,11 @@
#!/usr/bin/env bash
set -e
git status --porcelain | awk 'match($1, "(M|A|\?\?)"){print $2}' | while read -r item; do
if [[ ${item} == *.md ]]; then
item="${item%.*}"
echo "Currently processing ${item}"
pandoc -f markdown-smart --data-dir . --template ${dir}/template.html -t html -o ${item}.html ${item}.md --metadata title="$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat)"
fi
dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
find . -name "*.md" | while read -r item; do
item="${item%.*}"
echo "Currently processing ${item}"
pandoc -f markdown-smart --data-dir . --template ${dir}/template.html -t html -o ${item}.html ${item}.md --metadata title="$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat)"
done
find . \( ! -regex './md2html.sh' \) -type f | xargs sed -i 's/sourceCode /language-/g'

Binary file not shown.

View file

@ -71,6 +71,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -90,6 +90,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -1,3 +1,24 @@
User-agent: *
Disallow: /wishlist.md
Disallow: /wishlist.html
User-agent: CCBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: Omgilibot
Disallow: /
User-agent: Omgili
Disallow: /
User-agent: FacebookBot
Disallow: /

View file

@ -25,19 +25,18 @@
<li>UPS: CyberPower CP1500PFCLCD</li>
<li>Case: Some obscure thing from Cybertron (now CLX
Gaming)</li>
<li>GPU: Integrated Intel UHD 750</li>
<li>iGPU: Intel UHD 750</li>
</ul>
<h2 id="software">Software</h2>
<ul>
<li>OS: Unraid 6.11.5</li>
<li>Docker installed natively, but I might move it to a Debian
VM</li>
<li>OS: Debian 12 (Bookworm)</li>
<li>Basically everything runs in Docker, may move to
Podman.</li>
<li>Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive,
running off a 32GB USB drive
boots off 120GB SSD.
<ul>
<li>Equivalent to RAID-5</li>
<li>12TB of capacity available</li>
<li>Can lose any one drive without losing any data.</li>
<li>Using SnapRAID + mergerfs.</li>
<li>~12TB of storage usable.</li>
</ul></li>
<li><a
href="https://pcpartpicker.com/user/Cheap_Fleet/saved/pR82kL">PC
@ -51,8 +50,6 @@
<ul>
<li>Script for this <a
href="https://git.askiiart.net/askiiart/askiiart-net/src/branch/main/md2html.py">here</a></li>
<li>pandoc is one of the very few things I don't have in Docker
(yet)</li>
</ul></li>
<li>Syntax highlighting using <a
href="https://prismjs.com"><code>prism.js</code></a></li>
@ -69,11 +66,12 @@
href="https://github.com/httptoolkit/docker-registry-facade/blob/main/Caddyfile">direct
link to Caddyfile</a>)</li>
<li>I'll probably set up a proper self-hosted registry later,
but I haven't gotten to it yet.</li>
but I haven't gotten to it yet. And I've only got 2.5 MBps up,
so that can probably wait until Docker does something dumb.</li>
</ul>
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -12,16 +12,15 @@
- PSU: Corsair RM750x
- UPS: CyberPower CP1500PFCLCD
- Case: Some obscure thing from Cybertron (now CLX Gaming)
- GPU: Integrated Intel UHD 750
- iGPU: Intel UHD 750
## Software
- OS: Unraid 6.11.5
- Docker installed natively, but I might move it to a Debian VM
- Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive, running off a 32GB USB drive
- Equivalent to RAID-5
- 12TB of capacity available
- Can lose any one drive without losing any data.
- OS: Debian 12 (Bookworm)
- Basically everything runs in Docker, may move to Podman.
- Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive, boots off 120GB SSD.
- Using SnapRAID + mergerfs.
- ~12TB of storage usable.
- [PC Part Picker Link](https://pcpartpicker.com/user/Cheap_Fleet/saved/pR82kL)
## Website
@ -30,11 +29,10 @@
- Behind Caddy as a reverse proxy
- 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)
- pandoc is one of the very few things I don't have in Docker (yet)
- Syntax highlighting using [`prism.js`](https://prismjs.com)
- [In a git repo](https://git.askiiart.net/askiiart/askiiart-net)
## Docker registry
- Currently just redirecting to [Docker Hub](https://hub.docker.com/u/askiiart), using the Caddy config from [here](https://httptoolkit.com/blog/docker-image-registry-facade/) ([direct link to Caddyfile](https://github.com/httptoolkit/docker-registry-facade/blob/main/Caddyfile))
- I'll probably set up a proper self-hosted registry later, but I haven't gotten to it yet.
- I'll probably set up a proper self-hosted registry later, but I haven't gotten to it yet. And I've only got 2.5 MBps up, so that can probably wait until Docker does something dumb.

View file

@ -62,3 +62,7 @@ wrap {
max-width: none
}
}
footer {
text-align: center;
}

View file

@ -12,6 +12,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -42,6 +42,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>

View file

@ -30,6 +30,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p>To view this page in markdown, replace the <code>.html</code> in the URL with <code>.md</code>. If this is the root page (askiiart.net), get the markdown version of it at <a href="/index.md">index.md</a>. Source code <a href="https://github.com/askiiart/askiiart.github.io">here</a> and <a href="https://git.askiiart.net/askiiart/askiiart-net">here</a>.</p>
<p><a href="https://github.com/askiiart/askiiart.github.io">code</a> (<a href="https://git.askiiart.net/askiiart/askiiart-net">mirror</a>)&emsp;<a href="https://askiiart.net/feed.xml">rss</a></p>
</footer>
</html>