Skip to content

Instantly share code, notes, and snippets.

View ryanwjackson's full-sized avatar

Ryan ryanwjackson

  • Paid
  • San Francisco, CA
View GitHub Profile
@ryanwjackson
ryanwjackson / copyable.html
Created February 9, 2021 15:01
Copyable text element
<html>
<head>
<style>
.copyable {
display: inline-block;
padding: 4px;
border-radius: 4px;
border: 1px solid #ccc;
}
@ryanwjackson
ryanwjackson / gh
Created May 14, 2026 19:33
gh shim: caches cmux PR polling to survive GitHub's 5000/hr GraphQL rate limit
#!/bin/bash
# ============================================================================
# gh wrapper — caches cmux's PR-polling calls to survive GitHub's 5000/hr cap
# ============================================================================
#
# WHY THIS EXISTS
# ---------------
# The cmux terminal multiplexer (/Applications/cmux.app) has a native Swift
# TabManager poller that continuously runs `gh pr checks` and `gh pr list`
# for every PR and branch in its sidebar — selected workspace every ~5s,