Skip to content

Instantly share code, notes, and snippets.

View dhonus's full-sized avatar
🐊
getting on better with my associate employee contemporaries

Daniel Honus dhonus

🐊
getting on better with my associate employee contemporaries
View GitHub Profile
@dhonus
dhonus / gist:0842432c8ebfd8548762c5a23e6e1d52
Last active September 19, 2025 17:59
Last.fm → Songkick automatic script
// ==UserScript==
// @name Last.fm → Songkick (Persistent Queue, Compact UI, Big NEXT)
// @namespace lfm2sk-queue-persist
// @version 1.5
// @description Fetch artists from Last.fm (library or top periods), then step through Songkick searches with a persistent queue controller (Previous / NEXT / Abort). Compact UI, masked API key.
// @match https://songkick.com/*
// @match https://www.songkick.com/*
// @match https://m.songkick.com/*
// @grant GM_addStyle
// @grant GM_setValue
@dhonus
dhonus / viewrpm.sh
Last active March 5, 2025 11:48
List files in RPM, select one to print its contents.
alias viewrpm='f(){ [ -z "$1" ] && { echo "Usage: viewrpm rpmfile"; return 1; }; PS3="Select file: "; select f in $(rpm -qlp "$1"); do bsdtar -xOf "$1" "${f#/}"; break; done; }; f'
viewrpm vim-9.1.1101-1.1.aarch64.rpm
1) /usr/bin/edit
2) /usr/bin/ex
3) /usr/bin/gvimtutor
4) /usr/bin/rview
...
@dhonus
dhonus / clock.html
Created July 23, 2022 17:30
js clock
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
</head>
<body>
<div style="text-align: center; height: 100%; overflow: hidden;">
<h1 id="timeTextField" style="font-family: 'Orbitron', sans-serif; font-size: 8em;">Time</h1>
</div>