Skip to content

Instantly share code, notes, and snippets.

View astrotars's full-sized avatar
⛰️

Nick Parsons astrotars

⛰️
View GitHub Profile
[GIN] 2019/02/12 - 13:58:02 | 200 | 993.2µs | 2001:985:d3bc:1:6507:df25:e1b8:95f2 | POST /webauthn/start
[GIN] 2019/02/12 - 13:58:24 | 201 | 157.8428ms | 2001:985:d3bc:1:6507:df25:e1b8:95f2 | POST /webauthn/registration/finish
ngrok http 8080
go build -o passwordless-social .
./passwordless-social
go build -o passwordless-social .
./passwordless-social
go build -o passwordless-social .
./passwordless-social
psql -U postgres
CREATE DATABASE passwordless_social;
\c passwordless_social
"build": {
"appId": "com.your-domain",
"compression": "normal",
"productName": "Example",
"directories": {
"buildResources": "build",
"output": "dist"
},
"mac": {
"icon": "assets/icon.icns",
const { app, BrowserWindow, shell, ipcMain, Menu, TouchBar } = require('electron');
const { TouchBarButton, TouchBarLabel, TouchBarSpacer } = TouchBar;
const path = require('path');
const isDev = require('electron-is-dev');
let mainWindow;
createWindow = () => {
mainWindow = new BrowserWindow({
#!/bin/bash
rm -rf dist && mkdir dist
npx babel src --out-dir dist --ignore node_modules
cp src/package.json dist
cd dist && yarn install --production --modules-folder node_modules