Skip to content

Instantly share code, notes, and snippets.

View artificialarea's full-sized avatar

Sacha Sedriks artificialarea

View GitHub Profile
@artificialarea
artificialarea / Node-pg-and-heroku-ssl.md
Created March 22, 2021 19:38 — forked from bookcasey/Node-pg-and-heroku-ssl.md
How to fix Node/pg version compatibility issues, and set the correct SSL options for heroku

How to fix common Node/pg compatability issues locally and on Heroku

Certain versions of the pg library do not play nice with certain versions of node.

The following combinations are known to work:

  • Node v12 and pg@7
  • Node >=v14 and pg@8

Additionally, different versions of pg on heroku requires certain ssl options to be set certain ways.

@artificialarea
artificialarea / Command-line-postgres-express-notes.md
Created July 11, 2020 23:17 — forked from Auraelius/Command-line-postgres-express-notes.md
Notes on learning and using command line interfaces when developing express/prostgres back end software.

Compare GUI vs CLI

  • CLI - good for
    • low bandwidth environments (talking to cloud servers)
    • very fast interactions for users that already know which command to use
    • can use scripts and the alias command to create powerful custom commands
  • GUI - good for
    • exploring functionality & learning
    • Seeing structure and organization - how things relate to each other

How do I learn a CLI? (Unix/Linux/Mac)

@artificialarea
artificialarea / testing express notes.md
Created July 1, 2020 01:50 — forked from Auraelius/testing express notes.md
Extra notes from thinkful's Integration Testing workshop

Topics

  • Testing overview (slides)
  • Intro to Mocha, chai, and supertest (slides)
  • Debugging tests (extra)
  • Tonight's assignment (slides)

Misc details

Testing concepts

  • Four phases of a test
@artificialarea
artificialarea / readme.md
Last active April 4, 2020 18:08 — forked from benstr/readme.md
Gist Markdown Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraph