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:

  1. Lenovo X1 Carbon Gen 8 (intel 10th gen CPU)
  2. HP Gram 17z90n (intel )
  3. Dell XPS 9315 13 i5

My older laptops like the System 76 Darter Pro before they move...

After using i3-wm (which I will call i3 from here on out) for over 5 years now, I have pretty much got it almost exactly how I like it. For reference here is my latest i3 config which can be found at https://git.wretchednet.com/wretchedghost/i3-wretchedbox This config might change here and there s...

Why Use Vim Plugins?

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...

vim substitution is one tool any advanced vim user should know. right Basically, vim substitution is similar to search and replace used on other file editors but vim goes much further than just searching and replacing files and characters. For anyone who creates bash scripts and edits a ton of co...

Not Clickbait, Just Reality

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...

Advanced Tricks

Edit Command in Your Editor

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...

Article: PSA be aware of the difference between localhost and 127.0.0.1

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...

After setting up my latest theme based on the vimix-dark-amethyst on my i3-gaps I have grown to love it. That being said I prefer a light theme when it comes to writing in LibreOffice and Obsidian. I'm old school in the fact that I used microsoft word for school growing up and the white and bright t...

Why Learn Commandline Shortcuts?

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...

The Problem

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...

On my distro of choice, Arch BTW, I had a weird issue where I couldn't find a proper solution for. My Tailscale would not let me turn it on and would give me an error where the server and the installed version were mismatched.

After doing some research I found that the backend, the installed versi...

Building on the Basics

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...

Welcome Back

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...

A few tricks to reduce SSD (NOT NVMe/M.2) wear when running ZFS:

  • Remember to enable autotrim option on the pool. You should also setup a cron job to run zpool trim tank0 weekly or bi-weekly. Replace tank0 with your tank/dataset name.

    zpool get autotrim tank0  # check trim
    zpool set autotrim...

Getting to know vim

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,...

  • Vim
  • Obsidian
  • Git
  • Syncthing
  • Hugo

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...

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.

Why You Should Care

As Amazon continues to expand their collection of books,...

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...