Skip to content

Instantly share code, notes, and snippets.

View liron-navon's full-sized avatar

Liron Navon liron-navon

  • Israel
View GitHub Profile
@liron-navon
liron-navon / create_user_postgres.md
Last active November 28, 2024 13:46 — forked from pauloremoli/create_user_postgres.md
Create postgresql user Mac OS X

Installing postgresql on Mac OS X

$ brew install postgresql@16 $ brew services start postgresql@16

If you fail to ping postgreql, do these steps:

  1. Stop PostgreSQL

brew services stop postgresql@16

  1. Delete the postmaster.pid

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):

ssh-keygen -t rsa -C "your_email@example.com"