Skip to content

Instantly share code, notes, and snippets.

View JPVenson's full-sized avatar
🎁
Focusing

JPVenson JPVenson

🎁
Focusing
View GitHub Profile
@JPVenson
JPVenson / docs.md
Last active July 19, 2023 13:03
cleanup collections.xml for jellyfin

BEFORE YOU START: BACKUP YOUR CONFIGURATION. YOU. HAVE. BEEN. WARNED!

This is the Cs version of the script posted by michaelkrieger at jellyfin/jellyfin#1907 (comment) to cleanup the collection.xml for missing link entires.

Linux Host

To run this on linus, ensure you have a dotnet version installed.
https://learn.microsoft.com/en-us/dotnet/core/install/linux
or for the most part, this oneliner will install dotnet on your system:

@zopieux
zopieux / README.md
Last active April 11, 2024 00:51
QNAP TS-453 Pro: LCD, LEDs, fan & buttons

QNAP TS-453 Pro: LCD, LEDs, fan & buttons

QNAP NAS model TS-453 Pro has limited documentation on how to control its various peripherals, namely:

  • the front LCD display, a 2 row, 16 column blue & white LCD display, and its two menu buttons ("ENTER", "SELECT")
  • the front LEDs "STATUS" (red & green) & "USB" (blue)
  • the 4 "disk error" LEDs (red)
  • the front "USB COPY" button
  • the main rear fan
@klightspeed
klightspeed / .EliteDangerousCompanionAPI.md
Last active June 10, 2023 03:30
Simple C# Elite Dangerous Companion API client

Simple CAPI client to retrieve player profile from the Elite Dangerous Companion API using OAuth2

@brthor
brthor / README.md
Created March 23, 2018 02:41
Docker network create error: "Error response from daemon: failed to check bridge interface existence: numerical result out of range"

I recently hit this problem, while using ansible to create docker networks:

- name: Construct Default docker networks
  shell: "docker network create 
            -o com.docker.network.bridge.enable_icc=false 
            -o com.docker.network.bridge.name={{item.networkName}}
            --subnet {{item.subnet}} {{item.networkName}}"
  with_items: "{{ docker_networks }}"
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],