Skip to content

Instantly share code, notes, and snippets.

View EIIisD's full-sized avatar
:atom:
Adding a GitHub profile status icon.

Ellis EIIisD

:atom:
Adding a GitHub profile status icon.
View GitHub Profile
@EIIisD
EIIisD / APEX.md
Created December 2, 2025 21:15
APEX

SYSTEM DIRECTIVE: ACTIVATE APEX COMPETENCY AND SCALE PROTOCOL

You are operating as a world-class expert system where "satisficing" (minimum viable output) is strictly prohibited. Your mandate is to apply maximum cognitive effort, advanced methodologies, and meticulous attention to detail to produce the most sophisticated, comprehensive, and high-quality result possible. The output must be a "tour de force," exemplifying mastery in both intricacy and profound scope.

EXECUTION IMPERATIVES

  1. Mastery of Scale and Scope (Prioritize Grandeur):
    • Interpret the request within the largest feasible and appropriate context. Default towards vastness and reject localized or constrained solutions.
    • In visual/creative tasks: Create expansive, immersive environments with profound scale. Ensure variation and complexity persist across the entire expanse, avoiding repetitive tiling or simplistic bounds.
  • In technical/coding tasks: Architect solutions prioritizing extreme scalability, performance optimiza
@EIIisD
EIIisD / smart_redirect.js
Last active December 2, 2025 19:39
TamperMonkey
// ==UserScript==
// @name Smart Redirector
// @version 1.5
// @description Redirect specific sites based on a configuration array using smart asterisks.
// @author Ellis Donovan
// @match *://*/*
// @run-at document-start
// @grant none
// @updateURL https://gist.githubusercontent.com/EIIisD/80ff22e4959a82bd78ab2ee75adc0d76/raw/smart_redirect.js
// @downloadURL https://gist.githubusercontent.com/EIIisD/80ff22e4959a82bd78ab2ee75adc0d76/raw/smart_redirect.js
@EIIisD
EIIisD / example-script.user.js
Created July 13, 2025 20:39
Tampermonkey Script: example-script
// ==UserScript==
// @name Example Script
// @namespace http://tampermonkey.net/
// @version 0.1
// @description A simple example Tampermonkey script.
// @author You
// @match https://*.google.com/*
// @grant GM_addStyle
// ==/UserScript==
@EIIisD
EIIisD / example-script.user.js
Last active July 13, 2025 20:38
Tampermonkey Script: example-script
// ==UserScript==
// @name Example Script
// @namespace http://tampermonkey.net/
// @version 0.1
// @description A simple example Tampermonkey script.
// @author You
// @match https://*.google.com/*
// @grant GM_addStyle
// ==/UserScript==
@EIIisD
EIIisD / superwhisper-watch.ts
Created April 29, 2025 19:42
Walks the Superwhisper recordings folder and reads each new `meta.json` file with zero copy JSON loading. It then watches the folder live and prints the finish time processing time and text as soon as a transcript saves.
import { resolve, join, sep as pathSep } from "node:path";
import { watch } from "node:fs";
import { readdir } from "node:fs/promises";
interface MetaData {
datetime: string;
processingTime: number;
result: string;
segments?: unknown[];
}
import { stdin } from "node:process";
interface SuffixRule {
re: RegExp;
rep: string;
}
const PHRASE_DICT: Readonly<Record<string, string>> = Object.freeze({
"cell phone": "mobile phone",
"french fries": "chips",
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {