Skip to content

Instantly share code, notes, and snippets.

View LouDnl's full-sized avatar
πŸ‘‘
USBSID-Pico ~ buy @ SmallRun or PCBWay

LouD LouDnl

πŸ‘‘
USBSID-Pico ~ buy @ SmallRun or PCBWay
View GitHub Profile
@LouDnl
LouDnl / ns-tree.bb
Last active July 27, 2026 15:12
Namespace require tree in require order, analogous to `clj -X:deps tree` but for ns requires
#!/usr/bin/env bb
;; 2026 LouD https://github.com/LouDnl
;; Source: https://gist.github.com/LouDnl/d9cbe3669be40f89d3b62555b462573d
;; Namespace require tree in require order, analogous to `clj -X:deps tree` but for ns requires.
;;
;; Command (uses glow to view the markdown file afterwards):
;; bb ns-tree.bb yourns.core --order source --output path/to/yourns-tree.md && glow path/to/yourns-tree.md -altw0
;; bb ns-tree.bb yourns.core --order source > path/to/yourns-tree.md && glow path/to/yourns-tree.md -altw0
;; Usage:
;; bb ns-tree.bb <root-ns> [opts]
@mary-ext
mary-ext / bluesky-osa.md
Last active August 7, 2026 16:58
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access, prompting users to verify their age through Epic Games' Kids Web Services before they can access adult content.

This sucks, but thankfully there are ways to work around it.

Before diving in: I encourage you to read this entire document, including the

@garrett
garrett / ollama-start.sh
Created June 25, 2024 18:43
ollama with rocm (AMD GPU) and webui, in podman
podman run --pull newer --detach --security-opt label=type:container_runtime_t --replace --device /dev/kfd --device /dev/dri -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama:rocm; podman run --replace --pull newer -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main
@leifericf
leifericf / bb.edn
Last active January 9, 2024 20:21
Consuming 3rd Party APIs Using Clojure (Babashka)
{:paths ["src"]
:deps {org.babashka/json {:mvn/version "0.1.1"}}}
@yunginnanet
yunginnanet / fwd55.go
Last active August 8, 2025 08:12
fwd55.go
package main
// ▄─▄ β–„ β–„ β–„ ──▄ ▄─▄ ▄─▄
// ▓─ β–“ β–“ β–“ β–“ β–“ ▀─▄ ▀─▄
// β–€ ▀─▀─▀ ──▀ ▀─▀ ▀─▀
// f w d --> 5 5
//
// simple rfc1928 proxy server
//
//
@jmarrec
jmarrec / .inputrc
Created September 7, 2023 17:12
inputrc
########################################################################################
# R E A D L I N E C O N F I G U R A T I O N B Y J U L I E N M A R R E C
########################################################################################
# Visible = Don't ring the bell (sound), but show it as visible ([none, visible, audible])
set bell-style none
## Be more intelligent when autocompleting by also looking at the text after
# the cursor. For example, when the current line is "cd ~/src/mozil", and
# the cursor is on the "z", pressing Tab will not autocomplete it to "cd
@sleshep
sleshep / cvt.py
Created May 5, 2023 07:54
Hashcat mode 2500 to 22000 converter Python Script. hccapx to mode 22000
import sys
import os
import struct
def main():
if len(sys.argv) != 2:
print("Usage: python convert_hccapx_to_22000.py <input_hccapx_file>")
sys.exit(1)
@pschatzmann
pschatzmann / esp32-stacktrace.py
Created January 25, 2023 14:31
ESP32 Stacktrace
#!/usr/bin/env python
import argparse
import re
import os
import subprocess
import sys
from termcolor import colored
# update the following default values to what is relevant for your system
@matthewdowney
matthewdowney / hack-captive-portal.bb
Created January 5, 2023 18:39
Script to bypass captive portals from https://miloserdov.org/?p=1088, ported to Babashka and improved
#!/usr/bin/env bb
; =========================================================================== ;
; FILE: hack-captive-portal.bb ;
; USAGE: sudo bb hack-captive-portal.bb ;
; ;
; DESCRIPTION: This script helps to pass through the captive portals in ;
; public Wi-Fi networks. It hijacks IP and MAC from somebody ;
; who is already connected and authorized on captive portal. ;
; Tested in Ubuntu 16.04 with different captive portals in ;
; airports and hotels all over the world. ;
@Paraphraser
Paraphraser / Checking your Raspberry Pi's view of its power supply.md
Last active July 31, 2026 16:55
Checking your Raspberry Pi's view of its power supply (sometimes it's not the wall-wart)

Checking your Raspberry Pi's view of its power supply

Sometimes it seems like the first (and sometimes only) advice you get offered for almost any problem with a Raspberry Pi is "check your power supply". You think something like:

"hey, I'm using an official power supply sold as being matched with my Pi so how can there be any problem?"

You look up the specs then stick a controlled load across your supply and confirm that it can deliver the required number of Watts.

Yet your problems persist…