RSSAmplifier

Blog

The Blog

by Laci

blog.danielisz.orgRSS feed ↗20 posts

Latest posts

Calculating Total Space Used by ZFS Snapshots

This command provides a simple and reliable way to calculate how much disk space all ZFS snapshots are consuming on your system. It uses zfs list to output the used property for each snapshot in raw bytes (-p), which [ ]

Restoring the F4 Launchpad shortcut on macOS

The F4 key no longer opens Launchpad by default, the good news is you can re‑map it with hidutil. Note: This setting is lost after a reboot, so you’ll need to run the command again each time you restart. [ ]

Duplicity on Digi Storage

Here is a simple script to backup your Linux/FreeBSD server or your macOS on storage.rcs-rds.ro. I m not associated with Digi Storage, I just know they have many users who can find this useful. As always, [ ]

Plex Migration

Probably the easiest way to deploy Plex is using their docker image. Such an instance is also easy to migrate, this is what I recently did. Stop the container, atchive the directory containing the volume(s) [ ]

Mazda CX-5 DSC, TPMS Warnings

This post is here to save you from frustration, trips to a car shop and money. If you happen to have the DSC (Dynamic Stability Control) TPMS (Tire Pressure Monitoring System) warnings on your [ ]

netcat – The Mighty One

Once in awhile sshd will break on your server, maybe after an update and you need to send long lines, maybe a cipher list from one server to another. Typing on console it s an option [ ]

Puppet, FreeBSD & Self-Signed SSL

Puppet on FreeBSD connecting to servers using a self-signed certificate.

aws meta-data

This is mostly a reminder for myself that http://169.254.169.254/latest/meta-data/ on a aws ec2 is really cool because you get get all sort of information with it.

Enable Debug For Shell Scripts

Debugging shell scripts comes handy, especially when unexpected things happen. Trust me, they do. I use two different approaches, based on what s needed: debug while running it or when ran in the background, maybe by [ ]

M1 Mac F4 -> Launchpad

On M1 Mac s F4 was mapped to Finder. I wonder why since you can easily start Finder with Cmd ⌘ + Space. To remap F4 you can run the following one line command from Terminal: Credit [ ]

Easily Combine Images On a Mac

Install imagemagick (from MacPorts or Homebrew): port install imagemagick or brew install imagemagick convert +append source_image1.jpg source_image2.jpg source_image2.jpg combined.jpg Voilà! You can combine multiple images not just three. You can also do convert +append * [ ]

Remove Fear

I don t usually share videos, this one is a significant one. See between 0:25 5:25

duplicity oauthlib.oauth2.rfc6749.errors.InvalidGrantError

If you are having below error in duplicity probably your token has expired and you need to generate a new one. To generate a new one simply run duplicity and follow the steps, you are [ ]

Failed To Create Java Virtual Machine – macOS

If you are using macOS and Apache Directory studio there is a chance you ve met this error message: Below fix should work in most cases. Find out where is your jdk directory then update Info.plist [ ]

Comparing Ansible and CFEngine

Once in awhile I hear (since the pandemic mostly see on chat) people comparing Ansible and CFengine: this is better, that is better. etc. I use both and like both, I think both have their [ ]

Linux: Keep That Process Running

For whatever reasons a process can crash. The best is always to find out why and fix it. However, sometimes you can have higher priority tasks and you want that process to be running. With [ ]

NGINX Headers For Docker

In case you run docker behind nginx some of your container might need specific headers otherwise a browser trying to access them might want to connect to a local or private address, something like https://127.0.0.1:8080. [ ]

How To Extend HDD

How to extend ZFS on FreeBSD How to extend ext4 on Ubuntu using LVM (Linux Volume Group)

LibreNMS & docker-compose

If you don t know LibreNMS, it is a great monitoring tool with auto discovery, auto operating system detection, custom alert settings, extended application support and more. For details check out: https://www.librenms.org, https://github.com/librenms I was recently [ ]

.vimrc

vi and vim are two out of many text editors on Unix, this is my .vimrc. I put this here mostly so I can easily grab it.