Skip to content

Instantly share code, notes, and snippets.

View extratone's full-sized avatar
🗿
sudo exit

David Blue extratone

🗿
sudo exit
View GitHub Profile
@extratone
extratone / MusicBrainzPicardTagMap.csv
Created September 30, 2025 23:42
The MusicBrianz Picard Tag Map in non-proprietary formats.
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 8 columns, instead of 1 in line 9.
**Tag Name**, **Internal Name**, **ID3v2**, **Vorbis**, **APEv2**, **iTunes MP4**, **ASF/Windows Media**, **RIFF INFO**
**AcoustID**, acoustid_id, TXXX:Acoustid Id, ACOUSTID_ID, ACOUSTID_ID, ----:com.apple.iTunes:Acoustid Id, Acoustid/Id, n/a
**AcoustID Fingerprint**, acoustid_fingerprint, TXXX:Acoustid Fingerprint, ACOUSTID_FINGERPRINT, ACOUSTID_FINGERPRINT, ----:com.apple.iTunes:Acoustid Fingerprint, Acoustid/Fingerprint, n/a
**Album**, album, TALB, ALBUM, Album, ©alb, WM/AlbumTitle, IPRD
**Album Artist**, albumartist, TPE2, ALBUMARTIST, Album Artist, aART, WM/AlbumArtist, n/a
**Album Artist Sort Order**, albumartistsort, TSO2 (Picard>=1.2) TXXX:ALBUMARTISTSORT (Picard<=1.1), ALBUMARTISTSORT, ALBUMARTISTSORT, soaa, WM/AlbumArtistSortOrder, n/a
**Album Sort Order [4]**, albumsort, TSOA, ALBUMSORT, ALBUMSORT, soal, WM/AlbumSortOrder, n/a
**Arranger**, arranger, TIPL:arranger (ID3v2.4) IPLS:arranger (ID3v2.3), ARRANGER, Arranger, n/a, n/a, n/a
**Artist**, artist, TPE1, ARTIST, Artist, ©ART, Author, IART
**Arti
<!-- DO NOT EDIT OR DELETE LINES WITH COMMENTS (it's look like as this or next line)
-->{{WoWs_Ship
|Promo=<!-- in case of gift or promo ship write conditions to get it. (optional)-->
USS ''Missouri'' is now preserved as a [https://www.ussmissouri.org/ military museum ship] in Pearl Harbor, Hawaii.
''{{#var:ship_name}}'' was first released for sale worldwide on 7 December 2016, and was removed from sale on 28 February 2018 with the release of [[Ship:Update 0.7.2|Update 0.7.2]]. It was brought back as a ship available for purchase with the Pacific War event in [[Ship:Update 0.10.7|Update 0.10.7]], albeit unlike the legacy variant, it was returned to the game as a ship earning only the standard amount of credits per battle for a tier IX premium ship.
|Anno=<!-- you can write below short description for the ship. it will replace default once. -->
<!-- <br><br>{{Model3DViewer|cc01ed2a411e41f79c4d9a77aa1e3b03}}-->
@extratone
extratone / mastodon_status_admonitions.py
Last active October 17, 2025 15:40
A script querying the mastodon API for all status urls found for a given Mastodon-formatted search query.
import requests
import sys
import argparse
import time
from datetime import datetime
from dateutil import parser as date_parser
from dateutil import tz
from markdownify import markdownify as md
# --- Configuration ---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@extratone
extratone / ddActionKeys.js
Created September 22, 2025 10:23
Drafts Action Script to query, sort, and reformat all configured Action keyboard shortcuts as a markdown list.
// Drafts Action: List Action Keyboard Shortcuts (Markdown)
function getAllActions() {
let all = [];
ActionGroup.getAll().forEach((grp) => (all = all.concat(grp.actions)));
return all;
}
function parseShortcut(action) {
try {
@extratone
extratone / Screwtapes.html
Last active September 22, 2025 02:36
Shortcuts Source Tool analyses of Mr. T-Wrecks' Screwtapes Siri Shortcut.
<!DOCTYPE html><html><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="format-detection" content="telephone=no,date=no">
<title>Screwtapes</title>
<style>
body {
font-family: system-ui;
font-size: 0.95em;
margin-top: 1rem;
margin-bottom: calc(1rem + env(safe-area-inset-bottom));
class Bear {
static get bearBaseURL() {
return "bear://x-callback-url/";
}
static formatNewNote(tags) {
if (tags == undefined) tags = [];
else if (!Array.isArray(tags)) tags = [tags];
return (
"# " +
@extratone
extratone / mastodon_audio_urls.py
Created September 19, 2025 13:49
A script querying the mastodon API for the raw file URLs to all of a user's audio attachments.
import requests
import sys
# --- Configuration ---
INSTANCE = "mastodon.social"
USER_HANDLE = "[email protected]"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"
# --- End Configuration ---
def main():
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.