Skip to content

Instantly share code, notes, and snippets.

View srkraut's full-sized avatar
🎯
Flutter

Saroj Raut srkraut

🎯
Flutter
View GitHub Profile

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

Before continuing: This guide is currently outdated but I'm working on a new one with upgrading steps included. I'll link it here once it's finished :)

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

2025-03-05 00:00:55 INFO: [Td67ede0c: huabao < 46.19.85.197] 7e0102000c0300702533520946303330303730323533333532737e7e0102000c0300702533520947303330303730323533333532727e
2025-03-05 00:02:20 INFO: [Td67ede0c: huabao < 46.19.85.197] 7e000200000300702533520948747e
2025-03-05 00:11:45 INFO: [T54fcfba7: huabao < 46.19.85.197] 7e0102000c030070253352094a3033303037303235333335327f7e7e0102000c030070253352094b3033303037303235333335327d027e7e0102000c030070253352094c303330303730323533333532797e7e0102000c030070253352094d303330303730323533333532787e7e0102000c030070253352094e3033303037303235333335327b7e7e0102000c030070253352094f3033303037303235333335327a7e7e0102000c0300702533520950303330303730323533333532657e7e0102000c0300702533520951303330303730323533333532647e7e0102000c0300702533520952303330303730323533333532677e7e0102000c0300702533520953303330303730323533333532667e7e0102000c0300702533520954303330303730323533333532617e7e0102000c0300702533520955303330303730323533333532607e7e0102000c03007025335209563033303037303235333335
import 'package:flutter/material.dart';
import 'package:oauth2_client/oauth2_client.dart';
import 'package:oauth2_client/oauth2_helper.dart';
void main() {
runApp(const MyApp());
}
// Replace these with your OAuth details
const String CLIENT_ID = 'ce3919aa1a1e42be58dd7122bde603c0112df7ea';
#!/usr/bin/env python3
import sys
import math
import urllib
import http.client as httplib
import time
import random
id = '586253'
@srkraut
srkraut / emulator.py
Created September 26, 2024 05:39
live tracking emulator
#!/usr/bin/env python3
import sys
import math
import urllib
import http.client as httplib
import time
import random
id = '586253'
@srkraut
srkraut / userlogin.php
Created August 29, 2024 10:40
ULTRA API
<?php
// Ensure you have HTTP_Request2 installed
require_once 'HTTP/Request2.php';
// Create a new request instance
$request = new HTTP_Request2();
$request->setUrl('https://portal.ultradisplayads.com/api/user');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
'follow_redirects' => TRUE
import requests
#data for oauth
url = "https://portal.ultradisplayads.com/api/authorize/access_token"
client_id = "e4e28ee39a9106c4c480fff8d588500eb5308fcf"
client_secret = "b2963122e401177fe7f9ecbd4ad0a9c6188b20d15049e349b958dc5f7338519a8214c0b5a0d27e1e2d415100301fb0fa48167b74d99078256dc4bd05f249ea56465d2630747c82ae34e6a6884afba8513a11b4661d75b867796f511e5746c8ed15049974a17a2cd0f02dca65ec503337b4abf70dc9f59f757a02e92b101378"
grant_type = "client_credentials"
# Define the payload for the form-data
@srkraut
srkraut / gist:307797e6cb45f9747572c7940fb7321f
Last active December 23, 2023 13:24
digital signage details
saroj raut
sigma digital sigage
+977-9862040141 , whatsapp
@srkraut
srkraut / app.js
Created September 25, 2023 09:18
Js and html simple socket trackon
if (!Array.prototype.find) {
Object.defineProperty(Array.prototype, "find", {
value: function(predicate) {
var value;
for (var i = 0; i < this.length; i++) {
value = this[i];
if (predicate.call(arguments[1], value, i, this)) {
return value;
}
}
@srkraut
srkraut / function_to_replace.smali
Created September 21, 2023 10:50
Function to Replace
.method public final a()V
.locals 10
.line 1
iget-object v0, p0, Luk/org/xibo/wizard/CmsConnectActivity;->b:Luk/org/xibo/wizard/CmsConnectActivity$d;
.line 2
.line 3
if-eqz v0, :cond_0