Skip to content

Instantly share code, notes, and snippets.

View binimum's full-sized avatar

binimum binimum

View GitHub Profile
@binimum
binimum / latest_secret.json
Last active April 3, 2026 03:00
Latest Spotify TOTP secret (updated every 24h)
[
{ "version": 59, "secret": [ 123, 105, 79, 70, 110, 59, 52, 125, 60, 49, 80, 70, 89, 75, 80, 86, 63, 53, 123, 37, 117, 49, 52, 93, 77, 62, 47, 86, 48, 104, 68, 72 ] },
{ "version": 60, "secret": [ 79, 109, 69, 123, 90, 65, 46, 74, 94, 34, 58, 48, 70, 71, 92, 85, 122, 63, 91, 64, 87, 87 ] },
{ "version": 61, "secret": [ 44, 55, 47, 42, 70, 40, 34, 114, 76, 74, 50, 111, 120, 97, 75, 76, 94, 102, 43, 69, 49, 120, 118, 80, 64, 78 ] }
]
@binimum
binimum / app.py
Created August 30, 2025 18:21
"Simple", easy script to play a random radio station with a web remote. (Don't judge me on the radio station pls!!!)
#/usr/bin/env python
#!pip install flask flask_socketio eventlet websocket_client requests
from flask import Flask, render_template_string, jsonify, request
from flask_socketio import SocketIO, emit
import os
import subprocess
import signal
import threading
import time
@binimum
binimum / README.md
Created May 28, 2025 10:37
Fetch LRCs for a JSON list of songs.

Fetch LRCs for a JSON list of songs

Advantages

  • The lyrics it does fetch are accurate

Disadvantages

  • It takes a lot of time due to API rate limiting based on IP
  • No richsync (word by word) lyrics
@binimum
binimum / README.md
Last active July 18, 2024 14:13
Downloader script using yt-dlp.

downloader

A downloader using bash to download videos from many websites using yt-dlp.

Unfortunately, BBC videos are currently broken.

It downloads yt-dlp into a temporary directory, ~/.dl-temp, and then uses that executable to download videos.

@binimum
binimum / normal.py
Created October 20, 2023 12:49
Fibonnaci sequence in Python
import re # Regular expression matching
from time import time
from sys import setrecursionlimit,set_int_max_str_digits # See below for details
setrecursionlimit(1000000)
set_int_max_str_digits(1000000)
# Class to wrap things up
class Fibonacci:
# Define variables
def __init__(self) -> None:
@binimum
binimum / wordle.py
Created February 16, 2023 14:13
Wordle in Python (took me 10mins in a competition)
from random import randint
words = [
"aback",
"abase",
"abate",
"abbey",
"abbot",
"abhor",
"abide",