paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 845f2f7f12d8037d4e67c3307bd7b1efae646b96
parent 2383e90451bc0ced6ba0e97ff3a901f325aab72e
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  7 Apr 2020 20:02:52 -0400

Housecleaning

Diffstat:
Mbuild/header.html | 2+-
Mpages/blog.md | 4++--
Apages/blog/housecleaning.md | 38++++++++++++++++++++++++++++++++++++++
Dpages/guides.md | 23-----------------------
Dpages/guides/debian-with-btrfs.md | 185-------------------------------------------------------------------------------
Dpages/guides/firefox-new-tab-dark.md | 45---------------------------------------------
Dpages/guides/using-rm-with-trash.md | 55-------------------------------------------------------
Mpages/home.md | 2+-
Mpages/projects.md | 4----
Dpublic/feeds/blog-feed.xml | 687-------------------------------------------------------------------------------
Dpublic/feeds/guides-feed.xml | 73-------------------------------------------------------------------------
Dpublic/feeds/projects-feed.xml | 36------------------------------------
Mpublic/sitemap.xml | 4----
13 files changed, 42 insertions(+), 1116 deletions(-)

diff --git a/build/header.html b/build/header.html @@ -24,7 +24,7 @@ <a href="/blog">Blog</a> <a href="/links">Links</a> <a href="/projects">Projects</a> - <a href="/guides">Guides</a> + <a href="https://wiki.paritybit.ca">Wiki</a> <a href="/about">About</a> <a href="/now">Now</a> <a href="/contact">Contact</a> diff --git a/pages/blog.md b/pages/blog.md @@ -6,9 +6,9 @@ [//]: # "2020; 2019" -<a class="rss-icon" href="/feeds/blog-feed.xml"> <img +<a class="rss-icon" href="/feeds/sitewide-feed.xml"> <img src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS"/> -Subscribe to the blog feed</a> +Subscribe with RSS</a> This is the place where I put all of my ramblings, rants, essays, and random thoughts and ideas. You can find links to other blogs that I follow on my diff --git a/pages/blog/housecleaning.md b/pages/blog/housecleaning.md @@ -0,0 +1,38 @@ +## Doing Some House Cleaning + +[//]: # "I've done a little bit of digital organizing and cleaning stuff up now that paritybit.ca has expanded a lot." + +[//]: # "main.min.css" + +[//]: # + +<div class="byline"> +<b>Written By:</b> Jake Bauer | + <b>Posted:</b> 2020-04-07 | + <b>Last Updated:</b> 2020-04-07 +</div> + +The suite of sites under the paritybit.ca domain has been steadily growing as +I've been hosting and playing around with new things. I now have [a +wiki](https://wiki.paritybit.ca), [a Mastodon +instance](https://social.paritybit.ca), [a Matrix +server](https://matrix.paritybit.ca), [a git server](https://git.paritybit.ca) +and even a simple HTTP-based (for now) [file-sharing +server](https://ftp.paritybit.ca). + +In an attempt to unify things a little bit and to clean some stuff up, I've +decided to move all of the guides that were once hosted here on this website +over to the wiki. + +I've also gone ahead and removed every one of the RSS feeds except [the main +feed](https://www.paritybit.ca/feeds/sitewide-feed.xml). I no longer need to +maintain separate feeds for blogs, guides, and projects because guides are +handled by the wiki and I don't update the projects feed that much. You should +clean up those feeds from your newsreader if you are subscribed as they will now +return `404`s. + +Coming soon will be some additions to the home page of this site to showcase the +other services (similar to what is on the front page of the wiki). I'll also be +looking into auto-posting links to Mastodon for when I release a new blog post +as that can be easily integrated into my publishing script (that script has also +been simplified a lot now that I don't need to handle different feeds). diff --git a/pages/guides.md b/pages/guides.md @@ -1,23 +0,0 @@ -## Guides - -[//]: # "Guides on configuring various services and programs, little tips and tricks, and more." - -[//]: # "main.min.css" - -[//]: # - -<a class="rss-icon" href="/feeds/guides-feed.xml"> <img -src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS"/> -Subscribe to the guides feed</a> - -This is the place where I put things like tips and tricks on software -configuration, guides on how to do various things, and other more technical -stuff that doesn't fit on the blog. - -<ul> - <li><a href="guides/firefox-new-tab-dark">How to Make the New Tab Page Dark Themed in Firefox</a></li> - <li><a href="guides/using-rm-with-trash">Using the "rm" Command with - Trash</a></li> - <li><a href="guides/debian-with-btrfs">Installing Debian 10 Buster with - Encrypted LVM and btrfs Subvolumes</a></li> -</ul> diff --git a/pages/guides/debian-with-btrfs.md b/pages/guides/debian-with-btrfs.md @@ -1,185 +0,0 @@ -## Installing Debian 10 Buster with Encrypted LVM and btrfs Subvolumes - -[//]: # "This tutorial will demonstrate how to set up a Debian 10 Buster system with btrfs using subvolumes on your root filesystem during the installation process. It will also cover how to do this with LVM encrypted volumes for those who want their installations to be encrypted." - -[//]: # "main.min.css" - -[//]: # - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2019-07-16 | - <b>Last Updated:</b> 2019-07-17 -</div> - -### Introduction - -<b>Difficulty:</b> Intermediate - -With the arrival of Debian Buster, many people will be re-installing their -systems to try out some of the new features and to just "start fresh". With this -comes the opportunity to try out new configurations that require starting fresh. -Namely, btrfs on root. Debian currently supports formatting partitions with -btrfs, but doesn't support creating subvolumes from within the installer. This -tutorial will demonstrate how to set up a Debian 10 Buster system with btrfs using -subvolumes on your root filesystem during the installation process. It will also -cover how to do this with LVM encrypted volumes for those who want their -installations to be encrypted. - -Once you're familiar with this procedure, you will find that it is actually a -lot easier than it seemed at first! - -This procedure has been adapted from this video found on YouTube: <a -href="https://www.youtube.com/watch?v=wtMj8KPRlws">Debian 9 | Installation mit -Btrfs Subvolumes (Debian Wochen)</a> by YouTube user "unicks.eu". This video is -in German but you don't need to understand the language to follow the steps on -screen. This tutorial aims to expand on the content of the video by approaching -it from the perspective of wanting encrypted partitions and it also provides an -English-language reference to the content of the video. - -### Procedure - -The first step is to get a copy of <a href="https://www.debian.org/distrib/">the -Debian operating system</a>. Get any of the images that aren't a "live" image -since these live images don't let you enter into Expert install mode. I prefer -the netinstall image since it is a small initial download and I can pull in -whichever packages I need using the internet (my connection is reliable and fast -enough to support this). - -After downloading the image and putting it on a CD/DVD/USB, boot this image and -choose `Advanced options > Expert install` (or `Graphical expert install` if -you want). - -Run through the installation as normal until you reach the section on -partitioning: - -<figure> - <a href="/img/debian-with-btrfs/partition-screen.png"><img - src="/img/debian-with-btrfs/partition-screen.png" alt="The Debian installer - partition menu showing 3 guided options and 1 manual option"/></a> -</figure> - -On this screen, if you want an encrypted root file system (recommended) then -choose the option `Guided - use entire disk and set up encrypted LVM`. Otherwise -choose the first option. If you are working with a disk that already has an -operating system on it which you wish to keep or if you have more complicated -partitioning needs, you will have to choose `Manual` and create the partitions -necessary for your configuration. - -Once you have run through the setup of the partitions you should now see a -screen similar to the one below: - -<figure> - <a href="/img/debian-with-btrfs/partition-results.png"><img - src="/img/debian-with-btrfs/partition-results.png" alt="The screen showing - the overview of your currently configured partitions and mount points - step."/></a> -</figure> - -Select your root file system (the one with the `/` as the mount point), change -the `Use as:` field to `btrfs journaling file system` and select `Done setting -up the partition`. After this, select `Finish partitioning and write changes to -disk`, following the prompts until you arrive back in the installation menu. -This will apply the chosen partitioning scheme. - -After this and before continuing with the installation, type <kbd>Ctrl</kbd> + -<kbd>Alt</kbd> + <kbd>F2</kbd> to be put into a shell. Press <kbd>Enter</kbd> -to activate this shell and follow the following procedure to set up subvolumes: - -<figure> - <a href="/img/debian-with-btrfs/shell.png"><img - src="/img/debian-with-btrfs/shell.png" alt="The busybox terminal on - tty2."/></a> -</figure> - -Use the `df` command to view what the current mounted partitions are. In my case -there is `/dev/mapper/debianbtrfs--vg-root` mounted to `/target` and `/dev/vda1` -mounted to `/target/boot`. `/target` is the place where the Debian system files -will be installed. We need to change and set some things up so that it becomes a -btrfs subvolume. - -<figure> - <a href="/img/debian-with-btrfs/df.png"><img - src="/img/debian-with-btrfs/df.png" alt="The output of the df - command."/></a> -</figure> - -The first step is to unmount both `/target/boot` and then `/target` using the -`umount` command. - -Then, mount the btrfs root volume (i.e. the volume that used to be mounted to -`/target` hereby referred to as `BTRFS_VOLUME`) to `/mnt` and then `cd /mnt`. - -Create your desired subvolumes with `btrfs subvolume create SUBVOLUME_NAME`. I -have created `@`, `@home`, and `@snapshots`. - -Following this, `cd` back out of `/mnt` and unmount it. Then mount the root -subvolume to `/target` like so: `mount -o -noatime,compress=lzo,space_cache,subvol=@ BTRFS_VOLUME /target`. Then remount -this `BTRFS_VOLUME` to `/mnt` and `cd` into it again. - -Now we want to `mkdir -p /target/etc` and copy `/mnt/etc/fstab` (and -`/mnt/etc/crypttab` if you are using encrypted LVM volumes) into `/target/etc`. -Once this is done we can `rm -r /mnt/boot /mnt/etc /mnt/media` otherwise these -directories will remain in your final installation (which isn't a big deal but -this is done just for the sake of cleanliness). When this is done, unmount -`/mnt` again. - -The next step is to make the necessary subdirectories in `/target` for your -subvolumes. I did: `mkdir -p /target/home /target/.snapshots`. Now, mount the -rest of the subvolumes the same way as before like we did for the root -subvolume. Also, mount the boot partition (which in my case resides on -`/dev/vda1` to `/target/boot/efi` (or just `/target/boot` for a legacy BIOS -system). The following screenshots show the exact commands that I ran: - -<figure> - <a href="/img/debian-with-btrfs/commands-before-boot-mount.png"><img - src="/img/debian-with-btrfs/commands-before-boot-mount.png" alt="All of the - commands run as described above (minus mounting boot)."/></a> -</figure> - -<figure> - <a href="/img/debian-with-btrfs/boot-mount.png"><img - src="/img/debian-with-btrfs/boot-mount.png" alt="The commands run to mount - the boot partition."/></a> -</figure> - -Now, edit `/target/etc/fstab` (you must use `nano` as unfortunately there is no -version of `vi` in this busybox configuration) and add the relevant -entries to mount your subvolumes on boot. These should look the same as the -entry that already exists but you will have to change the options from `default` -to the ones that we used above when mounting our subvolumes and you will have to -change the mount points. For example, the line for mounting the root filesystem -will go from: - -`/dev/mapper/debianbtrfs--vg-root / btrfs defaults 0 0` - -to: - -`/dev/mapper/debianbtrfs--vg-root / btrfs -noatime,compress=lzo,space_cache,subvol=@ 0 0` - -Where the other lines will look similar: - -<figure> - <a href="/img/debian-with-btrfs/target-fstab.png"><img - src="/img/debian-with-btrfs/target-fstab.png" alt="The contents of the - /target/etc/fstab file after modification."/></a> -</figure> - -Once this is all done and you have saved your changes, you may exit out of this -terminal (<kbd>Ctrl</kbd> + <kbd>D</kbd>) and return to the installation -(<kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>F1</kbd>). Proceed with the -installation as normal and, when you boot, you should have a btrfs filesystem -working with subvolumes! - -As always, you can leave me feedback—positive or negative—using the feedback -email listed on the [Contact](/contact) page. Let me know if there are any ways -that this procedure could be optimized or if I have made any mistakes. - -Remember that I cannot be available to act as tech support so if you do get -stuck somewhere try asking in the many helpful areas of the internet such as the -<a href="http://forums.debian.net/">Debian User Forums</a>, the `#debian` IRC -channel on the Freenode network, or the `debian-user` mailing list. See this -resource for <a href="https://www.debian.org/support">more information on -getting help with Debian.</a> diff --git a/pages/guides/firefox-new-tab-dark.md b/pages/guides/firefox-new-tab-dark.md @@ -1,45 +0,0 @@ -## How to Make the New Tab Page Dark Themed in Firefox - -[//]: # "Firefox does a good job of using my system theme to colour its UI except for the New Tab page which remains blindingly white. Here's how to change that:" - -[//]: # "main.min.css" - -[//]: # - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2020-01-08 | - <b>Last Updated:</b> 2020-01-08 -</div> - -<b>Difficulty:</b> Beginner - -All of my desktop environments use the Arc-Dark theme. It's not too dark and it -also feels way easier on my eyes than most of the light themes out there. -Firefox does a good job of using my system theme to colour its UI except for the -New Tab page which remains blindingly white. - -Here is how you can change the background of the New Tab page: - -1. Navigate to your Firefox profile directory: - 1. Go to `about:support` using the address bar - 2. Click `Open Directory` next to the item in the table labelled "Profile - Directory" -2. Create the directory `chrome` in your Firefox profile directory if it doesn't - exist. -3. In the `chrome` directory, create the `userContent.css` file and populate it - with the following: - -<pre><code>@-moz-document url("about:newtab") { - body { - background-color: &lt;colour&gt; !important; - } -} -</code></pre> - -Replace `<colour>` with your desired colour. I configure my Firefox with -`#383c4a` because it's one of the colours that Arc-Dark features heavily so it -meshes well with my system theme. - -You may also want to set this for `"about:blank"` if you use a blank page as the -first page that opens when Firefox launches. diff --git a/pages/guides/using-rm-with-trash.md b/pages/guides/using-rm-with-trash.md @@ -1,55 +0,0 @@ -## Using the "rm" Command with Trash - -[//]: # "This guide will show you how to make `rm` remove a file to the Trash folder first so that you can prevent yourself from accidentally irreversibly deleting something really important." - -[//]: # "main.min.css" - -[//]: # "Introduction; Bash and Bash-like Shells; C Shell and TENEX C Shell; Explanation" - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2019-11-26 | - <b>Last Updated:</b> 2019-11-26 -</div> - -### Introduction - -<b>Difficulty:</b> Beginner - -Those who use regular file browsers like Nautilus, Dolphin, or Thunar are used -to having an item go into the Trash folder (or "Recycle Bin") when it is -deleted. This allows them to restore that file in the case that they -accidentally deleted it. However, the story is different on the command line. -The `rm` command will irreversibly delete a file from your system (short of -using data recovery techniques) and has no concept of a Trash folder. This guide -will show you how to make `rm` remove a file to the Trash folder first so that -you can prevent yourself from accidentally irreversibly deleting something -really important. - -### Bash and Bash-like Shells - -(This also works in `fish` shell) - -<pre><code>alias rm='mv -t $XDG_DATA_HOME/Trash/' -alias rm!='\rm' -</code></pre> - -### C Shell and TENEX C Shell - -<pre><code>alias rm 'mv -t $XDG_DATA_HOME/Trash/' -alias rm! '\rm' -</code></pre> - -### Explanation - -The aliases above do the following: - -* Alias `rm` to `mv` where any files specified will be moved to the standard - trash folder instead of being deleted. -* Alias `rm!` to the normal `rm` program which effectively makes `rm!` a - "permanently delete this" command. - -If you don't have `$XDG_DATA_HOME` defined (which you normally would if you're -running a standard desktop like Gnome or KDE) you can replace that bit with -whichever path you prefer such as `$HOME/.Trash`. The folder you choose must -already exist or else `mv` will be angry. diff --git a/pages/home.md b/pages/home.md @@ -29,7 +29,7 @@ page](/about). 2020-02-06 <a class="feed-item" href="blog/website-redesign">Blog: Making My Website More Accessible</a> -2020-01-08 <a class="feed-item" href="guides/firefox-new-tab-dark">Guide: How to Make the New Tab Page Dark Themed in Firefox</a> +2020-01-08 <a class="feed-item" href="https://wiki.paritybit.ca/wiki/index.php/How_to_Make_the_New_Tab_Page_Dark_Themed_in_Firefox">Guide: How to Make the New Tab Page Dark Themed in Firefox</a> 2019-12-31 <a class="feed-item" href="projects/borderlands-3-dps-calculator">Project: Borderlands 3 DPS Calculator</a> diff --git a/pages/projects.md b/pages/projects.md @@ -6,10 +6,6 @@ [//]: # -<a class="rss-icon" href="/feeds/projects-feed.xml"> <img -src="/img/feed-icon.png" width="15px" height="15px" alt="Click for RSS"/> -Subscribe to the projects feed</a> - Projects that I am currently working on or have finished. Some of the projects below are hosted on this website as small web-based diff --git a/public/feeds/blog-feed.xml b/public/feeds/blog-feed.xml @@ -1,687 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> -<channel> -<atom:link href="https://www.paritybit.ca/feeds/blog-feed.xml" rel="self" type="application/rss+xml" /> -<title>paritybit.ca - Blog</title> -<link>https://www.paritybit.ca</link> -<description>The latest blog posts from paritybit.ca. -</description> -<item> - <title>New Blog Post: Redesigning My Website's Logo</title> - <link>https://www.paritybit.ca/blog/logo-redesign</link> - <guid>https://www.paritybit.ca/blog/logo-redesign</guid> - <pubDate>Fri, 28 Feb 2020 22:13:08 -0500</pubDate> - <description><![CDATA[<h2>Redesigning My Website's Logo</h2> - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2020-02-28 | - <b>Last Updated:</b> 2020-02-28 -</div> - -<p>I got tired of the way my old logo looked so when my website redesign was -complete I endeavoured to completely redesign my logo. I wanted a logo that was -simple and clean looking but also supported being extended through adding -different symbols which represent whichever paritybit site one is visiting. I -also wanted it to be simple and clear enough that it could be recognizable at -many different sizes which is important for a logo which will also be used as a -favicon. A simple logo is also easier to print on mugs and t-shirts ;)</p> - -<p>I used <a href="https://inkscape.org/">Inkscape</a> to create my logo. Inkscape is a -cross-platform, FLOSS vector graphics editor which I found to be intuitive to -use. It was important that the master copy of my logo be in SVG format so that -it can be scaled to many sizes without becoming pixellated.</p> - -<p>After some work, trials, and revisions, I arrived at the following base logo -design: -<figure> - <a href="/img/logo-256.png"><img src="/img/logo-256.png" - alt="The new logo's base design."/></a> -</figure> -Compare that to the old logo: -<figure> - <a href="/img/old-logo.png"><img src="/img/old-logo.png" - alt="The old paritybit.ca logo."/></a> -</figure> -I liked the colour scheme from my old logo so I decided to keep that. The yellow -circle part of the base design is the spot where I put symbols or emblems to -differentiate one paritybit.ca site or service from another. Take a look below -at the logos for this website and <a href="https://git.paritybit.ca">git.paritybit.ca</a> -respectively: -<figure> - <a href="/img/logo-main-256.png"><img src="/img/logo-main-256.png" - alt="The new logo design for this website."/></a> -</figure> -<figure> - <a href="/img/logo-git-256.png"><img src="/img/logo-git-256.png" - alt="The new logo design for git.paritybit.ca."/></a> -</figure> -It took me a long time to decide on an appropriate symbol to represent my -website as a whole. I tried some designs related to parity bits similar to my -old logo but none of them felt right. While doing something completely -unrelated, the <a href="http://www.catb.org/hacker-emblem/faqs.html">glider emblem</a> -popped into my mind and I immediately felt that it would be the perfect symbol -to incorporate into my site's logo. I feel this "hacker emblem" represents the -general values that I want this site to encourage and promote. Particularly, the -values of collaboration and openness.</p> - -<p>In addition, this logo doesn't just represent paritybit.ca; I also use the logo -with the glider as my profile picture across the Internet. It's become a -personal emblem that represents me <em>and</em> my website.</p> - -<p>Luckily, coming up with a design for the git.paritybit.ca logo was much easier. -The licensing information of the Git Logo and the place from where I obtained it -are all detailed in the README of the <a href="https://git.sr.ht/~jbauer/paritybit.ca">paritybit.ca git -repository</a> -(<a href="https://git.paritybit.ca/jbauer/paritybit.ca">mirror</a>). The SVG files for -these logos are also in the repository under the <code>build/</code> directory.</p> - -<p>Finally, in order to make sure that my logo looked good on every platform, I -used a service called <a href="https://realfavicongenerator.net/">Real Favicon -Generator</a> which takes a logo and generates -the required files, sizes, and formats to make the image appear properly on -every platform. This way, my logo will look good in the browser, on the home -screen of an Android or iOS phone, and even on a MacBook Pro's touch bar. I -highly recommend this service for checking and generating favicons for every -platform. It saved a lot of manual work.</p> - -<p>Happy hacking!</p>]]></description> -</item> -<item> - <title>New Blog Post: Making My Own Vim Statusline</title> - <link>https://www.paritybit.ca/blog/making-my-own-vim-statusline</link> - <guid>https://www.paritybit.ca/blog/making-my-own-vim-statusline</guid> - <pubDate>Mon, 24 Feb 2020 22:42:05 -0500</pubDate> - <description><![CDATA[<h2>Making My Own Vim Statusline</h2> - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2020-02-24 | - <b>Last Updated:</b> 2020-02-24 -</div> - -<p>I was playing around with a plugin that I came across while browsing -<a href="https://old.reddit.com/r/vim">r/vim</a> called -<a href="https://github.com/dstein64/vim-startuptime">vim-startuptime</a>. It's a vim -plugin by Daniel Steinberg (<a href="https://github.com/dstein64">dstein64</a> on GitHub) -which measures the amount of time each component of your vim configuration takes -to load when you launch vim. This way, you can get an idea of what is taking the -most time and causing your previously-lightning-quick text editor to take what -feels like an eternity to become ready.</p> - -<p>I took 5 measurements, back to back, opening my vimrc and I noticed that my vim -configuration was taking roughly 132.35ms on average to finish loading (with a -standard deviation of 2.69ms). Although that sounds fast, it was definitely -noticeable as it was just past the <a href="https://www.nngroup.com/articles/response-times-3-important-limits/">100ms commonly accepted -limit</a> for -a user interface to feel like it was responding instantaneously. Below is a -video showing a very clear and noticable delay when launching vim:</p> - -<p><figure> - <video controls> - <source src="/img/vim-airline.mp4" type="video/mp4"> - Your browser does not support the video tag, try the download links below. - </video> -</figure></p> - -<ul> -<li><a href="/img/vim-airline.mp4">Download the mp4 video (310K)</a></li> -<li><a href="/img/vim-airline.gif">Download a GIF (4.7M)</a></li> -</ul> - -<p>Although vim-startuptime showed me a graph of each component's execution time, -the statistics shown didn't reveal a specific component that could be causing -the startuptime to be this long. In fact, it appeared that it was the cumulative -effect of loading each of my plugins and parsing my vimrc which was causing the -overall startuptime to be noticeably long. So, I decided to figure out if this -was the case by experimenting. I removed all of my plugins (but kept my vimrc -the same) and, as expected, my startuptime dropped to the 20ms range. -One-by-one, I added my plugins back in. To my surprise, I noticed a huge jump in -startuptime when I added vim-airline back in. Vim-airline was the plugin that I -was using to display an aesthetically pleasing statusbar and buffer bar at the -bottom and top of my vim windows respectively and it was causing my startuptime -to effectively double! No other plugin had that drastic of an effect.</p> - -<p>I decided, then, that I was going to replace vim-airline with my own custom -statusline.</p> - -<p>I used a <a href="https://irrellia.github.io/blogs/vim-statusline/">blog post by -Irrellia</a> to get me started -and found that it was actually really easy to make a good-looking and functional -statusline. About 100 lines of vimscript later and I had a customized statusline -that fulfilled my needs and looked really good (in my humble opinion). I also -put my custom statusline into a plugin folder in my <code>.vim/bundle/</code> directory so -that it would be automatically loaded by Pathogen as if it was a regular plugin.</p> - -<p>I will fully admit that I pretty much copied the colour scheme used in the -tutorial verbatim because I really liked the way it looked. Little did I know, -this would start a whole week of tinkering with my setup (I'll get into that in -an upcoming blog post).</p> - -<p>Something that I missed from vim-airline was that top line which displayed a -list of open buffers and highlighted the currently active buffer. I thought -about doing it myself but the implementation looked a little too complicated for -my mediocre vimscript skills. Instead, I replaced that specific functionality -with another, really lightweight plugin called -<a href="https://github.com/ap/vim-buftabline">vim-buftabline</a>.</p> - -<p>Once I was finished tinkering, I tested my new custom statusline (with the -vim-buftabline plugin too) using the same method which I used to test my -previous configuration and found that the average startup time had dropped to a -mere 66.85ms (with a standard deviation of 1.79ms)! That's a roughly 2 times -improvement in speed; it felt instantaneous again! Here, have a look at the -video below:</p> - -<p><figure> - <video controls> - <source src="/img/vim-no-airline.mp4" type="video/mp4"> - Your browser does not support the video tag, try the download links below. - </video> -</figure></p> - -<ul> -<li><a href="/img/vim-no-airline.mp4">Download the mp4 video (310K)</a></li> -<li><a href="/img/vim-no-airline.gif">Download a GIF (4.7M)</a></li> -</ul> - -<p>I've put my statusline in its own git repository which you can find <a href="https://git.sr.ht/~jbauer/vim-fastline">on -sourcehut</a> or <a href="https://git.paritybit.ca/jbauer/vim-fastline">on my self-hosted git -server</a>. I've decided to call it -vim-fastline. I don't plan to do anything even remotely comparable to -vim-airline with it but I want to make it available in case others want to hack -on it.</p> - -<p>Not only was it fun and educational to program my own statusline, it had -significant performance benefits, and it now sort of feels like my vim -configuration is much more personal and not just a collection of plugins. It -feels like it's <em>"my configuration</em>" if that makes sense. I encourage you to -give it a try even if you're happy with your current configuration.</p> - -<p>Happy hacking!</p>]]></description> -</item> -<item> - <title>New Blog Post: Switching from urxvt to st</title> - <link>https://www.paritybit.ca/blog/urxvt-to-st</link> - <guid>https://www.paritybit.ca/blog/urxvt-to-st</guid> - <pubDate>Fri, 14 Feb 2020 22:34:26 -0500</pubDate> - <description><![CDATA[<h2>Switching from urxvt to st</h2> - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2020-02-14 | - <b>Last Updated:</b> 2020-02-14 -</div> - -<p>I spend most of my time working in the terminal. Whether it's email with -Neomutt, music with ncmpcpp, programming with Neovim, or administrating my -systems, I feel the most comfortable and in control when using the terminal. -That's why it's really important for me to have a terminal application that -performs well, feels good to use, and has every feature that I need without me -noticing that something isn't working or doesn't look quite right.</p> - -<p>Unfortunately, since I started using urxvt about a year ago now, I've slowly -begun to notice things missing or not working quite right. For example, despite -being called "rxvt-unicode-256color", urxvt doesn't really handle unicode -characters that well. Take a look at the example below:</p> - -<p><figure> - <a href="/img/urxvt-vim.png"><img src="/img/urxvt-vim.png" alt="A screenshot of neovim - in urxvt showing the statusline with two boxes where unicode characters - should be."/></a> -</figure></p> - -<p>This was really noticeable and, even though those unicode characters aren't -super important, it would still annoy me when I saw boxes where characters -should be. This was even worse when I was browsing the Internet using lynx in -urxvt (this page is the <a href="https://www.w3schools.com/charsets/ref_utf_symbols.asp">W3 Schools HTML5 Symbols -Reference</a>:</p> - -<p><figure> - <a href="/img/urxvt-lynx.png"><img src="/img/urxvt-lynx-thumb.png" alt="A screenshot - of lynx in urxvt on an HTML5 symbols reference page showing boxes where - unicode symbols should be."/></a> -</figure></p> - -<p>Not to mention, urxvt doesn't have truecolour support which, while not super -important to me, is definitely a bonus in st's favour. The screenshot below -shows urxvt's output for <a href="https://gist.github.com/XVilka/8346728">this truecolour test</a>:</p> - -<p><figure> - <a href="/img/urxvt-tc.png"><img src="/img/urxvt-tc.png" alt="A screenshot of urxvt's - output when tested for truecolour support where there isn't a smooth colour - gradient and many characters don't look right."/></a> -</figure></p> - -<p>I heard about st from other people on the Internet and from videos that I came -across on Youtube and it intrigued me because of Suckless' (the creators of st) -unique philosophy regarding software development. I also gave other terminals a -try but either found them to need far too many dependencies (e.g. konsole, -xfce4-terminal) or to just have far too many unnecessary features or feel slow -to load (e.g. kitty). So I decided to give st a shot.</p> - -<p>Once I got done configuring it, and patching it with the couple additions that I -wanted (a scrollback buffer and the ability to copy URLs so that I could open -them in my browser), I compiled it and started playing around with it. -Immediately I noticed that it felt just as fast as urxvt, it used less -RAM (something like 10-15M per window instead of 20-25M), and, when testing -side-by-side with urxvt, I would sometimes forget which terminal was which -because st looked and felt just like urxvt. It was essentially a drop-in -replacement even for the scripts that I have which launched applications using -urxvt.</p> - -<p>But of course, I was really after better unicode and truecolour support. St -delivered perfectly, despite only being told to use my regular font (fallback -fonts aren't supported in st without a patch). Have a look:</p> - -<p><figure> - <a href="/img/st-vim.png"><img src="/img/st-vim.png" alt="A screenshot of neovim in st - showing the statusline with the correct characters displayed."/></a> -</figure></p> - -<p><figure> - <a href="/img/st-lynx.png"><img src="/img/st-lynx-thumb.png" alt="A screenshot of lynx - in st on an HTML5 symbols reference page showing the right unicode - symbols."/></a> -</figure></p> - -<p><figure> - <a href="/img/st-tc.png"><img src="/img/st-tc.png" alt="A screenshot of st's output - when tested for truecolour support where there is the expected smooth colour - gradient."/></a> -</figure></p> - -<p>I am very happy with st and I don't at all mind the fact that I have to -re-compile it when I want to make changes or if a new version is released. It -feels like a personal build of the software tailored to my needs without -anything else that I don't need or don't want.</p> - -<p>If you want to try out st, follow this link to the <a href="https://st.suckless.org/">st -website</a>. You can view my build of st in <a href="https://git.sr.ht/~jbauer/dotfiles">my dotfiles -repository</a>.</p>]]></description> -</item> -<item> - <title>New Blog Post: Making My Website More Accessible</title> - <link>https://www.paritybit.ca/blog/website-redesign</link> - <guid>https://www.paritybit.ca/blog/website-redesign</guid> - <pubDate>Thu, 06 Feb 2020 22:06:19 -0500</pubDate> - <description><![CDATA[<h2>Making My Website More Accessible</h2> - -<p>[//]: # ""</p> - -<div class="byline"> -<b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2020-02-06 | - <b>Last Updated:</b> 2020-02-06 -</div> - -<p>For about one and a half months now I've been working on redesigning -paritybit.ca to make it more accessible. In that time I've completely overhauled -the design of the website to make it scale better on different screen sizes and -make use of as many accessibility features as I can. I've gone from this:</p> - -<p><figure> - <a href="/img/website-before.png"><img - src="/img/website-before-thumb.png" alt="My website before the redesign." /></a> - <figcaption>My website before the redesign.</figcaption> -</figure></p> - -<p>To this:</p> - -<p><figure> - <a href="/img/website-after.png"><img - src="/img/website-after-thumb.png" alt="My website after the redesign." /></a> - <figcaption>My website after the redesign.</figcaption> -</figure></p> - -<p>Which I think also looks a lot better and cleaner in addition to being much -better in terms of accessibility.</p> - -<p>To make my website more accessible, I've added page landmarks using <code>&lt;header&gt;</code>, -<code>&lt;nav&gt;</code>, <code>&lt;main&gt;</code>, <code>&lt;footer&gt;</code>, and <code>&lt;section&gt;</code> tags to make it easier for those -with screen readers to navigate throughout the macro-structure of the page, I -re-designed the link styling to make differing between regular text and links -easier, I shrunk the width of the page to keep the text within a reasonable -field of view so that you don't have to move side to side while reading, I -increased the font size, and I made heavy use of a contrast checker to make sure -that my colours had a bare minimum contrast ratio of 4.5:1 (WCAG AA) with an -ideal goal of 7:1 (WCAG AAA) for regular text. I also ran my colour scheme -through the Toptal Colour Blind Filter website to make sure that the different -colours I chose didn't cause critical issues with understanding page content for -the (quite sizeable) population with a form of colourblindness.</p> - -<p>I also tested my website using Firefox's built-in accessibility tools which -notified me of anything that I may have missed with other tools and helped me -realize that I was being dumb with the way I added internal page links for pages -with a table of contents.</p> - -<p>As the ultimate test, I used the Orca screen reader software so that I could -experience my website as someone who actually needs to use screen reader -software would experience it.</p> - -<p>In terms of page content, I made sure that all of my images have <code>alt</code> text, all -of my links are descriptive instead of just reading "click here" or "this", and -all of my <code>&lt;input&gt;</code> elements have a <code>label</code> tag.</p> - -<p>In addition to accessibility for those with disabilities, I also made my website -more accessible to those with slower internet connections by attempting to -optimize page loading times by shrinking images and keeping requests down to a -minimum. The only thing I didn't do was embed images, no matter how small, into -my HTML because that would needlessly increase page sizes for those who browse -using browsers that don't render images or display favicons. I tried to make my -website look good with any browser, no matter how old.</p> - -<p>I also took this opportunity to add a light-mode theme to the website by making -use of the <code>@media</code> query <code>prefers-color-scheme: light</code>. If you are using a -light OS theme, you should be able to see my website in a light colour scheme.</p> - -<p>Below is a list of resources that I used in redesigning my website:</p> - -<p><a href="https://contrast-finder.tanaguru.com/">Tanaguru Contrast Finder</a> -<a href="https://www.toptal.com/designers/colorfilter">Toptal Colour Blind Filter</a> -<a href="https://anybrowser.org/campaign/">Viewable with Any Browser</a> -<a href="https://webaim.org/resources/contrastchecker/">WebAIM Contrast Checker</a> -<a href="http://romeo.elsevier.com/accessibility_checklist/">Website Accessibility Checklist</a> -<a href="https://www.w3.org/WAI/fundamentals/accessibility-intro/">W3 Introduction to Accesibility</a> -<a href="https://www.w3.org/WAI/tutorials/page-structure/regions/">W3 Page Structure Explanation</a> -<a href="https://www.w3schools.com/css">W3 Schools CSS Reference</a></p>]]></description> -</item> -<item> - <title>New Blog Post: Automating the Publishing of Articles</title> - <link>https://www.paritybit.ca/blog/automating-publishing</link> - <guid>https://www.paritybit.ca/blog/automating-publishing</guid> - <pubDate>Mon, 30 Dec 2019 02:01:37 -0500</pubDate> - <description><![CDATA[<h2>Automating the Publishing of Articles</h2> - -<p><b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2019-12-30 | - <b>Last Updated:</b> 2019-12-30</p> - -<p>If you're seeing this, it means my automation script worked perfectly.</p> - -<p>There was too much manual work involved in publishing things to my website.</p> - -<p>In order to publish a blog post, guide, or project to my site I had to:</p> - -<ul> -<li>Write the RSS feed entry manually.</li> -<li>Copy the RSS feed entry from the sitewide feed to the relevant other feed -(blog-, project-, or guide-specific feeds).</li> -<li>Manually add an entry under the What's New heading on the <a href="/">home page</a> -and delete the oldest entry.</li> -<li>Manually add an entry under the relevant category page (i.e. <a href="/blog">/blog</a>, -<a href="/guides">/guides</a>, or <a href="/projects">/projects</a>).</li> -<li>Manually compile and upload each of these pages.</li> -</ul> - -<p>Since all of that is relatively easy to automate, I went ahead and wrote <a href="https://git.sr.ht/~jbauer/paritybit.ca/tree/master/publish">a -script</a> to do all of -that for me. All I have to do now is call <code>./publish &lt;type&gt; &lt;file&gt;</code> and -everything listed above is done for me.</p> - -<p>Not only does this get rid of a lot of potential for error in the process, it -also makes it a lot easier for me to post things which will enable me to post -more frequently without having to worry about all the work that came along with -posting something new.</p> - -<p>The script took me about 3-4 hours to brainstorm, write, realise that I was -doing things inefficiently, look some stuff up on Stackoverflow, rewrite, -realise that I wanted it to do more than just make RSS feeds (which is all I -planned to automate at first), brainstorm some more, look some more stuff up on -Stackoverflow, write some more, and then test and tweak.</p>]]></description> -</item> -<item> - <title>New Blog Post: How to Argue Effectively</title> - <link>https://www.paritybit.ca/blog/arguing-effectively</link> - <guid>https://www.paritybit.ca/blog/arguing-effectively</guid> - <pubDate>Sun, 22 Dec 2019 00:00:00 +0000</pubDate> - <description><![CDATA[ - <p>A friend recently shared this <a - href="https://perfect24hours.com/how-to-argue-effectively/">article - on arguing effectively</a> with me and I highly recommend that - everyone give it a read. It's 31 pointers on how to argue effectively - with people so that you can have productive discussions to avoid - frustration and anger on both sides.</p>]]> - </description> -</item> -<item> - <title>New Blog Post: The Difficulty of Educating People About Online Privacy</title> - <link>https://www.paritybit.ca/blog/difficulty-of-privacy-education</link> - <guid>https://www.paritybit.ca/blog/difficulty-of-privacy-education</guid> - <pubDate>Sat, 21 Dec 2019 01:50:00 +0000</pubDate> - <description><![CDATA[ - <p><em>Update: I just finished listening to the latest Jupiter Extras - podcast entitled <a - href="https://www.jupiterbroadcasting.com/137997/brunch-with-brent-jason-spisak-part-2-jupiter-extras-41/">Brunch - with Brent: Jason Spisak Part 2</a> in which they touch on this - topic a bit. It's definitely worth a listen.</em></p> <p>I've - recently been reflecting on the difficulty that I've had in - conversations with people about online privacy where it is frustratingly - difficult to get them to care about who has their data and how it is - being misused.</p> <p>I have given it some thought and come upon three - major sticking points in my conversations with others about online - privacy (which also apply to any kind of debate in general):</p> - <h3>Stubbornness</h3> <p>When someone is really set in their ways, it is - exceedingly difficult to get them to consider changing their behaviour. - For some people, even mentioning that something they are doing (or not - doing) is perhaps wrong or detrimental to them is equivalent to - insulting their favourite childhood television programme.</p> <p>There - are also usually many logical fallacies and other psychological effects - that people fall into which contributes to this. For example, if someone - has purchased a $100 smart home lady cylinder, they may try to defend - themselves against the feeling of buyer's remorse if you are telling - them that this big purchase may have been a bad choice.</p> <p>Usually, - if you persist enough in subtle ways, you can erode someone's - stubbornness by exposing them to things like news articles and practical - examples of data breaches and privacy violations but you obviously don't - want to be a gnat in their ear constantly pestering them about this.</p> - <h3>Ignorance</h3> <p>To the chagrin of myself and many of my colleagues, - most of the general public are not familiar with even the most basic - workings of the devices which we use every day. Most people don't know - what a hash is nor would they be familiar with the many ways that - attackers can steal their personal information.</p> <p>Even those who - are relatively tech-savvy, as in those who are able to build their own - computers and install their own operating system, are not necessarily - knowledgeable about online privacy.</p> <p>This makes it really - difficult because the points that you are making sound really obvious to - you but to others it sounds like you're either speaking gibberish or - being overly paranoid. If you have to give someone a complicated and - technical crash course on the topic of which you are trying to convince - them before you can even begin to convince them, you have most likely - already failed to convince them.</p> <h3>Apathy</h3> <p>This is probably - the worst of all three. When you are very passionate about a subject and - want to educate others so that they can better protect themselves or be - more aware of their data, the worst thing is that they will simply not - care. In my experience, there is nothing you can do about this. The - only way to get someone to care and take action is to watch them fail to - the point where they recognize that they can't not care anymore. Even - that isn't guaranteed as some people, no matter how much they get hurt - by something, will just carry on.</p> <p>There really isn't all that - much that we can do besides present our arguments, politely attempt to - present evidence, and let the news headlines do the rest of the - convincing for us. Sometimes getting the other person to explain their - position in detail can be an effective tactic in making them realise - that their reasoning is flawed but, even then, in the end it seems many - people will always choose convenience over all else despite the - overwhelming evidence that their choices could cause them significant - harm.</p> <p>I'd be interested to know what, if any, strategies you have - for discussing online privacy with others. Let me know by <a - href="mailto:feedback@paritybit.ca">sending me an email</a>.</p>]]> -</description> -</item> -<item> - <title>New Blog Post: China</title> - <link>https://www.paritybit.ca/blog/china</link> - <guid>https://www.paritybit.ca/blog/china</guid> - <pubDate>Sat, 23 Nov 2019 05:30:00 -0400</pubDate> - <description><![CDATA[ -<h2>China</h2> - -<p><b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2019-11-23 | - <b>Last Updated:</b> 2019-11-23</p> - -<p>I have just finished reading <a href="https://drewdevault.com/2019/11/20/China.html">Drew DeVault's most recent blog -post</a> in which he writes about -China.</p> - -<p>Although I too would prefer to keep politics and world affairs out of my blog, I -am in complete agreement with him in that it would also betray my personal -beliefs and principles to remain publicly silent about what is taking place in -China and in Hong Kong right now.</p> - -<p>I strongly recommend that anyone who is reading this should read the blog post -linked above in its entirety. Every word is important.</p> - -<p>I have already been boycotting Chinese products and the companies that have -given in to China's ridiculous demands (e.g. Apple, Blizzard, Gap Inc., etc.) as -much as I possibly can and I have encouraged my friend groups to do so as well. -I have also written a letter to my member of Parliament (I encourage you to -write physical letters as they are at least slightly harder to ignore than an -email).</p> - -<p>I know it's not easy to boycott, especially if you are in the market for -electronics, but I believe that it is our moral imperative to do as much as we -possibly can to protest the actions of the Chinese government and to show our -support for the citizens of Hong Kong in their fight for the same freedoms and -democracy that we in the West take for granted.</p> - -<p>The excuse, "Boycotting/Writing to my representative/speaking up is useless, I -am just one person.", is an old and tired one that people use so they can put -the issues of the day at the back of their minds and keep living life as if -thousands of people fighting for their freedom aren't being slaughtered like -dogs. Don't be the kind of person who stands by and watches as this happens.</p> - -<p>If you're wondering, "What else can I do?", here are some links:</p> - -<p><a href="https://caffeine-overload.github.io/bandinchina/">Band in China</a> – A list of -what can be done to support Hong Kong.</p> - -<p><a href="https://caffeine-overload.github.io/bandinchina/#blacklist">Company -Blacklist</a> -– A list of companies you should boycott for spinelessly complying with the -demands of China.</p> - -<p><a href="https://caffeine-overload.github.io/bandinchina/#whitelist">Company Whitelist</a> -– A list of companies that have stood up to China. These are companies/people -you should support but some you should still keep a close eye on such as Epic -Games who are partially owned by the Chinese company Tencent.</p> - -<p>If you have already written to your representative, boycotted companies, and -spread the word about China's despicable actions then I sincerely thank you for -being a good person and standing up for what you believe in. I also encourage -you to take a look at some of the other protests that have been happening around -the world in places like Spain, Lebanon, and Bolivia. Some similar to Hong Kong, -others about things like climate change and income inequality. <a href="https://www.bbc.com/news/world-50123743">Here is an -article by the BBC</a>.</p> - -<p>To close out this post, I want to share one of my favourite quotes/poems:</p> - -<pre><code>First they came for the Communists -And I did not speak out -Because I was not a Communist - -Then they came for the Socialists -And I did not speak out -Because I was not a Socialist - -Then they came for the trade unionists -And I did not speak out -Because I was not a trade unionist - -Then they came for the Jews -And I did not speak out -Because I was not a Jew - -Then they came for me -And there was no one left -To speak out for me - --- Martin Niemöller, 1946 -</code></pre> - ]]></description> -</item> -<item> - <title>New Page: Blogroll - Check out some blogs from other cool people</title> - <link>https://www.paritybit.ca/blog/blogroll</link> - <guid>https://www.paritybit.ca/blog/blogroll</guid> - <pubDate>Sat, 02 Nov 2019 03:30:00 -0400</pubDate> - <description>Check out this collection of blogs from other people who write - about the same/similar stuff that I do. If you're interested in the - stuff that I write about then you'll probably also be interested in what - these folks have to say.</description> -</item> -<item> - <title>New Blog Post: Why I Switched Back to Firefox from Qutebrowser</title> - <link>https://www.paritybit.ca/blog/qutebrowser-to-firefox</link> - <guid>https://www.paritybit.ca/blog/qutebrowser-to-firefox</guid> - <pubDate>Thu, 20 Jun 2019 04:00:00 +0000</pubDate> - <description><![CDATA[ -<h2>Why I Switched Back to Firefox from Qutebrowser</h2> - -<p><b>Written By:</b> Jake Bauer | - <b>Posted:</b> 2019-06-20 | - <b>Last Updated:</b> 2019-06-20</p> - -<p>I've been using qutebrowser for about six months now as my primary browser after -switching to it from GNU/IceCat seeking a browsing experience with solid -vim-like controls. At first, I enjoyed the simplicity and shortcuts afforded by -qutebrowser but noticed more and more issues as time went on. Qutebrowser, while -very usable as a browser, falls short in some key areas that are important to -me.</p> - -<p>Privacy online is something that is very important to me and should be important -to everyone who uses the internet. It's one of the reasons I donate to the -<a href="https://www.eff.org">Electronic Frontier Foundation</a> and probably -the biggest reason I switched back to Firefox from qutebrowser. Although there -are limited things you can do in qutebrowser to block some trackers such as -changing your user agent string, it is still quite limited compared to Firefox. -You have to launch qutebrowser with a command line flag just to disable reading -from the HTML canvas and there isn't even an option to disable WebRTC. This is -in stark contrast to Firefox which—even ignoring the capabilities of extensions -such as <a href="https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/">Privacy Badger</a> -and <a href="https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/">uBlock Origin</a>—allows -you to enable privacy features like fingerprinting resistance and disable -potentially bad features like WebRTC from within the built-in configuration -window.</p> - -<p>Another big factor is that some sites which I would use would have elements that -wouldn't load or work properly in qutebrowser and I would have to switch over to -Firefox to use them. For example, I run a Proxmox virtualization host on my -server and any time I tried view my virtual machines using noVNC or Spice, the -screens would be black and it wouldn't work. Another issue happens when websites -update search suggestions live as you type. With the way some websites would do -this, I would get kicked out of insert mode in the middle of typing which would -usually result in the tab suddenly closing or me activating something I didn't -intend to activate since I was booted back to normal mode. This made for a very -frustrating browsing experience on those websites. This specific point isn't so -much a fault with qutebrowser and more a fault with some modern websites but, -alas, it made using Firefox feel that much smoother and better.</p> - -<p>I also found Firefox much easier to develop on compared to qutebrowser. It could -be because I'm just not used to the Chromium-family set of web development tools -but I find Firefox's set much more intuitive and the easy-to-use live stylesheet -editor makes it really easy for me to experiment with what my web pages look -like right in the browser. Plus I found the network-related tools easier to -understand and navigate in Firefox than in qutebrowser.</p> - -<p>Those are the big three reasons why I switched back to Firefox but I did have -some other very minor problems which, when put all together, pushed me over the -edge to switch. The first of which is that, since I use KeePassXC as my password -manager, the extension available for Firefox makes it much more convenient to -enter my credentials instead of having to copy-paste. The second is that Firefox -is using the Gecko web rendering engine which I feel better about using due to -Mozilla's commitment to a free and open web. The last minor reason for making me -switch is that Firefox has multiple extensions which enable vim-like controls. -Although these can't be as full-featured as a browser designed around those -controls, I have found the one I am using—<a -href="https://addons.mozilla.org/en-US/firefox/addon/vim-vixen/">Vim -Vixen</a>—to be good enough for my uses.</p> - -<p>Overall, qutebrowser still is a commendable browser and, if the reasons I listed -above don't really concern you that much, I would recommend checking it out. -Unfortunately it didn't fit well with what I wanted out of a browser and that's -why I switched from qutebrowser to Firefox.</p> - ]]></description> -</item> -</channel> -</rss> diff --git a/public/feeds/guides-feed.xml b/public/feeds/guides-feed.xml @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> -<channel> -<atom:link href="https://www.paritybit.ca/feeds/guides-feed.xml" rel="self" type="application/rss+xml" /> -<title>paritybit.ca - Guides</title> -<link>https://www.paritybit.ca/guides</link> -<description>The feed that covers all notable additions and updates to the - Guides section of paritybit.ca. </description> -<item> - <title>New Guide: How to Make the New Tab Page Dark Themed in Firefox</title> - <link>https://www.paritybit.ca/guides/firefox-new-tab-dark</link> - <guid>https://www.paritybit.ca/guides/firefox-new-tab-dark</guid> - <pubDate>Wed, 08 Jan 2020 18:44:53 -0500</pubDate> - <description><![CDATA[<p><strong>Difficulty:</strong> Beginner</p> - -<p>All of my desktop environments use the Arc-Dark theme. It's not too dark and it -also feels way easier on my eyes than most of the light themes out there. -Firefox does a good job of using my system theme to colour its UI except for the -New Tab page which remains blindingly white.</p> - -<p>Here is how you can change the background of the New Tab page:</p> - -<ol> -<li>Navigate to your Firefox profile directory: -<ol> -<li>Go to <code>about:support</code> using the address bar</li> -<li>Click <code>Open Directory</code> next to the item in the table labelled "Profile -Directory"</li> -</ol></li> -<li>Create the directory <code>chrome</code> in your Firefox profile directory if it doesn't -exist.</li> -<li>In the <code>chrome</code> directory, create the <code>userContent.css</code> file and populate it -with the following:</li> -</ol> - -<pre><code>@-moz-document url("about:newtab") { - body { - background-color: &lt;colour&gt; !important; - } -} -</code></pre> - -<p>Replace <code>&lt;colour&gt;</code> with your desired colour. I configure my Firefox with -<code>#383c4a</code> because it's one of the colours that Arc-Dark features heavily so it -meshes well with my system theme.</p> - -<p>You may also want to set this for <code>"about:blank"</code> if you use a blank page as the -first page that opens when firefox launches.</p>]]></description> -</item> -<item> - <title>New Guide: Using the "rm" Command with Trash</title> - <link>https://www.paritybit.ca/guides/using-rm-with-trash</link> - <guid>https://www.paritybit.ca/guides/using-rm-with-trash</guid> - <pubDate>Tue, 26 Nov 2019 18:05:00 +0000</pubDate> - <description>This guide will show you how to make `rm` remove a file to the - Trash folder first so that you can prevent yourself from accidentally - irreversibly deleting something really important.</description> -</item> -<item> - <title>New Guide: Installing Debian 10 Buster with Encrypted LVM and btrfs Subvolumes</title> - <link>https://www.paritybit.ca/guides/debian-with-btrfs</link> - <guid>https://www.paritybit.ca/guides/debian-with-btrfs</guid> - <pubDate>Tue, 16 Jul 2019 04:00:00 +0000</pubDate> - <description>One thing that some people may want to try is installing Debian - using btrfs as their primary file system. Debian currently supports - formatting partitions with btrfs, but doesn't support creating - subvolumes from within the installer. This tutorial will tell you how to - set up a Debian 10 Buster system with btrfs using subvolumes on your - root filesystem from within the installer. I will also cover how to do - this with LVM encrypted volumes.</description> -</item> -</channel> -</rss> diff --git a/public/feeds/projects-feed.xml b/public/feeds/projects-feed.xml @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> -<channel> -<atom:link href="https://www.paritybit.ca/feeds/projects-feed.xml" rel="self" type="application/rss+xml" /> -<title>paritybit.ca - Projects</title> -<link>https://www.paritybit.ca/projects</link> -<description>The feed that covers all notable additions and updates to the - Projects section of paritybit.ca. </description> -<item> - <title>New Project: Borderlands 3 DPS Calculator</title> - <link>https://www.paritybit.ca/projects/borderlands-3-dps-calculator</link> - <guid>https://www.paritybit.ca/projects/borderlands-3-dps-calculator</guid> - <pubDate>Tue, 31 Dec 2019 22:43:34 -0500</pubDate> - <description><![CDATA[A mostly-comprehensive web-based utility to calculate the DPS of weapons in the -Borderlands 3 video game. This project was submitted by a friend of mine with -some tweaks/improvements to the code done by me.]]></description> -</item> -<item> - <title>New Project: usrmnt</title> - <link>https://www.paritybit.ca/projects/usrmnt</link> - <guid>https://www.paritybit.ca/projects/usrmnt</guid> - <pubDate>Sat, 21 Dec 2019 07:10:00 +0000</pubDate> - <description>A small utility to mount, unmount, unlock, etc. your devices - from the terminal with an intuitive command syntax and using an - intuitive text-based UI.</description> -</item> -<item> - <title>New Project: Morrowind Character Roller</title> - <link>https://www.paritybit.ca/projects/morrowind-character-roller</link> - <guid>https://www.paritybit.ca/projects/morrowind-character-roller</guid> - <pubDate>Sat, 10 Aug 2019 05:00:00 +0000</pubDate> - <description>Generate a random scenario for role-playing a character in TES - III: Morrowind. </description> -</item> -</channel> -</rss> diff --git a/public/sitemap.xml b/public/sitemap.xml @@ -19,10 +19,6 @@ <url><loc>https://www.paritybit.ca/projects/morrowind-character-roller</loc></url> <url><loc>https://www.paritybit.ca/projects/dnd/roll</loc></url> <url><loc>https://www.paritybit.ca/projects/dnd/initiative</loc></url> - <url><loc>https://www.paritybit.ca/guides</loc></url> - <url><loc>https://www.paritybit.ca/guides/firefox-new-tab-dark</loc></url> - <url><loc>https://www.paritybit.ca/guides/debian-with-btrfs</loc></url> - <url><loc>https://www.paritybit.ca/guides/using-rm-with-trash</loc></url> <url><loc>https://www.paritybit.ca/about</loc></url> <url><loc>https://www.paritybit.ca/now</loc></url> <url><loc>https://www.paritybit.ca/contact</loc></url>