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 🤟
View GitHub Profile
@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

@robinst
robinst / twitter-archive-following-followers.md
Last active July 23, 2025 03:41
Twitter: How to archive your following/followers data (usernames, etc)

Twitter allows users to download parts of their data, see How to download your Twitter archive.

But what's not included in that data dump is the usernames/handles of the people that you follow or are following you. All you get is account IDs which is just an internal number and so a bit useless when it comes to archival.

Here's a way to get that data (you need to know how to run stuff in the terminal):

  1. Go to your Twitter profile in a desktop browser (Firefox or Chrome)
  2. Right click on page → Inspect → Network tab
  3. Click on the Following link (e.g. https://twitter.com/{yourusername}/following)
@sibelius
sibelius / metro.config.js
Created December 30, 2018 11:28
Metro config to make react native play nice with monorepos
const path = require('path');
const getWorkspaces = require('get-yarn-workspaces');
const blacklist = require('metro-config/src/defaults/blacklist');
const workspaces = getWorkspaces(__dirname);
module.exports = {
projectRoot: path.resolve(__dirname, 'packages/app'),
@gagarine
gagarine / fish_install.md
Last active September 19, 2025 20:00
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

@andreibosco
andreibosco / creative-cloud-disable.md
Last active December 19, 2024 08:28
disable creative cloud startup on mac
@agnoster
agnoster / README.md
Last active December 4, 2025 22:26
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark