Skip to content

Instantly share code, notes, and snippets.

Avatar
🔧
Building, breaking, and fixing things.

Nick Parsons nparsons08

🔧
Building, breaking, and fixing things.
View GitHub Profile
View fabfile.py
from fabric.api import *
# host
env.hosts = ['104.248.51.33']
# username
env.user = 'root'
# or, specify path to server public key here:
env.key_filename = '~/.ssh/id_rsa.pub'
View create-task-execution-role.sh
aws iam --region us-east-1 create-role --role-name ecsTaskExecutionRole --assume-role-policy-document task-execution-assume-role.json
View package.json
{
"name": "example",
"version": "1.0.0",
"description": "Building and Publishing a React Based Electron App From Scratch",
"private": false,
"author": "Nick Parsons <nparsons08@gmail.com>",
"license": "MIT",
"homepage": "./",
"main": "public/electron.js",
"keywords": [
View config-set.sh
$ stream config:set
$ ✔ What is your full name? · Nick Parsons
$ ✔ What is your email address associated with Stream? · nick@getstream.io
$ ✔ What is your Stream API key? · foo
$ ✔ What is your Stream API secret? · ***
$ Your Stream CLI configuration has been generated! 🚀
View channel-create.sh
$ stream chat:channel:create
$ ✔ What is the unique identifier for the channel? · stream-chat
$ ✔ What type of channel is this? · messaging
$ ✔ What is the absolute URL to the channel image? · https://avatars3.githubusercontent.com/u/8597527
$ Channel stream-chat has been created.
View module.sh
module github.com/StreamSocial/go-passwordless-social
View init.sh
go mod init github.com/StreamSocial/go-passwordless-social
View mkdir.sh
mkdir go-passwordless-social
cd go-passwordless-social
View build.sql
go build -o passwordless-social .
./passwordless-social
View gin.sh
[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
You can’t perform that action at this time.