Skip to content

Instantly share code, notes, and snippets.

View PrimeDominus's full-sized avatar

Dominus Prime PrimeDominus

  • Melbourne, Australia
View GitHub Profile
@PrimeDominus
PrimeDominus / addselftosqlsysadmin.cmd
Created September 16, 2023 10:20 — forked from wadewegner/addselftosqlsysadmin.cmd
Script to add the current user to the sysadmin role in SQL Server
@echo off
rem
rem ****************************************************************************
rem
rem Copyright (c) Microsoft Corporation. All rights reserved.
rem This code is licensed under the Microsoft Public License.
rem THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
rem ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
rem IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
rem PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
@PrimeDominus
PrimeDominus / authentication_with_express_postgres.md
Created November 13, 2019 03:43 — forked from laurenfazah/authentication_with_express_postgres.md
Authentication with an Express API and Postgres

Authentication with an Express API and Postgres

Setting Up

Let's make sure our Express app has the required base modules:

# within root of API
npm install --save express pg knex bcrypt
npm install --save-dev nodemon