Skip to content

Instantly share code, notes, and snippets.

View mgithens1's full-sized avatar

Matt Githens mgithens1

  • Denver, CO
View GitHub Profile
@rabidpug
rabidpug / arr_search.sh
Last active March 3, 2026 00:11
Trigger a search for the first 20 cutoff unmet/missing episodes/movies/albums/books by oldest search time in the ARR suite
#!/bin/bash
__help() {
cat << EOF
Please call this script with \$ARR_API_KEY set, and with the following parameters:
$0 sonarr|radarr|lidarr|readarr https://domain:port cutoff|missing
EOF
exit 1
}
if [[ -z "$ARR_API_KEY" ]] || [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]]; then
@spikegrobstein
spikegrobstein / docker-compose.yml
Last active September 17, 2025 19:47
docker-compose file for sabnzbd/sonarr/radarr
# start up with 'docker-compose up -d' to start in background
# update images with 'docker-compose pull'
# this assumes that you have a sibling directory to this file called 'config' that contains all of the config for these services
# you can reference 'sabnzbd' 'radarr' or 'sonarr' from inside the containers (in the apps) to reference the other containers. no need to deal with IPs or hostnames
# remember that docker is isolated from the rest of your filesystem. you need to add volumes to the entries
# in order to give the processes access to them. so if you have multiple target directories for TV or Movies,
# then make sure you add each one that you want radarr/sonarr/sabnzbd to see.
version: '3'
services:
@mbrownnycnyc
mbrownnycnyc / sense_api_powershell_examples.ps1
Created July 21, 2017 15:12
beginnings of sense home energy monitor undocumented API dive
### sense api powershell examples
# with reference:
# https://www.jokecamp.com/blog/invoke-restmethod-powershell-examples/
# https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.utility/invoke-restmethod
## enter your email address and password (will use securestring later)
$emailAddress = "email@contoso.corp"
$password = "insertpassword"