Skip to content

Instantly share code, notes, and snippets.

View Orteko's full-sized avatar

Andrew Keynes Orteko

View GitHub Profile
@Orteko
Orteko / chrome-stylesheet-overrides.md
Last active August 18, 2025 05:41
Fix thunderbird excessive spacing

Modern Thunderbird density options range from far too compact, to far too much whitespace with no option in between.

This outlines how to target specific elements and override the CSS.

Enable stylesheet overrides

  1. Open Thunderbird.
  2. Navigate to Settings > General.
  3. Scroll down to the bottom and click on Config Editor....
  4. Click Accept the risk and continue if prompted.
@Orteko
Orteko / mextract.sh
Last active May 14, 2025 09:14
Multi directory, multi-rar file extractor
#!/bin/bash
#
# Multi directory rar extractor / mkv copier.
#
# Usage: mextract.sh '<input-glob>' <output-directory>
#
# Extracts all .rar files or copies .mkv files found in directories matching
# the provided glob pattern to the specified output directory.
#
# Arguments:
@Orteko
Orteko / jellyfin-media-watcher.sh
Last active May 2, 2025 06:08
Jellyfin Media Watcher
#!/bin/bash
#
# Jellyfin Media Change Watcher
#
# For use on systems that mount media via filesystems that don't support
# INOTIFY (eg: SMB).
#
# Creates a hash of directory listings then triggers a jellyfin library reload if
# anything changes.
#
@Orteko
Orteko / borg-backup.sh
Created September 7, 2018 06:54
borg wrapper script
#!/bin/bash
usage() {
echo "Borg wrapper script"
echo "This wraps basic borg functions on systems too old to support borgmatic"
echo ""
echo "Usage: $0 <backup | info | check_and_prune | mount | unmount>"
}
setup_environment() {