Skip to content

Instantly share code, notes, and snippets.

View richardrigby's full-sized avatar

Richard Rigby richardrigby

  • Auckland, New Zealand
View GitHub Profile
@richardrigby
richardrigby / vscode-macos-context-menu.md
Created December 10, 2025 20:19 — forked from idleberg/vscode-macos-context-menu.md
“Open in Visual Studio Code” in macOS context-menu

Open in Visual Studio Code

  • Open Automator
  • Create a new document
  • Select Quick Action
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
    • your default shell should already be selected, otherwise use /bin/zsh for macOS 10.15 (”Catalina”) or later
    • older versions of macOS use /bin/bash
  • if you're using something else, you probably know what to do 😉
@richardrigby
richardrigby / POSTGRES.md
Last active December 10, 2025 23:47 — forked from samstride/POSTGRES.md
Postgres setup using Docker
# Create data directory.
mkdir -p ~/postgresql_18_data

# Download and start container.
docker run -d \
    --name postgres \
    -p 5433:5432 \
    -e POSTGRES_PASSWORD=postgres \
 -e PGDATA=/var/lib/postgresql/data/pgdata \
@richardrigby
richardrigby / README-Template.md
Created June 28, 2018 09:44 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites