today's howtos
-
How To Install Spotify on Linux Mint 21 - idroot
In this tutorial, we will show you how to install Spotify on Linux Mint 21. For those of you who didn’t know, Spotify is the most popular digital music service that gives you access to millions of free as well as paid songs. It is available on various devices, including smartphones, tablets, computers, and more.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Spotify streaming music service on Linux Mint 21 (Vanessa).
-
Getting Stable Diffusion Running on NixOS - Xe
Computers are awesome gestalts of sand and oil that can let us do anything we want given we can supply the correct incantations. One of these things you can do with computers is give plain text descriptions of what an image should contain and then get back an approximation of that image. There are tools like DALL-E 2 that can let you do this on someone else's computer with the power of the cloud, but until recently there hasn't been a good option for being able to run one of these on your own hardware.
-
Updating My Contact Email Automatically - Kev Quirk
If at a later date I want to update the contact email for this site, all I need to do is replace the email address on line 5 above and the 3 locations where I use that address will automatically be updated.
No muss, no fuss. Winning.
Like I said at the start of this post, this probably isn’t the most elegant solution to the problem, but it’s a working solution so I’m happy. If you have any idea as to how I can improve this, please do let me know.
-
Ban the Spam!
I’ve had long-term problems with spam after publishing my email address on my contact page. So I’ve taken steps to Ban the Spam.
I’ve had the same email address on display in my contact page for a few years now, and because it’s been listed publicly for so long, I get a metric tonne of spam to that address.
Luckily the spam filter on my mail host catches a lot of it, but it’s still annoying for me to deal with. So I started to think about what I can do to have both an email address published on my site, yet minimise spam.
-
Having a Dot File Repo?
I've had to configure a few computers for myself lately, and I'm thinking that maybe I should have a dot file repo in a git forge somewhere that I could just clone down.
-
How to Create a New User in Ubuntu 22.04
Like all of the major operating systems available today, Ubuntu allows each of its users to have a unique account. Each user account comes with its set of unique directories that can only be accessed by the owner of that account. Unlike the rest of the operations, it is quite easy for anyone to create and manage the user accounts in Ubuntu 22.04.
This guide will explain to you how can you manage the users in Ubuntu 22.04 through the terminal and the UI. Also, we will take a look at how can you assign and revoke the sudo privileges for any user. We will provide the step-by-step instructions along with screenshots to make the process easier for you.
Please remember that for this process, you need to have an account with administrative privileges.
-
Block Hotlinking Ngnix
Hotlinking is the process through which other websites use your pictures, videos, and other content on their pages. As a result, whenever someone accesses these pages, your website’s bandwidth is used. When petty webmasters can’t afford the cost of bandwidth, they resort to stealing it from other sources, which is known as hotlinking, which is a malicious practice. As a result, genuine webmasters are unable to use the bandwidth they have paid for. Additionally, if the bandwidth designated for the source webmaster runs out and the site owner does not pay for the overly used bandwidth, the linked resource may become unavailable for users who access the original website. Overall, website availability hotlinking should be prevented to protect its integrity. This guide shows you how to accomplish so quickly and easily.
-
Undo and Redo Text in Vim Editor
While making changes to a text document, it is common to make changes multiple times. It is not worth it to rewrite text again and again, especially if you are writing something important and you feel that the previous words or code were right compared to this, or vice versa.