Skip to content

Instantly share code, notes, and snippets.

View rickklaasboer's full-sized avatar
🖥️

Rick Klaasboer rickklaasboer

🖥️
View GitHub Profile
@rickklaasboer
rickklaasboer / how-to-setup-plex-with-sonarr-radarr-jackett-overseerr-and-qbittorrent-using-docker.md
Last active May 29, 2024 22:50
How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

This is a guide that will show you how to setup Plex Media Server with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent with Docker. It is written for Ubuntu 20.04 but should work on other Linux distributions as well (considering supported distributions by Docker). It is also written for people who have some experience with Linux and Docker. If you are new to Docker, I recommend you to read the Docker documentation, and if you are new to Linux, I recommend you to read the Ubuntu documentation.

Now, let's get started!

Please note: This guide was written without considering hardlinking for Sonarr/Radarr. If you want to use hardlinking refer to #Hardlinking

Prerequisites

@rickklaasboer
rickklaasboer / use-legacy-state.tsx
Created January 18, 2023 11:07
Legacy state hook implementation (didn't test this 100%, should work though)
import {useState} from 'react'
// Example usage:
//
// const [state, setState] = useLegacyState<State>({
// history: [],
// queue: [],
// song: null,
// songTime: null,
// paused: true,
@rickklaasboer
rickklaasboer / infinity.js
Created October 16, 2022 19:50
buzz lightyear
// 'To infinity and beyond!'
console.log(`To ${String(Math.pow(Number.MAX_VALUE, 2)).toLowerCase()} and beyond!`)

Add to HTML files (recommended place is below the opening <body> tag):

<button onclick="scrollToTop()" id="scrollToTop" style="display: none;" title="Go to top">
  <i class="fas fa-arrow-up"></i>
</button>

Add to app.css (doesn't really matter where):