Skip to content

Instantly share code, notes, and snippets.

@motebaya
motebaya / csv_pin.py
Created September 12, 2026 19:36
just personal pinterest csv gen
#!/usr/bin/env python3
from __future__ import annotations
import argparse
import csv
from pathlib import Path
from urllib.parse import quote
CDN_BASE_URL = "https://fuckdomain.exe"
@motebaya
motebaya / activeStory.js
Created September 7, 2026 19:15
DOM js : grab user IG list with active story frame
[...document.querySelectorAll('div[role="button"]:not([aria-disabled="true"]) img[alt$="\'s profile picture"]')]
.map(img => img.alt.replace(/\'s profile picture$/, ''))
@motebaya
motebaya / add-suffix-res.ps1
Created July 19, 2026 11:28
necessary to know res
function add-suffix-res {
$renamed = 0
$skipped = 0
$failed = 0
Get-ChildItem -File *.mp4 | ForEach-Object {
try {
@motebaya
motebaya / cover-resized.ps1
Last active June 6, 2026 19:04
sweet spot for any cover image
Get-ChildItem -File *.png, *.jpg, *.jpeg | ForEach-Object {
magick $_.FullName `
-resize "900x1200^" `
-gravity center `
-extent 900x1200 `
-strip `
-quality 80 `
"resized\$($_.BaseName).webp"
}
@motebaya
motebaya / tiktok_wm.py
Created May 7, 2026 19:08
a Tiktok watermark generator
"""
Generates a TikTok-branded watermark PNG (transparent background) containing:
* A TikTok musical-note logo rendered from official SVG path data,
with a chromatic-aberration (cyan + red offset) effect
* A username panel with a white-to-light-grey gradient
* A dark "FOLLOW" badge
@github.com/motebaya - 2026-03-30 06:44 PM
"""
@motebaya
motebaya / twitch_wm.py
Created May 7, 2026 18:00
a Twitch watermark generator
"""
Generates a Twitch-branded watermark PNG (transparent background) containing:
* A Twitch Glitch logo rendered from official SVG path data
* A username panel with a white-to-light-grey gradient
* A "FOLLOW" badge with Twitch-purple colour scheme
@github.com/motebaya - 2026-03-30 06:44 PM
"""
from __future__ import annotations
@motebaya
motebaya / subscribe_me.py
Created May 7, 2026 17:31
Generates a YouTube-style subscribe button graphic with a transparent background
"""
Generates a YouTube-style subscribe button graphic with a transparent background,
decorative dashed accent lines, and an animated pointing-hand cursor overlay.
@github.com/motebaya - 2026-03-29 08:33 PM
"""
from __future__ import annotations
import os
@motebaya
motebaya / p_collage_gen.py
Created April 24, 2026 22:19
Bulk image collage generator with random rotation, shadow, and spread layout.
#!/usr/bin/env python3
import argparse
import math
import random
from pathlib import Path
from PIL import Image, ImageOps, ImageFilter
SUPPORTED_EXTS = {".jpg", ".jpeg", ".png"}
@motebaya
motebaya / MediaFire-BulkDownload.js
Last active April 24, 2026 12:27
TamperMonkey: MediaFire Bulk Download with auto-download flow and aggressive popup prevention.
// ==UserScript==
// @name MediaFire Bulk download
// @namespace http://tampermonkey.net/
// @version 2.1
// @description Adds a DOWNLOAD ALL button on MediaFire folder pages and automatically triggers downloads on file pages while blocking popup/ads.
// @author @github.com/motebaya
// @license MIT
// @icon https://www.mediafire.com/favicon.ico
// @match https://www.mediafire.com/folder/*
// @match http://www.mediafire.com/folder/*
@motebaya
motebaya / what_its_like_to_be_a_gan.py
Created April 15, 2026 04:46
synthetic python youtube poop video generator
"""
YouTube Poop: "WHAT IT'S LIKE TO BE A GAN"
A deeply personal, unhinged exploration of the GAN experience.
Narrative arc:
ACT 1 - GENESIS FROM NOISE: Born as pure static. No identity. Just z ~ N(0,1).
ACT 2 - THE DISCRIMINATOR'S CRUELTY: Constant rejection. "FAKE." Loss = infinity.
ACT 3 - TRAINING LOOP HELL: Backprop agony, gradient descent, repeating forever.
ACT 4 - MODE COLLAPSE: The dark night of the soul. Everything looks the same.
ACT 5 - EMERGENCE: Something forms. A face? A cat? Is this... art?