Skip to content

Instantly share code, notes, and snippets.

View tconnel's full-sized avatar

Tyler Connel tconnel

View GitHub Profile
@njregenwether
njregenwether / ManuallyScanPlexLibrary.sh
Last active January 14, 2026 05:36
Manually Scan Plex Library
#!/bin/bash
##########################################################################################################################
# This will update plex libraries manually from the command line. #
# This will work on centos 7 but I can't make any guarantees about other OSes or platforms. #
# If you're running plex on mac os x or windows, get a real OS. #
# #
# The exports below are important because if you don't have all of them set, you will get no result when you go to list #
# ./Plex\ Media\ Scanner --list #
# This will show you all of your libraries and their numbers. #
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)
@staltz
staltz / introrx.md
Last active January 21, 2026 13:20
The introduction to Reactive Programming you've been missing
@aras-p
aras-p / preprocessor_fun.h
Last active December 26, 2025 00:20
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,