redo home page

This commit is contained in:
2021-09-10 20:26:47 -07:00
parent 730e14586d
commit aed6090f12
81 changed files with 27052 additions and 1508 deletions

View File

@ -105,11 +105,6 @@
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">
<a href="#trents-blog" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
@ -199,11 +194,15 @@
<li class="md-tabs__item">
<a href="." class="md-tabs__link md-tabs__link--active">
Home
</a>
</li>
<li class="md-tabs__item">
<a href="." class="md-tabs__link md-tabs__link--active">
Home
</a>
</li>
@ -390,55 +389,225 @@
<li class="md-nav__item md-nav__item--active">
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
<input class="md-nav__toggle md-toggle" data-md-toggle="__nav_1" type="checkbox" id="__nav_1" checked>
<label class="md-nav__link md-nav__link--active" for="__toc">
Home
<span class="md-nav__icon md-icon"></span>
</label>
<a href="." class="md-nav__link md-nav__link--active">
<label class="md-nav__link" for="__nav_1">
Home
</a>
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" aria-label="Home" data-md-level="1">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
Home
</label>
<ul class="md-nav__list" data-md-scrollfix>
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item md-nav__item--active">
<li class="md-nav__item">
<a href="#links" class="md-nav__link">
Links
</a>
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
<a href="." class="md-nav__link md-nav__link--active">
Home
</a>
</li>
</li>
<li class="md-nav__item">
<a href="#posts-by-date" class="md-nav__link">
Posts By Date
</a>
</li>
</ul>
</nav>
<li class="md-nav__item">
<a href="posts/trents-favorite-podcasts/" class="md-nav__link">
Trent's Favorite Podcasts
</a>
</li>
<li class="md-nav__item">
<a href="posts/test-qr-svg-django/" class="md-nav__link">
Test QR SVG Django
</a>
</li>
<li class="md-nav__item">
<a href="posts/prosody-photo-uploads/" class="md-nav__link">
Prosody Photo Uploads
</a>
</li>
<li class="md-nav__item">
<a href="posts/xmpp-apt-notifications/" class="md-nav__link">
XMPP Apt Notification
</a>
</li>
<li class="md-nav__item">
<a href="posts/apache-virtual-hosts/" class="md-nav__link">
Apache Virtual Hosts
</a>
</li>
<li class="md-nav__item">
<a href="posts/sendxmpp-handler-for-python-logging/" class="md-nav__link">
SENDXMPP Handler for Python Logging
</a>
</li>
<li class="md-nav__item">
<a href="posts/instructions-for-tethering-from-phone/" class="md-nav__link">
Instruction For Tethering From Phone
</a>
</li>
<li class="md-nav__item">
<a href="posts/lmde4-custom-partitions-disk-encryption/" class="md-nav__link">
LMDE4 Custom Partitions for Disk Encryption
</a>
</li>
<li class="md-nav__item">
<a href="posts/linux-move-cursor-with-keyboard/" class="md-nav__link">
Linux Move Cursor With Keyboard
</a>
</li>
<li class="md-nav__item">
<a href="posts/simplified-raspberry-streaming/" class="md-nav__link">
Simplified Raspberry Streaming
</a>
</li>
<li class="md-nav__item">
<a href="posts/clear-linux-encrypted-xfs-root/" class="md-nav__link">
Clear Linux Encrypted XFS Root
</a>
</li>
<li class="md-nav__item">
<a href="posts/clear-linux-guest-virt-manager/" class="md-nav__link">
Clear Linux Guest Virt Manager
</a>
</li>
<li class="md-nav__item">
<a href="posts/faster-partitioning-with-sgdisk/" class="md-nav__link">
Faster Partitioning with Sgdisk
</a>
</li>
<li class="md-nav__item">
<a href="posts/lmde3-xfs-full-disk-encryption/" class="md-nav__link">
LMDE3 XFS Full Disk Encryption
</a>
</li>
<li class="md-nav__item">
<a href="posts/rewrite-hugo-themes-report-in-python/" class="md-nav__link">
Rewrite Hugo Themes Report In Python
</a>
</li>
</ul>
</nav>
</li>
@ -725,7 +894,7 @@
<li class="md-nav__item">
<a href="posts/test-qr-svg-django/" class="md-nav__link">
Test QRCODE Svg in Django
Test QR SVG Django
</a>
</li>
@ -749,7 +918,7 @@
<li class="md-nav__item">
<a href="posts/xmpp-apt-notifications/" class="md-nav__link">
Xmpp Apt Notifications
XMPP Apt Notification
</a>
</li>
@ -773,7 +942,7 @@
<li class="md-nav__item">
<a href="posts/sendxmpp-handler-for-python-logging/" class="md-nav__link">
SENDXMPPHandler for Python Logging
SENDXMPP Handler for Python Logging
</a>
</li>
@ -785,7 +954,7 @@
<li class="md-nav__item">
<a href="posts/instructions-for-tethering-from-phone/" class="md-nav__link">
Instructions For Tethering From Phone
Instruction For Tethering From Phone
</a>
</li>
@ -797,7 +966,7 @@
<li class="md-nav__item">
<a href="posts/lmde4-custom-partitions-disk-encryption/" class="md-nav__link">
LMDE4 Custom Partitions Disk Encryption
LMDE4 Custom Partitions for Disk Encryption
</a>
</li>
@ -833,7 +1002,7 @@
<li class="md-nav__item">
<a href="posts/clear-linux-encrypted-xfs-root/" class="md-nav__link">
Clear Linux Encrypted xfs Root
Clear Linux Encrypted XFS Root
</a>
</li>
@ -857,7 +1026,7 @@
<li class="md-nav__item">
<a href="posts/faster-partitioning-with-sgdisk/" class="md-nav__link">
Faster Partitioning With sgdisk
Faster Partitioning with Sgdisk
</a>
</li>
@ -869,7 +1038,7 @@
<li class="md-nav__item">
<a href="posts/lmde3-xfs-full-disk-encryption/" class="md-nav__link">
LMDE3 xfs Full Disk Encryption
LMDE3 XFS Full Disk Encryption
</a>
</li>
@ -881,7 +1050,7 @@
<li class="md-nav__item">
<a href="posts/rewrite-hugo-themes-report-in-python/" class="md-nav__link">
Rewrite Hugo Themes Report in Python
Rewrite Hugo Themes Report In Python
</a>
</li>
@ -1020,79 +1189,335 @@
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#links" class="md-nav__link">
Links
</a>
</li>
<li class="md-nav__item">
<a href="#posts-by-date" class="md-nav__link">
Posts By Date
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
<h1 id="trents-blog">Trent's Blog</h1>
<h2 id="links"><strong>Links</strong></h2>
<ul>
<li><a href="rss/" target="_blank">RSS</a></li>
<li><a href="links/" target="_blank">Links</a></li>
</ul>
<h2 id="posts-by-date"><strong>Posts By Date</strong></h2>
<ul>
<li><a href="posts/trents-favorite-podcasts/" target="_blank">2021-07-23: Trent's Favorite Podcasts</a></li>
<li><a href="posts/test-qr-svg-django/" target="_blank">2021-04-19: Test QRCODE Svg in Django</a></li>
<li><a href="posts/prosody-photo-uploads/" target="_blank">2021-01-25: Prosody Photo Uploads</a></li>
<li><a href="posts/xmpp-apt-notifications/" target="_blank">2021-01-09: Xmpp Apt Notifications</a></li>
<li><a href="posts/apache-virtual-hosts/" target="_blank">2020-12-20: Apache Virtual Hosts</a></li>
<li><a href="posts/sendxmpp-handler-for-python-logging/" target="_blank">2020-12-19: SENDXMPPHandler for Python Logging</a></li>
<li><a href="posts/instructions-for-tethering-from-phone" target="_blank">2020-12-17: Instructions for Tethering From Phone</a></li>
<li><a href="posts/lmde4-custom-partitions-disk-encryption" target="_blank">2020-12-15: LMDE4 Custom Partitions Disk Encryption</a></li>
<li><a href="posts/linux-move-cursor-with-keyboard" target="_blank">2020-06-21: Linux Move Cursor With Keyboard</a></li>
<li><a href="posts/simplified-raspberry-streaming" target="_blank">2019-05-12: Simplified Raspberry Streaming</a></li>
<li><a href="posts/clear-linux-encrypted-xfs-root" target="_blank">2019-04-13: Clear Linux Encrypted xfs Root</a></li>
<li><a href="posts/clear-linux-guest-virt-manager" target="_blank">2019-03-11: Clear Linux Guest Virt Manager</a></li>
<li><a href="posts/faster-partitioning-with-sgdisk" target="_blank">2019-02-11: Faster Partitioning With sgdisk</a></li>
<li><a href="posts/lmde3-xfs-full-disk-encryption" target="_blank">2019-01-25: LMDE3 xfs Full Disk Encryption</a></li>
<li><a href="posts/rewrite-hugo-themes-report-in-python" target="_blank">2019-01-25: Rewrite Hugo Themes Report in Python</a></li>
</ul>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div style="display: none">
None
</div>
<div>
<a href="/posts/trents-favorite-podcasts/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Trent's Favorite Podcasts</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['django', 'python', 'linux', 'podcast', 'antennapod', 'history', 'flutter', 'kotlin', 'travel']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2021-07-23 Introduction Someone asked me 10 years ago what are my favorite podcasts, so here you go. Note that a lot of podcasts tend to...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/test-qr-svg-django/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Test QR SVG Django</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['django', 'python', 'testing', 'pillow', 'beautifulsoup', 'opencv', 'cairosvg', 'pyotp']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2021-04-19 Introduction I worked out a solution in django-testing, for testing a view that renders a qrcode as an svg as an inline svg xml...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/prosody-photo-uploads/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Prosody Photo Uploads</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['xmpp', 'prosody', 'debian', 'letsencrypt']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2021-01-25 Introduction Install prosody on Debian 10 with photoupload, postgresql database, and letsencrypt certs. DNS Log into your dns...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/xmpp-apt-notifications/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">XMPP Apt Notification</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['apt', 'apt-get', 'prosody', 'debian']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2021-01-09 Introduction In order to save yourself the work of checking your computer for updates, configure it to send you a weekly...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/apache-virtual-hosts/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Apache Virtual Hosts</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['Apache', 'Virtual Hosts', 'LetsEncrypt', 'Lets Encrypt', 'Reverse Proxy', 'DNS']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2020-12-20 Use Virtual Hosts This is a very useful way to keep your server organized. Virtual Hosts On Your Lan You can practice on your...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/sendxmpp-handler-for-python-logging/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">SENDXMPP Handler for Python Logging</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['Python', 'Logging', 'Flask', 'XMPP', 'SENDXMPP', 'logging.Handler']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2020-12-19 SENDXMPPHandler for Python Logging app/__init__.py You may be familiar with adding a logging handler to a flask application, with...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/instructions-for-tethering-from-phone/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Instruction For Tethering From Phone</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['android', 'tethering']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2020-12-17 Instructions Part One Turn off blutooth on computer Turn off blutooth on phone Turn off Wifi on phone Part Two Turn on wifi...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/lmde4-custom-partitions-disk-encryption/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">LMDE4 Custom Partitions for Disk Encryption</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['linux-mint', 'disk-encryption']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2020-12-15 Introduction Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/linux-move-cursor-with-keyboard/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Linux Move Cursor With Keyboard</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['X11', 'xdotool', 'cursor', 'keyboard', 'keyboard shortcuts']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2020-06-21T22:01:35-07:00 Introduction Linux just makes everything so easy. On a laptop it can be tricky to place your mouse cursor on...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/simplified-raspberry-streaming/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Simplified Raspberry Streaming</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['raspberrypi', 'mpd', 'mp3', 'internet-radio', 'ncmpcpp', 'playlist', 'm3u']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2019-05-12T18:32:55-07:00 RaspberryPi is a Great MPD Appliance Im really pleased with the RaspberryPi as an MPD (music player daemon),...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/clear-linux-encrypted-xfs-root/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Clear Linux Encrypted XFS Root</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['xfs', 'clear-linux', 'luks']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2019-04-13T21:44:37-07:00 Nothing to-it Burger I had intended to create a technical explanation how to install Clear Linux with disk...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/clear-linux-guest-virt-manager/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Clear Linux Guest Virt Manager</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['kvm', 'clear-linux', 'qcow2', 'virt-manager', 'parted']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2019-03-11T01:39:09-07:00 Introduction download, convert, and resize the provided kvm-legacy image create a virtual machine and launch it...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/faster-partitioning-with-sgdisk/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Faster Partitioning with Sgdisk</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['command-line', 'gdisk', 'partition', 'sgdisk']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2019-02-11T04:23:52-08:00 Disclaimer If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/lmde3-xfs-full-disk-encryption/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">LMDE3 XFS Full Disk Encryption</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['linux-mint', 'disk-encryption']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2019-01-25T23:25:36-08:00 Introduction Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The...</p>
</a>
</div>
<hr>
<div>
<a href="/posts/rewrite-hugo-themes-report-in-python/" target="_blank" style="color: unset;">
<h2 style="margin-top: 0px; margin-bottom: 0px">Rewrite Hugo Themes Report In Python</h2>
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: trent</h3>
<p style="margin-top: 0px; margin-bottom: 0px">Tags: ['python', 'sql', 'sqlalchemy', 'html5', 'hugo-themes']</p>
<p style="margin-top: 0px; font-style: oblique">date: 2019-01-25T01:02:57-08:00 Ranking Hugo Themes by Stars, Commit Date A while back I was grazing the selfhosted subreddit, and noticed Hugo...</p>
</a>
</div>
<hr>
@ -1111,13 +1536,13 @@
<a href="rss/" class="md-footer__link md-footer__link--next" aria-label="Next: RSS" rel="next">
<a href="posts/trents-favorite-podcasts/" class="md-footer__link md-footer__link--next" aria-label="Next: Trent&#39;s Favorite Podcasts" rel="next">
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
Next
</span>
RSS
Trent's Favorite Podcasts
</div>
</div>
<div class="md-footer__button md-icon">