Due to issues with the latest sleep states in laptops I've had to resort using hibernation or S4 as the strata for all my Linux laptops:
My older laptops like the System 76 Darter Pro before they move...
My intention is NOT to create a clickbait title, but I have found a re-invigoration within me with regards to data - or in layman's terms, data hoarding. I have always had around 8-10TB of data between videos, family pics and videos, and some games (not my entire GO...
Ctrl+X, Ctrl+E - Open current command in your default editor (usually vim or nano)
$
# Press Ctrl+X then Ctrl+E
# Your editor opens with the command
# Edit it, save, and close
# The edited command runs
Real use case: You're building a complex co...
I was bit in the butt by a bug that sprung up at me over the weekend. It really wasn't a bug but I think it should be. I explain more down below. Over the weekend I setup a new VPS with Linode where its only job was to be my...
If you're spending any amount of time in the terminal, learning shortcuts can potentially save you hours in the future. Most people know the arrow keys and backspace, but bash has decades of shortcuts built in that almost nobody uses.
I've been using Linux since...
My server, cprox, as I call it, was set up with only 64GB of storage on the root partition. I don't know what I was thinking at the time, but this caused issues only a week after setting up the new server.
Within this time, the OS, packages, and other things Proxmox does, consumed...
My ranger config can be found here.
Here is a quick write up of a program that I have heard of before and installed but never found it necessary in my work flow. I have and still am happy to move around in the command line like I have been for the past ten years plus but now after finding a good...
In the Vim Basics series, we covered vanilla vim and how powerful it is right out of the box. And honestly, vanilla vim can handle 90% of your daily work as a sysadmin. But sometimes you want that extra 10% - better syntax highlighting, file navigation, or quality of life im...
Now that we know how to open a file, edit it, move around in it, and save it, let us now look into how we can tweak it. My post to part 1 of vim basics can be found here: https://blog.lanlocked.xyz/post/vim-basics-part-1/. Part 2 can be found here: https://blog.lanlocke...
In Part 1, we covered the basics of opening vim, understanding normal and insert modes, and moving around with the hjkl keys. If you haven't read that yet, I'd recommend starting there as we'll build on those concepts.
Now it's time to tackle what might be the most infamous aspe...
If you are looking for a way to get more efficient at editing configs and text then vim is what you are wanting. Even at its most basic interface with no added plugins, vim can help you manipulate a file with its efficient modes and commands.
vim is not the easiest to learn,...
Editor's Note: When I first published this article, the https://audible-converter.ml/ shortcut method still worked. As of August 2023, that site is down. The method below using RainbowCrack still works perfectly.
As Amazon continues to expand their collection of books,...
This blog that you are reading on runs on Hugo. I found out about Hugo about two years ago, with it being named one of the fastest CMS out there. I wanted a blog that would mostly require me to create content and not have to faff about with creating head...
I first dipped my toes into using Synology though their top-notch NVR system. I had eight cameras at the time around my house and it worked very well for myself and my family, though paying $40-$50 a license per camera can get expensive fast. I didn't really use it for its other features for years...
I am the new owner of a hand-me-down Chromebook that to me, now has a new reason to exist. No longer is it tied to Google and their tracking and ads policies. Rather it is its own system now, complete with Arch Linux/EndeavourOS on i3-wm.
I first purchased this laptop for my oldest child who requi...
Even though this device is not meant to be running Linux, I'm going to be tough during this review.
It's extremely easy. Enter in the script, read what its outputting, click a few keys, voila, you have a running Asahi Linux system that dual-boots with MacOS. Ok, its not as simple...
I have been using MikroTik (my-crow-tick or me-crow-teek), or however you want to pronounce it, for several years now and I just keep coming back to using it. MikroTik, for the uninitiated, can be quite a difficult system to learn and use. There are quite a bit of gotchas that can bite you along...
In my previous article of https://blog.lanlocked.xyz/data-hoarding-in-an-rv/, I documented how I was using a Synology DS1520+ as my NAS. After fighting with it and the main array of weird issues Synology desires to implement, which I won't get into here, I have recently sold the setup and gone wit...
I wanted to show a little firewall rule that I setup that will allow an entity to attempt to login via SSH or Winbox and have them locked out for 21 days after so many attempts. You can tweak this to allow for more attempts and or have them locked out indefinably. This might be considered a tar pit...
Updating gitea is a simple as replacing the binary in /usr/local/bin/gitea.
Stop the gitea service
$ sudo systemctl stop gitea
Move the current binary from gitea to gitea.old just in case things break.
$ sudo mv /usr/local/bin/gitea /usr/local/bin/gitea.old
Use wget to...