Guide to the correct swapfile setup
There is a lot of conflicting information out there on how to create a swapfile correctly. Although these guides (should) all work perfeclty fine, I spent the time to research and find out what is actually the most correct.
In summary: make sure to use the dd
command to create the swapfile, and create
an fstab entry that looks similar to /swapfile none swap sw 0 0
. In this
article, I will go more in-depth into the correct steps to create a swapfile on
Linux, and explain each step.
Swapfile guide explained
This page is about something. All the content before the “more” HTML comment below will become the summary, which will be used in list pages and in the meta tags on the article.
Or, if you don’t want your description to be at the top of the article, you can
set your own description
in the front matter and it will override this. See
the Content Summaries page on
the Hugo docs for more information.
How the “Discord sex” (s/e/x
) hack works

s/e/x
.
There’s this trick going around on Discord recently where if you send any GIF
from Tenor, and then type s/e/x
, then it turns it into a different meme GIF.
Here’s how it works.
Using GitHub Actions to audit my website with Google Chrome Lighthouse

Performance
section on the Lighthouse CI dashboard
The other day I set up automatic testing of my website using Google Chrome Lighthouse. I’m also running my own Lighthouse CI server to store test result history and show trends. Here’s an outline of what this means, some of the results I’ve obtained so far, and my thoughts on the usefulness of Lighthouse.
Newsletter for my blog posts

I created a newsletter for blog posts on my website so you can sign up for email notifications when I post new ones, so I have more than just an RSS feed.
Caddy is literally the best webserver
](https://demo.bbaovanc.com/test/text-size-adjust/blog/caddy-is-the-best-webserver/caddy.webp)
After switching from NGINX to Caddy on all of my websites, I have come to the conclusion that Caddy is the best webserver in existence. With automatic HTTPS, a simple configuration file, and more, Caddy is just the best webserver overall for general use.
Using Github Copilot to write a blog post

I found out that GitHub Copilot can write in Markdown, so I decided to get it to write a blog post for me. Here’s how I did it.
Experimenting with GitHub Copilot

I decided to play around with GitHub Copilot. Here’s some of the code that I got as a result.
Youtube URL structures you should know

Knowing the basic structure and parameters in a YouTube URL can come in handy on the occasion you need it. Here’s how to find the video ID, link to a specific timestamp, and more.
The redesign of my website

For the past three weeks I’ve been designing and perfecting a new theme for my website with the goal of keeping it simple but not ugly.