Skip to content

Instantly share code, notes, and snippets.

@altendorfme
altendorfme / nfs-x-glusterfs.md
Last active July 30, 2021 17:25
Simple NFS x GlusterFS Benchmark [DigitalOcean]

3x nodes / NYC3 / General Purpose / Regular Intel with SSD / 5$

Debian 10 Buster

1 node - NFS and GlusterFS

2 node - Clients

Master

version: "3.3"
services:
# Watchtower
watchtower:
container_name: watchtower
image: containrrr/watchtower:latest
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
@altendorfme
altendorfme / toolz.txt
Created May 3, 2023 14:49
Toolz block list for Adguard Home
! Title: Toolz block list
! Homepage: https://d3ward.github.io/toolz/adblock.html
! Last modified: 2023-05-03T12:06:30.872Z
!
||adtago.s3.amazonaws.com^
||analyticsengine.s3.amazonaws.com^
||analytics.s3.amazonaws.com^
||advice-ads.s3.amazonaws.com^
||pagead2.googlesyndication.com^
||advertising-api-eu.amazon.com^
@altendorfme
altendorfme / easyarr.md
Created July 21, 2023 14:22
EasyArr: HTPC with Docker

Plex Media Server, Sonarr, Radarr, Bazarr, Jackett, qBittorrent, Tdarr, Samba (Share), Duplicati (Backup), Scrutiny (S.M.A.R.T) and WatchTower

This is an HTPC option for a private network, we will not have any direct external access, the remote access will be done by TailScale installed on an EdgeRouter-X. You can install TailScale via Docker as well.

The only open port will be from Plex, 32400 to keep remote access easier for apps and TVs.

Alternatives:

  • Plex Media Server to Jellyfin: I have a lifetime license for Plex, and I still think it's the best and most complete solution, if you want to install both it won't be difficult to adjust it in Docker.
@altendorfme
altendorfme / clean-attachments.php
Last active August 30, 2023 17:20
A WP Cli command to clean attachments based on specific criteria.
<?php
/*
Plugin Name: Clean Attachments
Description: A plugin to clean attachments based on specific criteria.
Version: 1.0.2
Author: Renan Bernordi
*/
if (defined('WP_CLI') && WP_CLI) {
function clean_attachments_command($args, $assoc_args)
@altendorfme
altendorfme / ruleset.yaml
Last active March 27, 2024 01:09
parede/ladder
- domains:
- www.thestar.com
- www.niagarafallsreview.ca
- www.stcatharinesstandard.ca
- www.thepeterboroughexaminer.com
- www.therecord.com
- www.thespec.com
- www.wellandtribune.ca
injections:
- position: head
@altendorfme
altendorfme / docker-automatic-media-server.md
Created April 1, 2024 15:20 — forked from matthewdowns/docker-automatic-media-server.md
Docker Automatic Media Server - Setup Guide

Introduction

This guide is focused on building a completely autonomous request-based media server using individual docker containers.

Most of the images we will be using are maintiained by linuxserver.io. They maintain many up-to-date versions of the most popular tools used for media servers.

Our full stack includes:

  • Plex Media Server - Plex Media Server is the back-end component to Plex, a self-hosted media platform.
  • Transmission - A lightweight torrent downloading client.