Skip to content

Instantly share code, notes, and snippets.

@typicalfo
typicalfo / wb.py
Created September 14, 2025 17:54
grok coded script to use the wayback python sdk to pull archives locally given a file of urls and / or keywords - each on a new line.
import os
import requests
import argparse
from waybackpy import WaybackMachineCDXServerAPI
from urllib.parse import urlparse
def is_url(line):
"""Check if the line is a valid URL."""
return line.startswith(('http://', 'https://'))
@typicalfo
typicalfo / boof.py
Last active October 12, 2025 02:26
shhhh
#!/usr/bin/env python3
"""
boof - Bluetooth speaker management utility
Connects to and stops music on multiple speakers
"""
import json
import subprocess
import time
import re
@typicalfo
typicalfo / flipper_bluetooth_client.js
Created June 22, 2025 18:32
Flipper zero connect to raspberry pi
let bluetooth = require("bluetooth");
let textbox = require("textbox");
let dialog = require("dialog");
let deviceName = "RaspberryPi-Zero2";
let serviceUUID = "12345678-1234-1234-1234-123456789abc";
function connectToRaspberryPi() {
textbox.setConfig("end", "text");
textbox.addText("Flipper Bluetooth Client\n");