Skip to content

Instantly share code, notes, and snippets.

@theit8514
theit8514 / user.js
Last active April 15, 2019 04:34
Plex Season Title Editor - UserScript
// ==UserScript==
// @name Plex Season Title Editor
// @namespace https://gist.github.com/theit8514
// @version 0.2
// @description Allows editing of Season titles by adding the Title input to the Season edit popup
// @author theit8514
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js
// @include https://app.plex.tv/desktop*
// @include https://*.plex.direct:*/*
@theit8514
theit8514 / docker-status
Created May 10, 2018 14:52
Docker status report script
#!/bin/bash
# This script will run a 'docker ps' comamnd, passing through any arguments, and then run a 'docker inspect' on
# each container to get the bound port information. Exposed but unbound ports are not shown (unlike 'docker ps').
# It also filters out the host '0.0.0.0' since this is the assumed default value for '-p'. It makes the output much cleaner.
# If the docker container is configured with --net that will also be displayed.
# Requires the 'column' command. On my Synology, I get that with `sudo opkg install column`.
#NAMES IMAGE STATUS PORTS
list_names=('NAMES' '-----')
@theit8514
theit8514 / serilog-configuration-schema.json
Last active November 13, 2018 21:29 — forked from turchenkoalex/serilog-configuration-schema.json
serilog-configuration-schema.json
{
"properties": {
"Serilog": {
"title": "JSON schema for Serilog.Settings.Configuration",
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"description": "Serilog configuration",
"definitions": {
"libraries": {
"type": "array",