Skip to content

Instantly share code, notes, and snippets.

@8ullyMaguire
8ullyMaguire / gist:ca8ddb18a759e1eb7eb66d98a46162a0
Created July 17, 2026 07:58
Install a userscript from a GitHub Gist in Firefox for Android
Here's how to install a userscript from a GitHub Gist in Firefox for Android.
### 1. Install a Userscript Manager
Firefox for Android doesn't natively run userscripts, so you need a manager extension first.
* **Tampermonkey**: The most popular option, officially supported in Firefox for Android version 110 and newer.
* Open Firefox, go to **Menu > Add-ons > Add-ons Manager**.
* Find **Tampermonkey** and tap the **+** (or "Add to Firefox") button to install it.
* **Violentmonkey**: A great open-source alternative that also works well on Android. You can find and install it the same way from the Add-ons Manager.
@8ullyMaguire
8ullyMaguire / viral-content-pipeline-public.md
Created June 20, 2026 09:48
AI Agent "Viral Content Pipeline" Skill

Viral Content Pipeline — Bilingual (EN/ES) Analysis → Multi-Platform Publish

A fully automated pipeline that takes any source (YouTube URL, EPUB, local text/video file), extracts content, produces bilingual (EN+ES) analysis videos with TTS audio and static background renders, then publishes across multiple platforms.

Tech stack: ffmpeg, edge-tts (Neural TTS), ImageMagick, Python, Whisper, atproto (Bluesky), Mastodon API, PeerTube API, PieFed API.


Pipeline Architecture

@8ullyMaguire
8ullyMaguire / gist:8425b33dc74be9abcf52f9f3d1cbc46a
Last active June 12, 2026 20:31
VTuber Setup Log — XR Animator + Warudo + OBS on Linux
@8ullyMaguire
8ullyMaguire / XtoB - Twitter to Bluesky Crossposter.user.js
Last active June 5, 2026 06:27
XtoB – Auto Crosspost Twitter/X → Bluesky
// ==UserScript==
// @name XtoB – Auto Crosspost Twitter/X → Bluesky
// @version 1.6.0
// @description Auto-crossposts to Bluesky when you POST/REPOST on Twitter/X. Uses author handles (e.g., @user) in reposts. Button mode: butterfly for reposts only.
// @author Mistral AI
// @match https://x.com/*
// @match https://twitter.com/*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_xmlhttpRequest
@8ullyMaguire
8ullyMaguire / ao3_reading_time_and_quality_core.js
Created May 31, 2026 18:12
AO3: Reading Time & Quality Score
// ==UserScript==
// @name AO3: Reading Time & Quality Score
// @version 4.0.6
// @author BlackBatCat
// @description Add reading time, chapter reading time, and quality scores to AO3 works with color coding, score normalization and sorting.
// @match *://archiveofourown.org/
// @match *://archiveofourown.org/tags/*
// @match *://archiveofourown.org/works*
// @match *://archiveofourown.org/chapters/*
// @match *://archiveofourown.org/users/*
@8ullyMaguire
8ullyMaguire / gist:aa0945081e3a359f40f752a1aaab2056
Created May 24, 2026 10:10
website-to-epub AI agent skill
---
name: website-to-epub
description: Convert an mdBook/mkDocs documentation website to EPUB for e-reader reading. Downloads clean Markdown from GitHub source, assembles in chapter order, converts with pandoc.
tags: [epub, pandoc, mdbook, documentation, ebook, converter, website]
trigger: epub documentation website mdbook docs-to-epub convert-docs ebook
---
# Website Documentation → EPUB
Convert a full mdBook documentation site (or similar static-doc site) into a clean EPUB for offline reading on an e-reader (phone, Kindle, etc.).
## Core Philosophy
1. **Make complexity the #1 enemy** – Complexity makes code hard to understand or modify. Fight it continuously.
2. **Strategic over tactical programming** – Don’t just make working code; invest time in good design to reduce long‑term complexity. Avoid being a “tactical tornado”.
3. **Zero tolerance for complexity** – Complexity accumulates incrementally. Remove it aggressively, even from small changes.
4. **Design it twice** – Explore at least two radically different designs before choosing one.
5. **Obviousness is the goal** – Good design makes the system obvious to readers, not just to the author.
6. **It’s easier to see design problems in someone else’s code** – Use code reviews to gain that perspective.
7. **If you aren’t improving the design when changing code, you’re probably making it worse** – Always leave the design better than you found it (Boy Scout Rule).
@8ullyMaguire
8ullyMaguire / gist:764e7dc375d3f9d34cadb0d668bd518d
Created May 6, 2026 14:49
A Philosophy of Software Design by John Ousterhout
**Summary of *A Philosophy of Software Design* by John Ousterhout**
Source: danlebrero.com
These are notes by Daniel Lebrero Berna on John Ousterhout’s *A Philosophy of Software Design.*
Some advice in the book goes against the current software dogma. The current dogma is the result of previous pains, but has now been taken to the extreme, causing new pains.
What the author solves with “Comment-First Development,” others solve with Test-Driven Development. The excuses for not writing comments mirror those for not writing tests.
---
@8ullyMaguire
8ullyMaguire / gist:4a1971165dc81904f190597850d81d06
Created December 19, 2025 09:12
Bluesky Reposts-to-Likes Percentage
```javascript
// ==UserScript==
// @name Bluesky Reposts-to-Likes Percentage
// @namespace https://example.com/bsky-repost-like-percentage
// @version 1.0.0
// @description Show reposts as a percentage of likes on Bluesky (bsky.app) by appending a parenthesized percentage next to the repost count.
// @match https://bsky.app/*
// @grant none
// ==/UserScript==
@8ullyMaguire
8ullyMaguire / clean_code.md
Created October 18, 2025 14:26 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules