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> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -5,22 +5,22 @@
<title>askiiart.net</title> <title>askiiart.net</title>
<description>The feed for askiiart.net, I guess</description> <description>The feed for askiiart.net, I guess</description>
<link>https://askiiart.net</link> <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> <item>
<title>My Stack</title> <title>My Stack</title>
<link>https://askiiart.net/stack.html</link> <link>https://askiiart.net/stack.html</link>
</item> </item>
<item> <item>
<title>Marlin Boot Animations</title> <title>Using JSON with docker compose</title>
<link>https://askiiart.net/blog/marlin-boot-animations.html</link> <link>https://askiiart.net/til/using-json-with-docker-compose.html</link>
</item> </item>
<item> <item>
<title>askiiart's site</title> <title>askiiart's site</title>
<link>https://askiiart.net/index.html</link> <link>https://askiiart.net/index.html</link>
</item> </item>
<item> <item>
<title>Using JSON with docker compose</title> <title>Marlin Boot Animations</title>
<link>https://askiiart.net/til/using-json-with-docker-compose.html</link> <link>https://askiiart.net/blog/marlin-boot-animations.html</link>
</item> </item>
</channel> </channel>

View file

@ -14,6 +14,4 @@ find . -name "*.html" | while read -r item; do
TITLE=$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat) TITLE=$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat)
printf "\n <item>\n <title>${TITLE}</title>\n <link>https://askiiart.net/${item}.html</link>\n </item>" >>feed.xml printf "\n <item>\n <title>${TITLE}</title>\n <link>https://askiiart.net/${item}.html</link>\n </item>" >>feed.xml
done done
printf "\n\n</channel>\n</rss>" >>feed.xml 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> </head>
<body class="line-numbers"> <body class="line-numbers">
<h1 id="askiiarts-site">askiiart's site</h1> <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 the <a
href="https://codeberg.org/TCCD-CompSci-and-Coding-Club/">TCCD href="https://codeberg.org/TCCD-CompSci-and-Coding-Club/">TCCD
CompSci and Coding Club</a>. This is my site.</p> CompSci and Coding Club</a>. I do stuff sometimes. This is my
<p><strong><a href="/resume.html">See my resume site.</p>
here!</a></strong></p>
<h2 id="personal-links">Personal links</h2> <h2 id="personal-links">Personal links</h2>
<ul> <ul>
<li><a href="https://git.askiiart.net/askiiart">Gitea</a> (my <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://github.com/askiiart">GitHub</a></li>
<li><a href="https://codeberg.org/askiiart">Codeberg</a> (rarely <li><a href="https://codeberg.org/askiiart">Codeberg</a> (rarely
used, aside from club stuff)</li> 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 <li>Discord: <a
href="https://discord.com/users/552658564368302092">askiiart</a></li> href="https://discord.com/users/552658564368302092">askiiart</a></li>
<li>Email: <li>Email:
@ -69,8 +64,7 @@
<li><a <li><a
href="https://bibliogram.askiiart.net/applysettings/3bb4944d6d346268ae9bd84f42bc9a51">Bibliogram</a> href="https://bibliogram.askiiart.net/applysettings/3bb4944d6d346268ae9bd84f42bc9a51">Bibliogram</a>
<ul> <ul>
<li>An alternative frontend to Instagram (currently <li>An alternative frontend to Instagram</li>
broken).</li>
</ul></li> </ul></li>
</ul> </ul>
<h2 id="pages">Pages</h2> <h2 id="pages">Pages</h2>
@ -114,7 +108,6 @@
</ul></li> </ul></li>
</ul> </ul>
<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>
<ul> <ul>
<li><wrap>Monero: <a <li><wrap>Monero: <a
href="monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&amp;tx_description=donation_from_site">8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w</a></wrap></li> href="monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&amp;tx_description=donation_from_site">8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w</a></wrap></li>
@ -122,6 +115,6 @@
<script src="/prism.js"></script> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -1,16 +1,12 @@
# askiiart's site # 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. 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.
**[See my resume here!](/resume.html)**
## Personal links ## Personal links
- <a href="https://git.askiiart.net/askiiart">Gitea</a> (my main git thing) - <a href="https://git.askiiart.net/askiiart">Gitea</a> (my main git thing)
- <a href="https://github.com/askiiart">GitHub</a> - <a href="https://github.com/askiiart">GitHub</a>
- <a href="https://codeberg.org/askiiart">Codeberg</a> (rarely used, aside from club stuff) - <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) - Discord: [askiiart](https://discord.com/users/552658564368302092)
- Email: <a href="mailto:mail@askiiart.net">mail@askiiart.net</a> - 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/) - [Status](https://status.askiiart.net/)
- The status page for all the publicly accessible services on my site. - The status page for all the publicly accessible services on my site.
- [Bibliogram](https://bibliogram.askiiart.net/applysettings/3bb4944d6d346268ae9bd84f42bc9a51) - [Bibliogram](https://bibliogram.askiiart.net/applysettings/3bb4944d6d346268ae9bd84f42bc9a51)
- An alternative frontend to Instagram (currently broken). - An alternative frontend to Instagram
## Pages ## Pages
@ -54,8 +50,6 @@ I'm a hobby programmer and co-founder and vice president of the [TCCD CompSci an
## Other/Meta ## 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) [//]: # (For CSS for wrapping even if cutting off the word, see /style.css)
- <wrap>Monero: [8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w](monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&tx_description=donation_from_site)</wrap> - <wrap>Monero: [8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w](monero:8B7KKtrTLVuAva39qEfb6acvocX7gN1DANkaatSutDPZ7ySpCoVn8jndZcFUQyhnLAD8MjuNv983w7ZG79oZv8KBCFEo69w&tx_description=donation_from_site)</wrap>

View file

@ -1,10 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
git status --porcelain | awk 'match($1, "(M|A|\?\?)"){print $2}' | while read -r item; do dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
if [[ ${item} == *.md ]]; then find . -name "*.md" | while read -r item; do
item="${item%.*}" item="${item%.*}"
echo "Currently processing ${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)" 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
done 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> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -90,6 +90,6 @@
<script src="/prism.js"></script> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -1,3 +1,24 @@
User-agent: * User-agent: *
Disallow: /wishlist.md Disallow: /wishlist.md
Disallow: /wishlist.html 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>UPS: CyberPower CP1500PFCLCD</li>
<li>Case: Some obscure thing from Cybertron (now CLX <li>Case: Some obscure thing from Cybertron (now CLX
Gaming)</li> Gaming)</li>
<li>GPU: Integrated Intel UHD 750</li> <li>iGPU: Intel UHD 750</li>
</ul> </ul>
<h2 id="software">Software</h2> <h2 id="software">Software</h2>
<ul> <ul>
<li>OS: Unraid 6.11.5</li> <li>OS: Debian 12 (Bookworm)</li>
<li>Docker installed natively, but I might move it to a Debian <li>Basically everything runs in Docker, may move to
VM</li> Podman.</li>
<li>Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive, <li>Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive,
running off a 32GB USB drive boots off 120GB SSD.
<ul> <ul>
<li>Equivalent to RAID-5</li> <li>Using SnapRAID + mergerfs.</li>
<li>12TB of capacity available</li> <li>~12TB of storage usable.</li>
<li>Can lose any one drive without losing any data.</li>
</ul></li> </ul></li>
<li><a <li><a
href="https://pcpartpicker.com/user/Cheap_Fleet/saved/pR82kL">PC href="https://pcpartpicker.com/user/Cheap_Fleet/saved/pR82kL">PC
@ -51,8 +50,6 @@
<ul> <ul>
<li>Script for this <a <li>Script for this <a
href="https://git.askiiart.net/askiiart/askiiart-net/src/branch/main/md2html.py">here</a></li> 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> </ul></li>
<li>Syntax highlighting using <a <li>Syntax highlighting using <a
href="https://prismjs.com"><code>prism.js</code></a></li> 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 href="https://github.com/httptoolkit/docker-registry-facade/blob/main/Caddyfile">direct
link to Caddyfile</a>)</li> link to Caddyfile</a>)</li>
<li>I'll probably set up a proper self-hosted registry later, <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> </ul>
<script src="/prism.js"></script> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -12,16 +12,15 @@
- PSU: Corsair RM750x - PSU: Corsair RM750x
- UPS: CyberPower CP1500PFCLCD - UPS: CyberPower CP1500PFCLCD
- Case: Some obscure thing from Cybertron (now CLX Gaming) - Case: Some obscure thing from Cybertron (now CLX Gaming)
- GPU: Integrated Intel UHD 750 - iGPU: Intel UHD 750
## Software ## Software
- OS: Unraid 6.11.5 - OS: Debian 12 (Bookworm)
- Docker installed natively, but I might move it to a Debian VM - Basically everything runs in Docker, may move to Podman.
- Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive, running off a 32GB USB drive - Storage: 3x 4TB, 1x 8TB parity drive, 512GB cache drive, boots off 120GB SSD.
- Equivalent to RAID-5 - Using SnapRAID + mergerfs.
- 12TB of capacity available - ~12TB of storage usable.
- Can lose any one drive without losing any data.
- [PC Part Picker Link](https://pcpartpicker.com/user/Cheap_Fleet/saved/pR82kL) - [PC Part Picker Link](https://pcpartpicker.com/user/Cheap_Fleet/saved/pR82kL)
## Website ## Website
@ -30,11 +29,10 @@
- Behind Caddy as a reverse proxy - 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)
- Syntax highlighting using [`prism.js`](https://prismjs.com) - Syntax highlighting using [`prism.js`](https://prismjs.com)
- [In a git repo](https://git.askiiart.net/askiiart/askiiart-net) - [In a git repo](https://git.askiiart.net/askiiart/askiiart-net)
## Docker registry ## 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)) - 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

@ -61,4 +61,8 @@ wrap {
body { body {
max-width: none max-width: none
} }
}
footer {
text-align: center;
} }

View file

@ -12,6 +12,6 @@
<script src="/prism.js"></script> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -42,6 +42,6 @@
<script src="/prism.js"></script> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>

View file

@ -30,6 +30,6 @@
<script src="/prism.js"></script> <script src="/prism.js"></script>
</body> </body>
<footer> <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> </footer>
</html> </html>