Skip to content

Instantly share code, notes, and snippets.

View mgithens1's full-sized avatar

Matt Githens mgithens1

  • Denver, CO
View GitHub Profile
@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"
@spikegrobstein
spikegrobstein / docker-compose.yml
Last active April 13, 2024 18:38
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: