Skip to content

Instantly share code, notes, and snippets.

View hamitaksln's full-sized avatar

Abdulhamit Akaslan hamitaksln

View GitHub Profile
@rickklaasboer
rickklaasboer / how-to-setup-plex-with-sonarr-radarr-jackett-overseerr-and-qbittorrent-using-docker.md
Last active June 28, 2025 04:25
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

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

@temoncher
temoncher / useTypedParams.tsx
Created July 28, 2022 09:43
Search params typed with `zod` lib
import { useMemo } from 'react';
import { useSearchParams } from 'react-router-dom';
import { z } from 'zod';
export const useTypedParams = <T extends z.SomeZodObject>(zodSchema: T) => {
type TParams = z.infer<T>;
const [urlSearchParams, setUrlSearchParams] = useSearchParams();
const searchParams = useMemo<TParams>(() => {
export default class EventEmitter
{
constructor()
{
this.callbacks = {}
this.callbacks.base = {}
}
on(_names, callback)
{
@crabmusket
crabmusket / README.md
Last active December 11, 2024 21:59
Headless rendering with THREE.js

Headless THREE

Created with

Make sure you install headless-gl's dependencies, then run with XVFB like so:

@omerayyildiz
omerayyildiz / soru-adabı.md
Last active November 28, 2020 12:04
SDT Sunucu Dili Ve Edebiyatı 101

Nasıl Akıllıca Soru Sorulur

Hangi kanala soru soracağınıza iyi karar verin

Sorunuzu nereye soracağınıza iyi karar verin. Şayet aşağıdakileri yaparsanız, dikkate alınmayabilir veya bir zavallı durumuna düşebilirsiniz:

  • Sorunuzu, konu ile alakasız bir kanala göndermek
  • Çok fazla kanala aynı sorudan birçok kere sormak
  • Tanımadığınız veya sizin sorununuzu çözmekle mükellef olmayan birilerine özel ileti göndermek

Üstatlar, kendi iletişim kanallarının allak bullak olmasını önlemek için, konu dışı soruları soranlara hiddetlenirler/köpürürler. Bunun başınıza gelmesini istemezsiniz.

@jimmywarting
jimmywarting / readme.md
Last active June 29, 2025 03:40
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@jamenlyndon
jamenlyndon / iframe.html
Last active May 21, 2024 08:20
Resize iframe height to fit content (works cross domain)
<script type='text/javascript' src="js/jquery.min.js"></script>
<script type='text/javascript'>
// Size the parent iFrame
function iframeResize() {
var height = $('body').outerHeight(); // IMPORTANT: If body's height is set to 100% with CSS this will not work.
parent.postMessage("resize::"+height,"*");
}
$(document).ready(function() {
// Resize iframe
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" ],