Skip to content

Instantly share code, notes, and snippets.

View photonometric's full-sized avatar

photon photonometric

View GitHub Profile
@jc-torresp
jc-torresp / raspberry-pi-plex-server.md
Last active April 23, 2024 14:29
Setup a Raspberry Pi Plex Media Server (Including external storage media and Windows to Raspbian migration)

Raspberry Pi Plex Server

Installation

Ensure our operating system is entirely up to date:

sudo apt-get update
sudo apt-get upgrade
@lightrush
lightrush / README.md
Last active July 24, 2023 11:53
Setup Plex with Docker

Setup Plex with Docker

Docker run script and Systemd unit files for setting up Plex using the official image by Plex Inc

Fill in the blanks in plex-docker-run.sh, plex-docker.service, optionally mount-remote-volume.service and save them. Then:

sudo [Path to]/plex-docker-run.sh
sudo cp [Path to]/plex-docker.service /etc/systemd/system/
sudo cp [Path to]/network-internet.service /etc/systemd/system/
# Optionally
# Incorporate this function into your .bash_profile (.bashrc, .zshrc, or whatever you use...)
# Run `mov2frames name-of-mov.mov` to extract frames from the movie file
# Run `mov2frames name-of-mov.mov 300` to extract frames from the movie file at a maximum width of 300 pixels
# Frames will be exported into a `frames/` folder
# NOTE: if the frames folder exists and contains files that match the filename `frame_%03d.png`, no frames will be generated
mov2frames() {
if [ ! -z "$2" ]
then
size=$2
else
@craigtp
craigtp / GetWindowsProductKey.vbs
Created May 30, 2016 18:10
Retrieve Windows Product Key
Option Explicit
Dim objshell,path,DigitalID, Result
Set objshell = CreateObject("WScript.Shell")
'Set registry key path
Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
'Registry key value
DigitalID = objshell.RegRead(Path & "DigitalProductId")
Dim ProductName,ProductID,ProductKey,ProductData
'Get ProductName, ProductID, ProductKey
@underr
underr / image glutton.js
Last active January 1, 2024 14:22
Repost
// ==UserScript==
// @name Eza's Image Glutton
// @namespace https://inkbunny.net/ezalias
// @author Ezalias
// @description Redirects to high-res images on gallery sites, skipping past descriptions and comments
// @license MIT
// @license Public domain / No rights reserved
// @include /^https*://www\.furaffinity\.net/(view|full)/.*/
// @include https://inkbunny.net/submissionview.php*
// @include http://gelbooru.com/*page=post&s=view*