Skip to content

Instantly share code, notes, and snippets.

View esthor's full-sized avatar
🤠
committing straight to main 🤟

Erik Thorelli esthor

🤠
committing straight to main 🤟
  • San Francisco
  • 12:43 (UTC -07:00)
  • X @esthor
View GitHub Profile
@esthor
esthor / fish_install.md
Created September 19, 2025 20:00 — forked from gagarine/fish_install.md
Install fish shell on macOS Mojave with brew

Installing Fish shell on MacOS (Intel and M1) using brew

Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.

Note that you need the https://brew.sh/ package manager installed on your machine.

Install Fish

brew install fish

@esthor
esthor / cursor-commands-review.md
Created September 17, 2025 23:01
Custom cursor command to run CodeRabbit code review via the CodeRabbit CLI

For expert code review, we will use CodeRabbit's CLI.

To do that, run coderabbit --prompt-only and wait.

Keep in mind that this will trigger a fairly long-running and thorough code review. So you will need to wait a while for the review. Once it does return to you, you will likely have multiple issues to address. Complete those and submit changes for review again.

Run this loop (fix issues CodeRabbit found -> CodeRabbit review) until CodeRabbit is satisfied. You will know when CodeRabbit is satisfied because it will end with something like "Review completed ✔" and not have any tasks or issues for you to address.

Note: Try using the coderabbit command first, but if the coderabbit comand is not available, ask the user if they want you to install it. If the user wants to proceed, proceed with executing this command and prompt the user to manually go through the secure authorization steps: curl -fsSL https://cli.coderabbit.ai/install.sh | sh

NOTES:
# Intro
We're going to be talking about Prototypes in JavaScript.
This is a fundamental concept to understand the language, and I promise will bring you enlightenment once you understand it.
That said, this is not something that I expect you to just get right away. Honestly, it's kind of weird at first.