Skip to content

Instantly share code, notes, and snippets.

View jonathanbarton's full-sized avatar

Jonathan Barton jonathanbarton

View GitHub Profile
@jonathanbarton
jonathanbarton / dle-config.js
Last active September 13, 2017 12:44
dle-config.js
(function(appConfig, pubsub){
var config = (function(){ return <?=json_encode($_GLOBAL['app-config'])?> })() || {};
appConfig.get = function() {
return config;
};
appConfig.set = function(key, value) {
if(config[key]) {
config[key] = value;
@jonathanbarton
jonathanbarton / Emilie_loves_code_nodes.md
Created September 13, 2017 11:52
Emilie_loves_code_nodes.md
  • AAS integration with IdM:

    • Outputs: AAUI will dev prototype, AA API will own final endpoints, email to Tariq & BG with requirements for stories DONE
  • Integration of item picker with Assignments

    • Outputs: AAUI to diagram assignments + AA API interaction flow
  • Integration of item picker with AA API

    • Outputs: Write stories
@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