Skip to content

Instantly share code, notes, and snippets.

@sems
sems / setuplinkaggregationunraid.md
Last active February 16, 2025 14:56
Setup guide link aggregation(802.3ad) Unraid with Ubiquiti

Setup guide link aggregation Unraid with Ubiquiti

Introduction

I am writing this guide becuase I coudn't find a proper one online which contained all the information I was searching for. I will try to guide you through the process of enabling link aggregation (802.3ad) with your Ubiquiti hardware and your Unraid server. Note: not all of Ubiquiti's hardware supports link aggregation (LAG). As of the time of writing Ubiquiti states the following.

Applicable to all UniFi Switch models excluding the USW-Flex and USW-Flex-Mini.

Source: Ubiquiti

@TRaSH-
TRaSH- / docker-compose-collection.yml
Created December 8, 2020 20:55
docker-compose-collection
# Emby - https://docs.linuxserver.io/images/docker-emby
emby:
container_name: emby
image: ghcr.io/linuxserver/emby
restart: unless-stopped
logging:
driver: json-file
network_mode: bridge
ports:
- 8096:8096/tcp
@TRaSH-
TRaSH- / synology-docker-compose-collection.yml
Last active November 6, 2024 06:14
synology-docker-compose-collection
# Emby - https://docs.linuxserver.io/images/docker-emby
emby:
container_name: emby
image: ghcr.io/linuxserver/emby
restart: unless-stopped
logging:
driver: json-file
network_mode: bridge
ports:
- 8096:8096/tcp
@TRaSH-
TRaSH- / docker-compose.yml
Last active January 18, 2025 15:15
docker-compose
version: "3.2"
services:
# Radarr - https://hotio.dev/containers/radarr/
radarr:
container_name: radarr
image: ghcr.io/hotio/radarr:latest
restart: unless-stopped
logging:
driver: json-file
network_mode: bridge
@TRaSH-
TRaSH- / docker-compose.yml
Last active November 6, 2024 06:06
synology docker-compose
version: "3.2"
services:
# Radarr - https://hotio.dev/containers/radarr/
radarr:
container_name: radarr
image: ghcr.io/hotio/radarr:latest
restart: unless-stopped
logging:
driver: json-file
network_mode: bridge
@ljm42
ljm42 / fix_docker_client
Created September 1, 2019 16:38
Temporary fix the Docker client for Unraid
#!/bin/bash
# Version 1.0
# Latest version of this script: https://gist.github.com/ljm42/74800562e59639f0fe1b8d9c317e07ab
# This script was tested on Unraid 6.7.2, although it will likely work in previous versions as well. It should not be needed in 6.8
# It will solve the problem reported here: https://forums.unraid.net/bug-reports/stable-releases/dockers-wanting-to-update-but-dont-in-the-end-r618/
# where due to changes in the Docker Hub API, the Unraid Docker client reported that certain Dockers needed to be updated.
# Thanks for @bluemonster for coming up with the fix!
@fryfrog
fryfrog / Android-SHIELD Android TV.xml
Last active May 2, 2025 15:54
A customized Plex profile for the Nvidia Shield, which goes in ./Library/Application Support/Plex Media Server/Profiles/
<!-- Put in ./Library/Application Support/Plex Media Server/Profiles/Android-SHIELD Android TV.xml -->
<!-- Author: Donald Webster [email protected] -->
<?xml version="1.0" encoding="utf-8"?>
<Client name="SHIELD Android TV">
<Identification>
<Header name="User-Agent" substring="SHIELD Android TV" />
</Identification>
<TranscodeTargets>
<VideoProfile container="mkv" codec="h264" audioCodec="aac" context="streaming" />
<MusicProfile container="flac" codec="flac" id="StereoMusicTranscodeProfile" />
@JonnyWong16
JonnyWong16 / update_all_metadata.py
Last active March 28, 2025 12:24
Updates all metadata in the Tautulli database after moving Plex libraries.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Updates all metadata in the Tautulli database after moving Plex libraries.
# Author: /u/SwiftPanda16
# Requires: plexapi, requests
from plexapi.server import PlexServer
import requests
@onedr0p
onedr0p / cleanup_rtorrent.py
Last active May 22, 2024 19:06
rtorrent - remove specific torrents (set on a cron)
# Python 2.7
import re
import xmlrpclib
import httplib, urllib
# rTorrent URL
server_url = 'http://localhost:6000'
rtorrent = xmlrpclib.Server(server_url)
@t0phr
t0phr / GetPw.py
Last active May 4, 2023 11:06
Scan script for nzbget.
#!/usr/bin/python2.7
##############################################################################
### NZBGET SCAN SCRIPT ###
#
# Scans filename of incoming NZBs for embedded passwords.
#
##############################################################################
### OPTIONS ###
# The RegEx to match the password in the filename.
#regex=(.*)\{\{(.*)\}\}.nzb