Skip to content

Instantly share code, notes, and snippets.

@friz-xc
friz-xc / design-artifacts-setup.sh
Last active October 22, 2026 08:02
pd-scripts: download the design artifacts
#!/usr/bin/env bash
# alias: `n/a`
# desc: one-time design artifacts setup for designers: sets up the Mac tools if
# they're missing, downloads the design artifacts and adds their /pd-
# commands to Claude Code. Safe to re-run.
# usage: /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/friz-xc/81d535049bdbf0f43becde9fd318abd2/raw/design-artifacts-setup.sh)" [_ <folder>]
# Standalone on purpose: it's published as a public gist and needs nothing
# from pd-scripts, so designers only need access to the design artifacts repo.
set -euo pipefail
@friz-xc
friz-xc / pd-scripts-clone.sh
Created October 18, 2026 12:48
pd-scripts: download pd-scripts
#!/usr/bin/env bash
# alias: `n/a`
# desc: download pd-scripts to ~/pd-scripts and install its commands. Sets up
# the Mac tools first (developer tools, gh, GitHub login) if they're missing.
# usage: /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/friz-xc/b74fb37152b3348bda3add9426289529/raw/pd-scripts-clone.sh)"
# Standalone on purpose: it's published as a public gist and runs before
# pd-scripts exists, so it can't source git-utils.sh.
set -euo pipefail
@friz-xc
friz-xc / prerequisites-setup.sh
Last active October 18, 2026 11:14
pd-scripts: Mac prerequisites setup
#!/usr/bin/env bash
# alias: `n/a`
# desc: one-time Mac setup for designers: installs Apple's developer tools and
# GitHub's tool (gh), then logs in to GitHub.
# usage: /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/friz-xc/49f6d0dcfa22173ec33d02e172b7df37/raw/prerequisites-setup.sh)"
# Standalone on purpose: it's published as a public gist and runs before
# pd-scripts exists, so it can't source git-utils.sh.
set -euo pipefail
@friz-xc
friz-xc / termless-install.sh
Last active October 19, 2026 12:24
Termless installer
#!/usr/bin/env bash
# desc: one-line Termless install for designers: installs Apple's developer tools
# (for git) and GitHub's tool, logs in to GitHub, and puts the latest
# termless.app in Applications.
# usage: /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/friz-xc/c3423e0f918028fb6f4db5424b0a1297/raw/termless-install.sh)"
# (`make installer-print-cmd` prints the real line.)
# Standalone on purpose: it's published as a public gist because this repo is
# private. The app itself comes from this repo's GitHub Releases, downloaded
# with gh, so the designer's GitHub account needs access to friz-xc/termless.
# Safe to run again: it updates the app in place.
@friz-xc
friz-xc / second-brain-setup.sh
Last active October 7, 2026 06:30
second-brain-setup: one-time Mac setup for the design team's second brain
#!/usr/bin/env bash
# alias: `n/a`
# desc: one-time second brain setup for designers: installs the tools, logs in to GitHub,
# and downloads pd-scripts and the second brain.
# usage: /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/friz-xc/17424408d0d10f5c41ed4639a694d0a9/raw/second-brain-setup.sh)"
# Standalone on purpose: it's published as a public gist and runs before
# pd-scripts exists, so it can't source git-utils.sh.
set -euo pipefail