Skip to content

Instantly share code, notes, and snippets.

View ChiefMedicalOfficer's full-sized avatar
☠️

ChiefMedicalOfficer

☠️
View GitHub Profile
@CVJoint
CVJoint / grafana.yml
Created February 25, 2019 01:52
TIG Stack - (Grafana, Telegraf, and InfluxDB)
version: "3.7"
services:
## Follow install instructions below
## InfluxDB
# Create config file:
# mkdir ${USERDIR}/docker/influxdb
# docker run --rm influxdb influxd config > ${USERDIR}/docker/influxdb/influxdb.conf
# Consider adding a database (optional)
@pjobson
pjobson / plex_media_permissions_4_noobies.md
Last active April 21, 2024 21:37
Plex Media Permissions for Linux Noobies

Plex Media Permissions for Linux Noobies

There is no problem with being a noobie and I do not use the term to sligtht or disparage anyone.

This is a way to setup your permissions for running Plex in Linux. Different folks may use different methods.

The permissions concepts provided here apply to OSX, but the users and groups are controlled and modified differently, so much of this will not work properly. I think the command is dscl, but that could be out of date.

There are many ways to setup your permissions scheme in Linux, this methodology describes a way to do it, not everyone will like it, but it works for me, so whatever.

@JonnyWong16
JonnyWong16 / notify_stream_threshold.py
Created March 5, 2017 20:37
Send a PlexPy notification when the total number of streams exceeds a threshold.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Send a PlexPy notification when the total
# number of streams exceeds a threshold.
# Author: /u/SwiftPanda16
# Requires: requests
# PlexPy script trigger: Playback start
# PlexPy script arguments: {streams}