Skip to content

Instantly share code, notes, and snippets.

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Last updated: 25 September 2025

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@hmidani-abdelilah
hmidani-abdelilah / OpenMAINT-2.3-U20.04-InstructionsManual.md
Created October 22, 2025 18:47 — forked from MrKelpy/OpenMAINT-2.3-U20.04-InstructionsManual.md
Straightforward and Illustrated Instructions Manual for OpenMAINT - "What you need to know"

Introduction

⠀⠀⠀⠀This is a complementary guide to the OpenMAINT Installation Guide, with the aim of documenting the usage openMAINT in a simple manner, so that I can help the people that end up working with openMAINT figure out how things work, even after I finish my internship. (Yes, dear reader, this isn't entirely selfless).  
⠀⠀⠀⠀Anyways, openMAINT can be quite hard and confusing to understand at first, but I assure you that it really isn't. There are a lot of things in the main screen which might make your head spin, but if you just relax, read this manual, and abstract yourself from what isn't exactly needed, everything will be clearer.

Index

  1. Previous Knowledge
  2. User Menus Overview
import os
import shutil
import py7zr
import argparse
import sys
def compress_with_py7zr_and_remove(folder_path, archive_name):
folder_path = os.path.abspath(folder_path)
if not os.path.isdir(folder_path):
import os
import shutil
import py7zr
import argparse
import sys
from tqdm import tqdm
def compress_with_options(folder_path, archive_name, keep_original=False, password=None):
folder_path = os.path.abspath(folder_path)
@hmidani-abdelilah
hmidani-abdelilah / README.md
Created May 4, 2025 17:30 — forked from asheroto/README.md
Easily install and configure GeoIP for use with iptables which enables you to block/allow entire countries.

Configure GeoIP for iptables

This script configures GeoIP for use with iptables. Installs Linux headers, uses xtables-addons, uses latest db-ip.com database, fixes dependencies, loads xt_geoip module.

Supports colored message using ANSI escape codes. 😎

Run the script as root or with sudo.

Script Functionality

@hmidani-abdelilah
hmidani-abdelilah / friday.md
Created October 2, 2024 11:41 — forked from yorickdowne/friday.md
Debian 13 trixie upgrade

Debian 13

This has not been tested, and is a placeholder for instructions when Debian 13 is released in 2025

To start, read the official release notes.

If your install fits into "vanilla Debian plus maybe a handful of 3rd-party repos", then this guide for a simple upgrade to Debian 13 "trixie" from Debian 12 "bookworm" can be helpful. 3rd-party repos are handled with a find command.

Note upgrade is only supported from Debian 12 to Debian 13. If you are on Debian 11, upgrade to Debian 12 first. Then once on Debian 12, you can upgrade to Debian 13.

@hmidani-abdelilah
hmidani-abdelilah / install_sis_graphics_on_linux.sh
Created December 8, 2023 07:49 — forked from fevangelou/install_sis_graphics_on_linux.sh
Bash script to install SiS Mirage 3+ graphics drivers on Linux
#!/bin/bash
# Bash script to install SiS Mirage 3+ graphics drivers on Linux
# Supports 671/672MX graphics cards
#
# Created in March 2019
#
# Tested on:
# - Lubuntu 18.04 (32-bit) with X.Org v1.19
# - Xubuntu 18.04 (64-bit) with X.Org v1.20
@hmidani-abdelilah
hmidani-abdelilah / raspberry-pi4.md
Created October 1, 2023 22:10 — forked from RomelSan/raspberry-pi4.md
First things to do with a Raspberry Pi 4 (Raspbian Lite)

First things to do with a Raspberry Pi 4 (Raspbian Lite)

Initial Changes

  • Change User Password
  • Change Hostname
  • Enable SSH
  • Change Time-Zone
    sudo timedatectl
  • Memory Spit
    sudo raspi-config

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):

ssh-keygen -t rsa -C "[email protected]"