Skip to content

Instantly share code, notes, and snippets.

View indexzero's full-sized avatar
🗽
✊ Fist in the air in the land of hypocrisy

Charlie Robbins indexzero

🗽
✊ Fist in the air in the land of hypocrisy
View GitHub Profile
@indexzero
indexzero / !ios-osascript
Created July 2, 2026 04:36
A closed loop set of deterministic scripts `claude` made itself to drive iOS simulator based testing using xcrun and ffmpeg
A closed loop set of deterministic scripts `claude` made itself to drive iOS simulator based testing using xcrun and ffmpeg
@indexzero
indexzero / claude.ai.md
Created June 29, 2026 14:44
PROTIPS for quick data extraction when working with common LLM tools

claude.ai (web)

Get all expanded internal thoughts grouped by response

copy(
  [...document.querySelectorAll('div[data-timeline-text]')].map(
    block => [...block.querySelectorAll('.standard-markdown p')]
      .map(p => p.textContent.trim())
 )
@indexzero
indexzero / !whitman-1855
Last active June 19, 2026 17:38
Listener up there ! Here you . . . . what have you to confide to me ?
# Leaves of Grass (1855) — vector trace
Turning the scanned ink of the first edition of Walt Whitman's *Leaves of
Grass* into scalable SVG vector paths — a true raster-to-vector trace of the
original 1855 typography.
> _I bequeath myself to the dirt to grow from the grass I love,
> If you want me again look for me under your bootsoles._
> – Walt Whitman, 1855
@indexzero
indexzero / brave.history.scroll.js
Last active May 24, 2026 04:47
Brave history scroller to force downloads to local sqlite3 database
window.harvesterConfig = {
throttleDelayMs: 100,
// SELF-HEALING ENGINE: Finds the container dynamically if the global variable is missing
getContainer: function() {
if (window.discoveredContainer && document.contains(window.discoveredContainer)) {
return window.discoveredContainer;
}
// Deep search crawler to safely locate the scroll box past Shadow roots
@indexzero
indexzero / PRINCIPALS.md
Last active January 16, 2026 16:58
Principles of Note: a list of select principles that have been particularly useful in helping design, refine, and debug complex systems (both computer & human)

Principles of Note

A list of select principles that have been particularly useful in helping design, refine, and debug complex systems (both computer & human)

Any organization that designs a system (defined broadly) will produce a design hose structure is a copy of the organization's communication structure.

@indexzero
indexzero / npm-downloads-2022.txt
Last active February 17, 2022 05:03
Total downloads for indexzero in last-month: 399,423,177
@exemplar/native-storybook: 7
@exemplar/storybook: 9
@exemplar/storybook-react: 35
@exemplar/storybook-react-native: 6
@gasket/assets: 310
@gasket/cli: 641
@gasket/data: 225
@gasket/engine: 505
@gasket/fetch: 212
@gasket/helper-intl: 230
@indexzero
indexzero / .gitignore.yahrzeit
Last active February 4, 2023 18:27
Simple Yahrzeit calculator using Hebcal package
# Ignore things not in the gist
*
!facade.js
!hebcal.js
!README.md
!temporal.js
!why.png
@indexzero
indexzero / gather.js
Last active August 15, 2019 16:06
Basic puppeteer CSS coverage. Adapted from https://stackoverflow.com/a/48452214
const puppeteer = require('puppeteer');
const util = require('util');
const fs = require("fs");
const path = require('path');
(async (url) => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.coverage.startCSSCoverage();
await page.goto(url);
@indexzero
indexzero / output.log
Created May 30, 2019 18:33
Execution semantics for async functions not invoked with await
executeMultiple | start
executeMultiple | end
executeMultipleAsync | start
executeMultipleAsync | end
executeMultiple | execute1
executeMultipleAsync | execute1
executeMultiple | execute2
executeMultipleAsync | execute2
executeMultipleAsync | callback
@indexzero
indexzero / index.html
Created April 17, 2019 08:00 — forked from jjgonecrypto/index.html
es6 proxy #jsbench #jsperf (http://jsbench.github.io/#531652a2edfa806a5014558bafe6eb0e) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>es6 proxy #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>