Skip to content

Instantly share code, notes, and snippets.

View lbrooney's full-sized avatar
💭
feeling dumb

Liam Rooney lbrooney

💭
feeling dumb
View GitHub Profile
@lbrooney
lbrooney / YouTube_Continue_Watching.user.js
Last active December 7, 2023 00:59
A simple userscript that clicks the continue watching button on YouTube. Other solutions were overcomplicated or used intervals
// ==UserScript==
// @name YouTube Continue Watching
// @description A simple userscript that clicks the continue watching button on YouTube. Other solutions were overcomplicated or used intervals
// @namespace https://roon.dev
// @license MIT
// @icon https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/YouTube_full-color_icon_%282017%29.svg/320px-YouTube_full-color_icon_%282017%29.svg.png
// @match http*://www.youtube.com/watch*
// @grant none
// @downloadURL https://gist.githubusercontent.com/lbrooney/9f80de4ebb491aaf35a47a195e264b29/raw/YouTube_Continue_Watching.user.js
// @updateURL https://gist.githubusercontent.com/lbrooney/9f80de4ebb491aaf35a47a195e264b29/raw/YouTube_Continue_Watching.user.js
@lbrooney
lbrooney / TrueNAS Audiobookshelf Install Guide
Last active September 18, 2023 03:52
TrueNAS Audiobookshelf Install Guide
# I will be writing this from the perspective of a TrueNAS user, but should be somewhat applicable for users of FreeBSD
# AT THE TIME OF WRITING, tone (https://github.com/sandreas/tone) is not ported to FreeBSD, so you'll miss out on it's
# capabilities which I think is getting metadata from files, the app SEEMS to run fine without it but YMMV
# READ THE README(and the Dockerfile) OF THE PROJECT, REQUIREMENTS MAY CHANGE BETWEEN WHEN YOU READ THIS AND WHEN I WROTE IT
# At the time of writing, based off the Dockerfile on the repository these are the packages you need explicitly for Audiobookshelf are:
"curl", "ffmpeg", "node16"
@lbrooney
lbrooney / update_audiobookshelf.sh
Last active March 1, 2024 22:01
audiobookshelf install/update script for TrueNAS
#!/bin/sh
# Function to display messages in green color
green_echo() {
echo -e "\033[0;32m$1\033[0m"
}
# Function to display messages in yellow color
yellow_echo() {
echo -e "\033[0;33m$1\033[0m"