Skip to content

Instantly share code, notes, and snippets.

View khogeland's full-sized avatar
🛠️
inventing new problems to solve

kevin hogeland khogeland

🛠️
inventing new problems to solve
View GitHub Profile
@pdcmoreira
pdcmoreira / navidromeRemoveAllMissingFiles.js
Created May 6, 2025 14:36
Batch remove all missing files from all pages in Navidrome's "Missing files" list - copy-paste into the console and run
(async () => {
const wait = (time) => new Promise(resolve => setTimeout(resolve, time))
const countElements = () => document.querySelectorAll('.MuiTableRow-root').length
while(countElements()) {
const selectAllInput = document.querySelector('.MuiIconButton-label input')
selectAllInput.click()
@archerslaw
archerslaw / hotplug-via-QMP.py
Last active September 11, 2018 17:11
hotplug-via-QMP.py
# QEMU Monitor Protocol Python class
#
# Copyright (C) 2009 Red Hat Inc.
#
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
import socket, json, time, commands
from optparse import OptionParser