diff --git a/site/404.html b/site/404.html index 4bea1dd..5e16663 100644 --- a/site/404.html +++ b/site/404.html @@ -240,7 +240,7 @@
  • - + Posts
  • @@ -426,6 +426,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -900,6 +912,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS diff --git a/site/feed_rss_created.xml b/site/feed_rss_created.xml index ac55190..8e6619c 100644 --- a/site/feed_rss_created.xml +++ b/site/feed_rss_created.xml @@ -1 +1 @@ - Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 11 Sep 2021 23:05:20 -0000 Sat, 11 Sep 2021 23:05:20 -0000 1440 MkDocs RSS plugin - v0.17.0 Debian 11 TT-RSS trent <p>date: 2021-09-11</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://tt-rss.org/">tt-rss</a>{target=_blank}on Debian 11 the Debian way.</p><h3>Why?</h3><p>Debian packages [tt-rss](htt...</p>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Sat, 11 Sep 2021 11:13:33 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sun, 25 Jul 2021 10:38:54 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Tue, 20 Apr 2021 02:23:27 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Mon, 25 Jan 2021 16:37:39 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sun, 10 Jan 2021 00:45:08 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sun, 20 Dec 2020 05:16:22 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 19 Dec 2020 11:47:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Thu, 17 Dec 2020 23:07:51 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Wed, 16 Dec 2020 00:28:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ \ No newline at end of file + Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 25 Sep 2021 13:46:47 -0000 Sat, 25 Sep 2021 13:46:47 -0000 1440 MkDocs RSS plugin - v0.17.0 Flutter Integration Test Server in Debian 11 Nspawn Container trent <p>date: 2021-09-24</p><h2>Introduction</h2><h3>Performance</h3><p>Your Debian Server is way more powerful than your laptop or desktopand flutter integration_tests suck.</p><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/debian-11-nspawn-flutter-integration-test-server/ Sat, 25 Sep 2021 13:46:10 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-nspawn-flutter-integration-test-server/ Debian 11 TT-RSS trent <p>date: 2021-09-11</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://tt-rss.org/">tt-rss</a>{target=_blank}on Debian 11 the Debian way.</p><h3>Why?</h3><p>Debian packages [tt-rss](htt...</p>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Sat, 11 Sep 2021 11:13:33 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sun, 25 Jul 2021 10:38:54 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Tue, 20 Apr 2021 02:23:27 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Mon, 25 Jan 2021 16:37:39 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sun, 10 Jan 2021 00:45:08 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sun, 20 Dec 2020 05:16:22 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 19 Dec 2020 11:47:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Thu, 17 Dec 2020 23:07:51 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Wed, 16 Dec 2020 00:28:41 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Tue, 15 Dec 2020 08:17:03 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ \ No newline at end of file diff --git a/site/feed_rss_updated.xml b/site/feed_rss_updated.xml index 7b1e5b6..c032e21 100644 --- a/site/feed_rss_updated.xml +++ b/site/feed_rss_updated.xml @@ -1 +1 @@ - Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 11 Sep 2021 23:05:20 -0000 Sat, 11 Sep 2021 23:05:20 -0000 1440 MkDocs RSS plugin - v0.17.0 Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sat, 11 Sep 2021 22:53:40 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Debian 11 TT-RSS trent <p>date: 2021-09-11</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://tt-rss.org/">tt-rss</a>{target=_blank}on Debian 11 the Debian way.</p><h3>Why?</h3><p>Debian packages [tt-rss](htt...</p>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Sat, 11 Sep 2021 11:13:33 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ \ No newline at end of file + Trent's BlogTrent's blog of mostly technical documentations.https://blog.trentsonlinedocs.xyz/en Sat, 25 Sep 2021 13:46:47 -0000 Sat, 25 Sep 2021 13:46:47 -0000 1440 MkDocs RSS plugin - v0.17.0 Flutter Integration Test Server in Debian 11 Nspawn Container trent <p>date: 2021-09-24</p><h2>Introduction</h2><h3>Performance</h3><p>Your Debian Server is way more powerful than your laptop or desktopand flutter integration_tests suck.</p><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/debian-11-nspawn-flutter-integration-test-server/ Sat, 25 Sep 2021 13:46:10 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-nspawn-flutter-integration-test-server/ Trent's Favorite Podcasts trent <p>date: 2021-07-23</p><h2><strong>Introduction</strong></h2><p>Someone asked me 10 years ago what are my favorite podcasts, so here you go.Note that a lot of podcasts tend to improv...</p>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Sat, 11 Sep 2021 22:53:40 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/ Debian 11 TT-RSS trent <p>date: 2021-09-11</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://tt-rss.org/">tt-rss</a>{target=_blank}on Debian 11 the Debian way.</p><h3>Why?</h3><p>Debian packages [tt-rss](htt...</p>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Sat, 11 Sep 2021 11:13:33 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/ Apache Virtual Hosts trent john joe <p>date: 2020-12-20</p><h2><strong>Use Virtual Hosts</strong></h2><p>This is a very useful way to keep your server organized.</p><h2><strong>Virtual Hosts On Your Lan</strong></h2><p>You can practice on you...</p>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/ Clear Linux Encrypted XFS Root trent <p>date: 2019-04-13T21:44:37-07:00</p><h2><strong>Nothing to-it Burger</strong></h2><p>I had intended to create a technical explanation how to install Clear Linux with disk encryption,...</p>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/ Clear Linux Guest Virt Manager trent <p>date: 2019-03-11T01:39:09-07:00</p><h2><strong>Introduction</strong></h2><ul><li>download, convert, and resize the provided kvm-legacy image</li><li>create a virtual machine and launch it f...</li></ul>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/ Faster Partitioning with Sgdisk trent <p>date: 2019-02-11T04:23:52-08:00</p><h2><strong>Disclaimer</strong></h2><p>If any of this is wrong, let me know so I can fix it. No actual hard drives were harmed in the production ...</p>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/ Instruction For Tethering From Phone trent <p>date: 2020-12-17</p><h2><strong>Instructions</strong></h2><h3>Part One</h3><ol><li>Turn <strong>off</strong> blutooth on computer</li><li>Turn <strong>off</strong> blutooth on phone</li><li>Turn <strong>off</strong> Wifi on phone</li></ol><h3>...</h3>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/ Linux Move Cursor With Keyboard trent <p>date: 2020-06-21T22:01:35-07:00</p><h2><strong>Introduction</strong></h2><p>Linux just makes everything so easy. On a laptop it can be tricky to place yourmouse cursor on exactly t...</p>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/ LMDE3 XFS Full Disk Encryption trent <p>date: 2019-01-25T23:25:36-08:00</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result ...</p>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/ LMDE4 Custom Partitions for Disk Encryption trent <p>date: 2020-12-15</p><h2><strong>Introduction</strong></h2><p>Linux Mint Debian Edition is the alternate version of Linux Mint, but built on a Debian base. The result is quite pleasa...</p>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/ Prosody Photo Uploads trent <p>date: 2021-01-25</p><h2><strong>Introduction</strong></h2><p>Install <a href="https://prosody.im/">prosody</a>{target=_blank} on <a href="https://www.debian.org/">Debian 10</a>{target=_blank}with phot...</p>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/ Rewrite Hugo Themes Report In Python trent <p>date: 2019-01-25T01:02:57-08:00</p><h2><strong>Ranking Hugo Themes by Stars, Commit Date</strong></h2><p>A while back I was grazing the selfhosted subreddit, and noticed Hugo comin...</p>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/ SENDXMPP Handler for Python Logging trent <p>date: 2020-12-19</p><h2><strong>SENDXMPPHandler for Python Logging</strong></h2><p>&lt;script src="https://gist.github.com/adc541a6245d55e39edd10dab1001a88.js?file= SENDXMPPHandler.md...</p>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/ Simplified Raspberry Streaming trent <p>date: 2019-05-12T18:32:55-07:00</p><h2><strong>RaspberryPi is a Great MPD Appliance</strong></h2><p>I’m really pleased with the <a href="https://www.raspberrypi.org/">RaspberryPi</a>{target=_b...</p>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/ Test QR SVG Django trent <p>date: 2021-04-19</p><h2><strong>Introduction</strong></h2><p>I worked out a solution in django-testing, for testing a view that renders a qrcodeas an svg as an inline svg xml stri...</p>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/ XMPP Apt Notification trent <p>date: 2021-01-09</p><h2><strong>Introduction</strong></h2><p>In order to save yourself the work of checking your computer forupdates, configure it to send you a weekly notificatio...</p>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ Sat, 11 Sep 2021 03:26:47 -0000Trent's Bloghttps://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/ \ No newline at end of file diff --git a/site/index.html b/site/index.html index c96498f..1be32b1 100644 --- a/site/index.html +++ b/site/index.html @@ -246,7 +246,7 @@
  • - + Posts
  • @@ -442,6 +442,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -916,6 +928,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -1361,8 +1385,24 @@ + +
    + None +
    + + +
    + +

    Flutter Integration Test Server in Debian 11 Nspawn Container

    +

    Created by: trent

    +

    Tags: ['debian', 'nspawn', 'android', 'flutter']

    +

    date: 2021-09-24 Introduction Performance Your Debian Server is way more powerful than your laptop or desktop and flutter integration_tests suck....

    +
    +
    +
    +

    Debian 11 TT-RSS

    @@ -1543,13 +1583,13 @@ -
  • + Posts
  • @@ -437,6 +437,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -953,6 +965,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -1387,13 +1411,13 @@ -
  • + Posts
  • @@ -437,6 +437,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -1035,6 +1047,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS diff --git a/site/posts/clear-linux-encrypted-xfs-root/index.html b/site/posts/clear-linux-encrypted-xfs-root/index.html index 4548247..50bc5cd 100644 --- a/site/posts/clear-linux-encrypted-xfs-root/index.html +++ b/site/posts/clear-linux-encrypted-xfs-root/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -437,6 +437,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -947,6 +959,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS diff --git a/site/posts/clear-linux-guest-virt-manager/index.html b/site/posts/clear-linux-guest-virt-manager/index.html index 0951a28..28df03b 100644 --- a/site/posts/clear-linux-guest-virt-manager/index.html +++ b/site/posts/clear-linux-guest-virt-manager/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -437,6 +437,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS @@ -961,6 +973,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • Debian 11 TT-RSS diff --git a/site/posts/debian-11-nspawn-flutter-integration-test-server/index.html b/site/posts/debian-11-nspawn-flutter-integration-test-server/index.html new file mode 100644 index 0000000..9b656b0 --- /dev/null +++ b/site/posts/debian-11-nspawn-flutter-integration-test-server/index.html @@ -0,0 +1,2387 @@ + + + + + + + + + + + + + + + + + + + + + Flutter Integration Test Server in Debian 11 Nspawn Container - Trent's Blog + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + +
    + +
    + +
    + + + + + + + +
    +
    + + + +
    +
    +
    + + + + + + +
    +
    +
    + + + + + + +
    +
    + + + + + +

    Flutter Integration Test Server in Debian 11 Nspawn Container

    + +

    date: 2021-09-24

    +

    Introduction

    +

    Performance

    +

    Your Debian Server is way more powerful than your laptop or desktop +and flutter integration_tests suck.

    +

    Ergonomics

    +

    You have an Android Emulator (or a real device) connected to the machine +that you are sitting in front of for reference, and now you can run +integration_tests on a different device without having to juggle adb +connections on the same machine.

    +

    Nspawn Tho?

    +

    Because containers unlike virtual machines access the full power of the +host, but nspawn containers are peristent like virtual machines, sparing +you the cognitive overhead of dealing with the ephemerality of docker +containers and/or of herding cats.

    +

    And you already have nspawn, it's build into systemd. Even including the +(virtual) network interfaces.

    +

    Documentation

    +

    Let's face it: setting up an Android Development Environment is a nightmare.

    +

    So don't just follow this guide; follow this guide a repetition of three +times, building your own step-by-step for yourself as you go. Your brain +will thank you.

    +

    Host Preparation (Debian 11)

    +
      +
    1. install systemd-container and debootstrap
    2. +
    3. enable unprivileged user namespaces
        +
      • echo 'kernel.unprivileged_userns_clone=1' >/etc/sysctl.d/nspawn.conf
      • +
      • systemctl restart systemd-sysctl.service
      • +
      +
    4. +
    5. you might as well allow debootstrap to user your apt-cacher-ng proxy
        +
      • export http_proxy=http://<ip address>:3142
      • +
      +
    6. +
    +

    br0 bridge

    +

    describe br0 bridge in /etc/systemd/nspawn/ftest.nspawn (optional). +

    # /etc/systemd/nspawn/ftest.nspawn
    +[Network]
    +VirtualEthernet=yes
    +Bridge=br0
    +

    +

    ZFS mountpoint

    +

    This is optional, obviously; you might not even use zfs.

    +
      +
    • zfs create vm_pool/nspawn/ftest
    • +
    • zfs set mountpoint=/var/lib/machines/ftest vm_pool/nspawn/ftest
    • +
    • sanity check zfs list -r vm_pool/nspawn
    • +
    +

    bootstrap container

    +
    # for apt-cacher-ng proxy
    +export http_proxy=http://<ip address>:3142
    +
    +debootstrap --include=systemd-container stable /var/list/machines/ftest
    +
    +

    preboot config

    +
      +
    1. delete container's package cache
    2. +
    3. copy /etc/apt/apt.conf to container
    4. +
    5. copy /root/.bashrc to container
    6. +
    7. copy /root/.inputrc to container
    8. +
    9. edit /etc/hostname in container
    10. +
    11. write nspawn file on host
    12. +
    13. copy /etc/locale.gen to /etc/locale.gen.bak on container
    14. +
    +

    first interactive boot

    +
      +
    1. systemd-nspawn -D /var/lib/machines/ftest -U --machine ftest
    2. +
    3. set passwd: passwd
    4. +
    5. stop container: logout
    6. +
    +

    run as service

    +
      +
    1. systemctl start systemd-nspawn@ftest
    2. +
    3. login: machinectl login ftest
    4. +
    5. start/enable network systemctl enable --now systemd-networkd
    6. +
    7. add regular user useradd <username>
    8. +
    +

    install applications

    +

    locale

    +
      +
    • install locales
    • +
    • edit /etc/locale.gen to taste and then run the command locale-gen
    • +
    +

    essential apps

    +
    apt-get install openssh-server git unzip wget sudo curl file rsync
    +
    +

    add regular user to sudo group

    +

    usermod -a -G sudo <user>

    +

    other apps

    +
    apt-get install mosh htop haveged byobu needrestart tree bash-completion
    +
    +

    install openjdk-8 from stretch repo

    +
      +
    1. add following to /etc/apt/sources.list +
      deb http://security.debian.org/debian-security stretch/updates main
      +
    2. +
    3. apt-get update && apt-get install openjdk-8-jdk-headless
    4. +
    +

    user environment

    +

    You can now ssh into your container.

    +

    scp your favorite environment files over to the container

    +
      +
    • ~/.byobu/
    • +
    • ~/.bashrc
    • +
    • ~/.bash_aliases
    • +
    • ~/.inputrc
    • +
    +

    install flutter

    +

    Pick a location to taste; I prefer ~/.local/ +

    cd ; cd .local
    +git clone https://github.com/flutter/flutter.git
    +

    +

    downgrade flutter

    +

    if needed: +

    cd ~/.local/flutter
    +git checkout 2.2.3
    +

    +

    install command-line-tools

    +

    The schuck and jive here is absurd, but here goes.

    +

    Now is the time to decide where ANDROID_HOME and ANDROID_SDK_ROOT +are going to be; I prefer ~/.local/share/Android/Sdk/ +

    mkdir -p ~/.local/share/Android/Sdk
    +

    +

    temporary installation of cmdline-tools

    +

    Command line tools only Scroll half way down +

    cd ~/.local/share/Android/Sdk
    +wget https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip
    +unzip commandlinetools-linux-7583922_latest.zip
    +mkdir 5.0
    +mv cmdline-tools/* 5.0/
    +mv 5.0 cmdline-tools/
    +

    +

    flutter and sdk environment

    +

    add the following to ~/.bashrc +

    function addToPATH {
    +  case ":$PATH:" in
    +    *":$1:"*) :;; # already there
    +    *) PATH="$PATH:$1";; # or PATH="$PATH:$1"
    +  esac
    +}
    +
    +addToPATH ~/.local/flutter/bin
    +addToPATH ~/.local/share/Android/Sdk/cmdline-tools/latest/bin
    +addToPATH ~/.local/share/Android/Sdk/platform-tools
    +
    +# temporary path to temporary version of cmdline-tools
    +addToPATH ~/.local/share/Android/Sdk/cmdline-tools/5.0/bin
    +

    +

    add the following to ~/.bash_aliases +

    alias sdkmanager='sdkmanager --sdk_root=~/.local/share/Android/Sdk'
    +

    +

    Confirm by logging out and then back in and: +

    which flutter ; which sdkmanager ; alias
    +

    +

    now install cmdline-tools for real

    +

    sdkmanager --install "cmdline-tools;latest"

    +

    and then logout and log back in

    +

    cleanup

    +

    At this point I think you can remove or comment the temporary PATH +statement from ~/.bashrc for the temporary location of cmdline-tools

    +

    install Android SDK

    +

    review your options +

    sdkmanager --list
    +
    +and then install them +(platform-tools: adb and fastboot will be pulled in automatically) +
    sdkmanager --install "platforms;android-30" \
    +  "build-tools;31.0.0" "build-tools;30.0.3"
    +

    +

    confirm flutter installation

    +

    flutter doctor

    +

    run tests

    +

    At this point you shoud be able to rsync a flutter app over to the container, connect to a device using network adb, +and run something like: +

    flutter drive --driver integration_test/driver.dart \
    +  --target integration_test/app_test.dart --profile
    +

    + + + + + + + + + + + +
    +
    +
    + +
    + + + + +
    +
    +
    +
    + + + + + + + + \ No newline at end of file diff --git a/site/posts/debian-11-ttrss/index.html b/site/posts/debian-11-ttrss/index.html index 81192e1..ea65a84 100644 --- a/site/posts/debian-11-ttrss/index.html +++ b/site/posts/debian-11-ttrss/index.html @@ -251,7 +251,7 @@
  • - + Posts
  • @@ -437,6 +437,18 @@ +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + +
  • @@ -1040,6 +1052,18 @@ + +
  • + + Flutter Integration Test Server in Debian 11 Nspawn Container + +
  • + + + + + + @@ -1784,7 +1808,7 @@ prepend the url with view-source:.