Skip to content

Instantly share code, notes, and snippets.

View philliplakis's full-sized avatar
🏠
Working from home

Phillip Lakis philliplakis

🏠
Working from home
View GitHub Profile
@philliplakis
philliplakis / app.js
Last active August 10, 2019 05:55
webauthn
const express = require("express");
const app = express();
const mongoose = require("mongoose");
const hbs = require("express-handlebars");
const path = require("path");
const cookieParser = require("cookie-parser");
// Connect to MongoDB
mongoose
.connect("mongodb://localhost/webauthn", { useNewUrlParser: true })
@philliplakis
philliplakis / app.js
Created August 10, 2019 00:08
medium_electron
isItInstalled("Vs Code")
.then(result => {
if (result) {
mainWindow.loadURL(`index.html`);
} else {
mainWindow.loadURL(`error.html`);
}
})
.catch(err => {
mainWindow.loadURL(`500.html`);
@philliplakis
philliplakis / app.js
Created August 10, 2019 00:08
medium
isItInstalled("Vs Code").then(result => {
if (result) {
console.log("true");
} else {
console.warn("false");
}
});

Keybase proof

I hereby claim:

  • I am philliplakis on github.
  • I am philliplakis (https://keybase.io/philliplakis) on keybase.
  • I have a public key ASDvf0EntlAeDDWJpgA0oSnkylNL-Jd76-KuHf2st8Zrjwo

To claim this, I am signing this object: