Skip to content

Instantly share code, notes, and snippets.

@esinanturan
esinanturan / postgres-brew.md
Created December 10, 2020 14:08 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@esinanturan
esinanturan / nginx.conf
Created November 27, 2020 13:28 — forked from johngrimes/nginx.conf
Ideal Nginx configuration for JavaScript single-page app
server {
listen 80;
root /usr/share/nginx/html;
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
gzip_comp_level 9;
etag on;
location / {
try_files $uri $uri/ /index.html;
}