Skip to content

Instantly share code, notes, and snippets.

View burkasaurusrex's full-sized avatar

burkasaurusrex

View GitHub Profile
@loopj
loopj / home-assistant-skyconnect-docker.md
Created August 14, 2023 21:07
Home Assistant SkyConnect without Home Assistant OS

Open Thread Border Router

version: '3'
services:
  otbr:
    image: openthread/otbr
    container_name: otbr
    ports:
 - '8080:80'
@GottZ
GottZ / 000README.MD
Last active May 17, 2019 17:39 — forked from vRobM/Slack-Go-dARK.ps1
Make Slack Desktop for Windows have dARK mode using powershell.

this will patch slack desktop on windows into dark mode.

slightly hardened version of vRobM / Slack-Go-dARK.ps1

this simply injects this into slack and kills possible attack vectors.

simply download the batch file and the powershell script and run the .bat file with elevated permissions.
simply right click Slack-Go-dARK.bat and select run as administrator

voila, slack is now in dark mode when you start it.

@blacktwin
blacktwin / notify_user_favorites.py
Last active March 23, 2017 19:25
Notify users of recently added episode to show that they have watched at least LIMIT times via email.
"""
Notify users of recently added episode to show that they have watched at least LIMIT times via email.
Block users with IGNORE_LST.
Arguments passed from PlexPy
-sn {show_name} -ena {episode_name} -ssn {season_num00} -enu {episode_num00} -srv {server_name} -med {media_type}
-pos {poster_url} -tt {title} -sum {summary} -lbn {library_name} -grk {grandparent_rating_key}
You can add more arguments if you want more details in the email body
Adding to PlexPy
@hazcod
hazcod / apache-plex-reverse-proxy.vhost
Last active December 9, 2023 19:02
Apache2 reverse proxy vhost configuration for Plex. Rerquires modules ssl, proxy, wstunnel
This current configuration is based of at least Server Version 1.16.5.1488 and Web Version: 3.108.2.
This updated config file allows the playing of trailers and TV Show theme music where as the previous one did not.
## Requirements
1. Apache version > 2.4
2. A bunch of mod's enabled (proxy, ssl, proxy_wstunnel, http, dir, env, headers, proxy_balancer, proxy_http, rewrite)
3. Protocols h2 http/1.1 needs apachectl -V 2.4.17 and higher...
## Apache .conf file
require 'rubygems'
require 'mechanize'
FIRST_NAME = 'FIRST_NAME'
LAST_NAME = 'LAST_NAME'
PHONE = 'PHONE'
EMAIL = 'EMAIL@provider.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }