Skip to content

Instantly share code, notes, and snippets.

View erdaltoprak's full-sized avatar

Erdal erdaltoprak

View GitHub Profile
@erdaltoprak
erdaltoprak / x-api-bookmarks
Created July 12, 2026 09:31
Fetching All Bookmarks from the X (Twitter) API
# Fetching All Bookmarks from the X (Twitter) API
A practical guide to pulling a user's complete bookmark history via the X API v2,
including pagination, incremental sync, and a few gotchas that aren't obvious from
the docs.
## Prerequisites
- A project with **OAuth 2.0 User Context** access.
- An app with a client ID / client secret and a redirect URI configured.
@erdaltoprak
erdaltoprak / proxmox-vm-gpu-nvidia-automated-developer-setup.sh
Last active May 5, 2026 21:35
proxmox-vm-gpu-nvidia-automated-developer-setup.sh
#!/bin/bash
# Configuration parameters
PYTHON_VERSION="3.11.11"
CUDA_VERSION="12.6.3"
CUDA_DRIVER="560.35.05"
SCRIPT_VERSION="1.0.0"
GITHUB_URL="https://gist.github.com/erdaltoprak/cdc1ec4056b81a9da540229dcde3aa0b"
CLEANUP_CUDA="no" # Set to "no" to keep the CUDA installer and "yes" to remove it
@erdaltoprak
erdaltoprak / mac-automated-setup.sh
Last active April 25, 2026 21:20
Automated macOS setup with homebrew, system & shell configuration
#!/usr/bin/env bash
###############################################################################
# Mac Bootstrap – Preferences, Homebrew, MAS apps
# Works with the stock /bin/bash 3.2 on macOS (no mapfile required)
# (c) 2025 Erdal • MIT License
###############################################################################
###############################################################################
# Colours / log helpers
###############################################################################