Skip to content

Instantly share code, notes, and snippets.

View siniradam's full-sized avatar
🌎
Digital Nomad

Atlas Koray siniradam

🌎
Digital Nomad
View GitHub Profile
@siniradam
siniradam / youtube-downloader.md
Last active December 10, 2025 22:29
Downloading youtube videos with single command with yt-dlp

Youtube Video Downloader

Instead of everytime dealing with youtube downloader websites, actually you can download it yourself. With this bash script you just need to enter the id of a youtube video or playlist, and you can download it.

1. You need to download yt-dlp 2. I am using mac, so just copied yt-dlp binary to /usr/local/bin folder.

  1. Install yt-dlp with homebrew
  2. Append the code below to your ~/.zprofile file. (Or which ever bash file that suits you)
@siniradam
siniradam / disk-passthrough.sh
Created June 9, 2025 18:10
Proxmox disk passthrough script.
#!/usr/bin/env bash
# Copyright (c) 2025
# Author: Atlas (siniradam)
# License: MIT
# https://gist.github.com/siniradam
# This package, is for passthrough of a disk to a VM on Proxmox.
# You can use this script to passthrough a disk to a VM just by answering a few questions.
# This script is intended to be run on the Proxmox host.
@siniradam
siniradam / ssh-bookmarks.sh
Created December 10, 2025 22:26
SSH Bookmark manager for quick connecting to ssh servers.
#!/bin/bash
# SSH Bookmarks Script - https://github.com/siniradam
# This script contains functions to store, list and quick connecting to frequently used SSH servers.
#
# I wrote this script to be used for mac, for other OS it might need some adjustment.
#
# `sshAdd <server_name> <server_ip> <username>` to add a record.
# `sshList` to list servers.
# `sshCon <server_name>` to connect.