Skip to content

Instantly share code, notes, and snippets.

View pokey's full-sized avatar

Pokey Rule pokey

View GitHub Profile
@pokey
pokey / vscode-nuclear-reinstall.md
Created September 25, 2025 12:50
VSCode nuclear reinstall

Here's how I do a nuclear reinstall of VSCode (ie uninstall, reset caches, remove all exteions, etc). It is useful when I am completely at my wit's end. I've only had to do it twice, but wanted to capture it for next time. It is based on microsoft/vscode-python#24839 (comment). It might change in a future version of VSCode; worked for me as of VSCode 1.104.1 to solve microsoft/vscode-python#24839

  1. Backup extensions list and config files I care about
    mkdir ~/vscode-backup
    code --list-extensions > ~/vscode-backup/installed-extensions.txt
    cp "$HOME/Library/Application Support/Code/User/settings.json" ~/vscode-backup
    cp "$HOME/Library/Application Support/Code/User/tasks.json" ~/vscode-backup
    cp "$HOME/Library/Application Support/Code/User/keybindings.json" ~/vscode-backup
@pokey
pokey / README.md
Last active September 2, 2025 10:23
GitHub Actions iOS E2E Test Workflow with Local Dependencies - Contains the main e2e-ios.yml workflow file and its two local action dependencies: e2e-get-app-info and e2e-setup-dev-env

GitHub Actions iOS E2E Test Workflow

This gist contains the complete GitHub Actions workflow for iOS E2E testing and its local dependency actions.

Files included:

  1. e2e-ios.yml - Main workflow file that runs iOS E2E tests
  2. e2e-setup-dev-env-action.yml - Local action that sets up the development environment with Node.js, pnpm, and Java

Workflow Overview:

# Note that this file is not supported by Sketch by default
# It requires a wrapper script like https://github.com/pokey/dotfiles/blob/a841a199065880bddafbe53c0aa513538fb713ac/bin/run-sketch.sh#L126-L149
-mount
/Users/pokey/sketch-resume:/sketch-resume
@pokey
pokey / row-number-syllables.md
Last active July 1, 2025 09:02
Syllable counts for numbers used with Cursorless `"row"` mark
Number Syllables Spoken form
1 1 "one"
2 1 "two"
3 1
4 1
5 1
6 1
7 2
8 1
From adee2792eb50cb800867130dae529c15c39817c4 Mon Sep 17 00:00:00 2001
From: Pokey Rule <755842+pokey@users.noreply.github.com>
Date: Wed, 12 Apr 2023 11:23:53 +0100
Subject: [PATCH] Initial failed typedoc 0.24.0 attempt
---
.../cursorless-org-docs/docusaurus.config.js | 2 +-
packages/cursorless-org-docs/package.json | 12 +-
packages/{cursorless-org-docs => }/typedoc.js | 11 +-
pnpm-lock.yaml | 564 ++++++++++++++----
@pokey
pokey / knip-output.txt
Created April 11, 2023 14:01
Output of running knip on Cursorless
➜ pnpm exec knip
Unused files (36)
.meta-updater/main.mjs
data/playground/javascript.js
data/playground/typescript.ts
data/playground/typescriptreacts.tsx
packages/cheatsheet-local/src/environments/environment.prod.ts
packages/cheatsheet-local/src/environments/environment.ts
packages/cheatsheet-local/src/polyfills.ts
packages/cheatsheet-local/src/webpack.config.ts
log.ts:401 TRACE [File Watcher (parcel)] [CHANGED] /Users/pokey/src/cursorless/packages/cursorless-vscode/src/scripts/populateDist/transformPackageJson.ts
log.ts:401 TRACE [File Watcher (parcel)] >> normalized [CHANGED] /Users/pokey/src/cursorless/packages/cursorless-vscode/src/scripts/populateDist/transformPackageJson.ts
@pokey
pokey / cursorless-talon-checkout-staging.sh
Last active March 24, 2023 16:39
Check out staging version of cursorless-talon associated with a PR
#!/usr/bin/env bash
set -euo pipefail
PR_NUMBER=$1
cd ~/.talon/user/cursorless-talon
git remote add staging git@github.com:cursorless-dev/cursorless-talon-staging.git
git fetch staging
git switch pr/$1
@pokey
pokey / 0001-DX-experiment-Import-auto-import-tests.patch
Created March 15, 2023 16:59
Cursorless monorepo DX experiments
From ce4f530318564957f13b3451412e9e8259e680a7 Mon Sep 17 00:00:00 2001
From: Pokey Rule <755842+pokey@users.noreply.github.com>
Date: Wed, 15 Mar 2023 15:48:56 +0000
Subject: [PATCH] [DX experiment] Import / auto-import tests
---
.../cursorless-engine/src/autoImportTest.ts | 17 ++++++++++
packages/cursorless-engine/src/importTest.ts | 34 +++++++++++++++++++
.../cursorless-vscode/src/autoImportTest.ts | 8 +++++
packages/cursorless-vscode/src/importTest.ts | 30 ++++++++++++++++