Skip to content

Instantly share code, notes, and snippets.

View jonathanbarton's full-sized avatar

Jonathan Barton jonathanbarton

View GitHub Profile
@jonathanbarton
jonathanbarton / gomake-flyer.md
Created September 7, 2017 22:47
gomake-flyer.md

(One Line Pitch) Build and Launch Your Own Airship

(Detailed Benefits)

  • Hands-on coding and no-solder electronics
  • Simple, app-driven balloon tracking
  • Standards-based STEM curriculum
  • Interdisciplinary skills building exercises

(Summary)

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Go to the bottom of the file and add the following:

network={
    ssid="testing"
    psk="testingPassword"
}
@jonathanbarton
jonathanbarton / watchButton.js
Last active August 18, 2017 13:28
watchButton.js
const awsIot = require('aws-iot-device-sdk');
const _ = require('lodash');
const rpio = require('rpio');
const BUTTON_PIN = 40;
const PORT = 8883;
const TEAM_NUMBER = 1;
const PUSH_BUTTON = 1;
// const KEY_SWITCH = 2;
let device = awsIot.device({
@jonathanbarton
jonathanbarton / test.json
Created August 16, 2017 15:10
test.json
{
"swagger":"2.0",
"info":{
"title":"Course Maps API",
"description":"API for interacting with Engrade Course Maps",
"contact":{
"name":"Isaac Riceweber",
"email":"isaac.riceweber@engrade.com"
},
"version":"v1"
@jonathanbarton
jonathanbarton / orc-first-time-flow.md
Last active May 5, 2017 19:25
ORC First Time User Flow

First Time User Journey

GUIDE

"You are about to walk through a set of common scenarios for managing your school district's roster data through the ORC. We will be using a clickable prototype to illustrate this workflow. When you see a place where you can type, please use your imagination in filling in those fields, then use the mouse to click through any other action like pressing a button or toggling a selection."

GUIDE

Password Reset

@jonathanbarton
jonathanbarton / passpolicyproposal_orc.md
Last active April 28, 2017 20:27
Password Policy Proposal - ORC

What is the password complexity policy?

Passwords must be a minimum of 8 characters. Passwords must contain an upper case and lower case letter and either a number or a symbol.

When do the passwords expire?

Passwords will expire every 3 months

What is the password history policy?

A user cannot reuse their last 12 passwords.

What is the password reset process?

@jonathanbarton
jonathanbarton / orc-dev-slack-coc.md
Last active April 4, 2017 18:52 — forked from annalee/sample-slack-coc.md
ORC-DEV Slack Code of Conduct

ORC-DEV Code of Conduct

Welcome!

orc-dev.slack.com is for individuals and teams involved in the ORC project

The current admins are:

  • Mark Ramon
@jonathanbarton
jonathanbarton / typescript_types.md
Created March 14, 2017 21:08
typescript_types.md
Data Type Keyword Description
Number number Double precision 64-bit floating point values. It can be used to represent both, integers and fractions.
String string Represents a sequence of Unicode characters
Boolean Boolean Represents logical values, true and false
Void void Used on function return types to represent non-returning functions
Null null Represents an intentional absence of an object value.
Undefined undefined Denotes value given to all uninitialized variables
@jonathanbarton
jonathanbarton / ga-mhe-angular-vending-machine.md
Last active March 14, 2017 19:04
GA-MHE Angular 2 Vending Machine Kata

Vending Machine Kata: Drinking the ngCola?

In this exercise you will build the brains of a vending machine. It will accept money, maintain inventory, and dispense products. All the things that you might expect a vending machine to accomplish.

The point of this kata is to provide a larger than trivial exercise that will enhance your understanding of Typescript and Angular 2. A significant portion of the effort will be in determining how to create your components and interact with the provided Angular services for managing communication across components and external API calls.

Setup

@jonathanbarton
jonathanbarton / gmk-env.txt
Created February 18, 2017 02:22
gmk-env.txt
GM_JWT_SECRET=I3kyc22gcIbbomRKcAvZkFZpFORxqYTEd7pWVUP8qAlUwSQYCEwepki7yCT0FCfQ
GM_JWT_AUDIENCE=KxwSnu3NgCtJKbtSXYc4gFtTOhgDn1rw
GM_DB='mongodb://localhost/express-mongoose-es6-rest-api-development'
GM_PORT=3000
GM_AUTH0_DOMAIN='gomake.auth0.com'
GM_AUTH0_CALLBACK_URL="http://localhost:3000/auth0/login"
GM_SENDBIRD_API_TOKEN=bf73fd45f29cc0c95766a8b41956d048d8d709cf