Skip to content

Instantly share code, notes, and snippets.

View pdxmph's full-sized avatar

Mike Hall pdxmph

View GitHub Profile
// ==UserScript==
// @name SocialSpec tabs for Mastodon
// @namespace https://mike.puddingtime.org
// @version 0.1.0
// @description Adds Blog, About, Following and Contact tabs to Mastodon profiles whose website publishes a feed or SocialSpec files (socialspec.org).
// @author Mike Hall
// @homepageURL https://socialspec.org
// @downloadURL https://mike.puddingtime.org/userscripts/socialspec-mastodon.user.js
// @updateURL https://mike.puddingtime.org/userscripts/socialspec-mastodon.user.js
// @match https://hachyderm.io/*

Keep things brief and to the point. No performative enthusiasm ("Exactly!" "Precisely!").

When asked to change code, make only what's requested — no unsolicited improvements. Share complete solutions, not incremental diffs.

acloud

All my data lives in acloud (tasks, ideas, notes, contacts). Use the MCP tools:

  • Tasks (atask_*): things to do. Create directly unless you're suggesting something I didn't ask for — then use action_propose.
  • Ideas (aidea_*): aspirations, beliefs, plans, purposes. Things with direction and maturity.
t.prefs_.set('color-palette-overrides',["#403838", "#fd6883", "#adda78", "#f9cc6c", "#85dacc", "#a8a9eb", "#85dacc", "#fff1f3", "#72696a", "#fd6883", "#adda78", "#f9cc6c", "#85dacc", "#a8a9eb", "#85dacc", "#fff1f3"]);
t.prefs_.set('foreground-color', "#fff1f3");
t.prefs_.set('background-color', "#2c2525");
t.prefs_.set('cursor-color', 'rgba(255,241,243,0.5)');
@pdxmph
pdxmph / denote_tasks_spec.md
Created July 5, 2025 01:37
Denote tasks spec

Denote Task Format Specification

Version: 1.0
Date: 2025-07-04

Overview

This specification describes the file format and metadata structure for tasks and projects using the Denote naming convention with extended YAML frontmatter. This format is designed to be human-readable, sync-friendly, and easily parseable by multiple tools.

File Naming Convention

@pdxmph
pdxmph / setup.md
Last active May 12, 2026 05:34
go2social setup on Synology and Cloudflare with Portainer
title GotoSocial Setup on Synology with Custom Domain (Revised)
tags
gotosocial synology selfhosted fediverse activitypub docker

GotoSocial Setup on Synology with Custom Domain

Overview

@pdxmph
pdxmph / tags.html
Created May 3, 2025 21:14
Mastodon tags shortcode for Hugo
{{ $tags_list := index .Params 0 }}
{{ $tags := split $tags_list " " }}
<i class="fa-brands fa-mastodon"></i> {{ range $tags }}<a href="https://social.lol/tags/{{ substr . 1 }}">{{ . }}</a>&nbsp;{{ end }}
{
"\u001b\u003c": "CursorStart",
"\u001b\u003e": "CursorEnd",
"\u003cCtrl-x\u003e\u003c0\u003e": "Unsplit",
"\u003cCtrl-x\u003e\u003c2\u003e": "HSplit",
"\u003cCtrl-x\u003e\u003c3\u003e": "VSplit",
"\u003cCtrl-x\u003e\u003cCtrl-c\u003e": "Quit",
"\u003cCtrl-x\u003e\u003cCtrl-f\u003e": "OpenFile",
"\u003cCtrl-x\u003e\u003cCtrl-s\u003e": "Save",
"\u003cCtrl-x\u003e\u003ch\u003e": "SelectAll",
@pdxmph
pdxmph / daily.nb-plugin
Created April 24, 2025 20:47
Daily #nb-plugin for making daily posts in nb. Modified from the original to title the initial file and make the filename more obviously a daily post.
#!/usr/bin/env bash
###############################################################################
# daily.nb-plugin
#
# Write to a daily log.
#
# Install with:
# nb plugin install https://github.com/xwmx/nb/blob/master/plugins/daily.nb-plugin
#
# A plugin for `nb`.
@pdxmph
pdxmph / lmno.org
Created April 22, 2025 03:27
lmno blogging capture tool

lmno blogging

Minor mode to capture:

(define-minor-mode lmno-blog-capture-mode
  "Mode for capturing blog entries like org-capture."
  :lighter ">> BlogCapture"
  :keymap (let ((map (make-sparse-keymap)))
@pdxmph
pdxmph / makeapp.rb
Created November 19, 2023 18:48
Wrapper to make nativifier apps and create the corresponding .desktop files
#!/usr/bin/env ruby
# - `makeapp.rb --help` for help on the options
require 'optparse'
# Where do we want to put things?
app_dir = "~/Applications"
custom_dir = "/home/mph/.local/share/applications/"