Skip to content

Instantly share code, notes, and snippets.

View addohm's full-sized avatar
🤬
I may be slow to respond.

Adam addohm

🤬
I may be slow to respond.
View GitHub Profile
@addohm
addohm / vid.py
Last active May 23, 2026 21:23
Video Modification Simplified
#!/usr/bin/env python3
"""vid — a friendlier CLI wrapper around ffmpeg for common video tasks."""
import argparse
import json
import os
import re
import shlex
import shutil
import subprocess
@addohm
addohm / yt-download.sh
Last active May 23, 2026 13:21
Download youtube content
#!/usr/bin/env bash
# ipad-util — manage files on an iOS app's Documents folder over USB.
# Works with any iOS app that opts into file sharing (UIFileSharingEnabled).
#
# Subcommands:
# put <path>... Transfer files/dirs into Documents (dirs walked manually).
# get <remote> [local] Pull a file/dir from device.
# ls [remote] List remote contents (default: Documents).
# rm [-f] <remote>... Delete files/dirs (prompts unless -f).
# mv <old> <new> Rename or move on device.
@addohm
addohm / ipad-util.sh
Last active May 23, 2026 21:22
linux ipad utility
#!/usr/bin/env bash
# ipad-util — manage files on an iOS app's Documents folder over USB.
# Works with any iOS app that opts into file sharing (UIFileSharingEnabled).
#
# Subcommands:
# put <path>... Transfer files/dirs into Documents (dirs walked manually).
# get <remote> [local] Pull a file/dir from device.
# ls [remote] List remote contents (default: Documents).
# rm [-f] <remote>... Delete files/dirs (prompts unless -f).
# mv <old> <new> Rename or move on device.
@addohm
addohm / Git init cli.md
Last active July 21, 2025 08:41
Git Starts from CLI

Pulling an exisitng repository into a new folder

git init

git remote add origin https://{YOUR_GITHUB_TOKEN}@github.com/{REPO_OWNER_USER_NAME}/{REPO_NAME}.git

git pull origin main

@addohm
addohm / instructions.md
Last active July 25, 2025 22:16
6.15.2-200.nobara.fc42.x86_64 patch for vmware workstation vm drivers

cd /usr/lib/vmware/modules/source/

create backup of modules and unpack

sudo mv vmmon.tar vmmon.tar.bak

sudo tar xf vmmon.tar.bak

sudo mv vmnet.tar vmnet.tar.bak

sudo tar xf vmnet.tar.bak

@addohm
addohm / arch_linux_installation_guide.md
Created June 12, 2025 15:49 — forked from mjkstra/arch_linux_installation_guide.md
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@addohm
addohm / dual-boot.md
Created June 6, 2025 04:16 — forked from shimeoki/dual-boot.md
Windows 11 + Arch Linux dual-boot (systemd-boot) installation guide with encrypted partitions (BitLocker and LUKS respectively) and Secure Boot (UEFI)

My Windows 11 + Arch Linux dual-boot installation

Caution

All actions are at your own risk! This has been tested by me, but does not guarantee your success.

Read everything at least once before actually following the guide. If something goes wrong, stop immediately. Consider starting from the beginning.

About the guide

@addohm
addohm / installation.md
Created June 6, 2025 04:10 — forked from camullen/installation.md
KDE Install on WSL2
@addohm
addohm / django_project_reset.py
Last active February 4, 2025 20:56
Reset your django development project back to base
import shutil
import os
import sys
'''
Place this script in the main project directory. This should be
the same directory as manage.py.
'''
# Get the file path of this script
root = sys.path[0]
@addohm
addohm / colors
Created February 7, 2024 16:29 — forked from dtmilano/colors
Shows terminal colors
#! /bin/bash
n=32
arg=setaf
text='Hello World! This is %s %d'
_help()
{
printf 'usage: %s [--help|-H] [--16] [--256] [-t|--tiny] [--background|-b]\n' "$(basename $0)"
exit 0