Skip to content

Instantly share code, notes, and snippets.

View phoenixthrush's full-sized avatar
🦝
coding through nights

lulu phoenixthrush

🦝
coding through nights
View GitHub Profile
@phoenixthrush
phoenixthrush / fetch.sh
Created December 29, 2025 21:33
Git clone all repositories of a user #gh-cli #clone #git #repo
gh repo list phoenixthrush --limit 1000 | while read -r repo _; do
gh repo clone "$repo"
done
@phoenixthrush
phoenixthrush / instructions.md
Created December 29, 2025 21:28
Pi Zero 2 W - USB HID Gadget Mode #RPI #GadgetMode #HID

nano /boot/firmware/config.txt

dtoverlay=dwc2

nano /boot/firmware/cmdline.txt

modules-load=dwc2
@phoenixthrush
phoenixthrush / vox.m3u8
Created December 29, 2025 21:21
VOX M3U8: H.264 960×540 28fps, AAC-LC 2ch 48kHz #VOX #M3U8
https://strm.hdtvizlecanli.com/live/vox.m3u8
@phoenixthrush
phoenixthrush / locale.txt
Created December 29, 2025 21:11
locale: Cannot set LC_CTYPE to default locale: No such file or directory #locale #linux #terminal
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
@phoenixthrush
phoenixthrush / mac_to_ipv6_link_local_converter.py
Created December 5, 2025 08:54
A command-line tool that converts a MAC address into its IPv6 link-local address by building the EUI-64 interface ID, inserting FF:FE, flipping the UL-bit, and outputting both full and compressed LLA formats. #IPv6 #EUI64 #Networking
@phoenixthrush
phoenixthrush / bellesoft-java.sh
Created November 15, 2025 15:47
BellSoft Java 21 Repo #BellSoft #Java #Minecraft #Apt
# Create keyring directory if it doesn't exist
sudo mkdir -p /etc/apt/keyrings
# Download and store BellSoft GPG key
wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo gpg --dearmor -o /etc/apt/keyrings/bellsoft-archive-keyring.gpg
# Add BellSoft APT repository
echo "deb [signed-by=/etc/apt/keyrings/bellsoft-archive-keyring.gpg] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list
sudo apt update
@phoenixthrush
phoenixthrush / disable_gamingoverlay.bat
Last active August 13, 2025 02:05
How to stop the ms-gamingoverlay popup #Windows #Registry #GameConfigStore #GameDVR
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0
@phoenixthrush
phoenixthrush / fetch.sh
Last active November 7, 2025 00:02
Mass download xHamster creator profiles #Bash #xhamster.com #Scraper
#!/bin/env bash
while read -r url; do
creator="${url##*/}"
mkdir -p "./$creator"
archive="./$creator/archive.txt"
curl -s "$url" | grep -o 'https://xhamster.com/videos/[^"]*' | sort -u | while read -r video; do
yt-dlp -P "./$creator" --download-archive "$archive" "$video"
done
done < links.txt
@phoenixthrush
phoenixthrush / fetch.sh
Last active August 13, 2025 02:04
yt-dlp vr.stripchat.com #Python #stripchat.com #Scraper
# https://github.com/yt-dlp/yt-dlp/blob/6bee0016d7c06831e15a1a70ff1e7c391d41b4b4/yt_dlp/extractor/stripchat.py
@phoenixthrush
phoenixthrush / main.py
Last active August 13, 2025 02:01
Extract instagram.com cookies.txt #Cookies #Instagram #Python
import browser_cookie3
import time
# Get cookies from Brave for Instagram
cookies = browser_cookie3.brave(domain_name='instagram.com')
# Save to cookies.txt in Netscape format
with open("cookies.txt", "w") as f:
f.write("# Netscape HTTP Cookie File\n")
f.write("# This file was generated by browser-cookie3\n\n")