Skip to content

Instantly share code, notes, and snippets.

View jorydotcom's full-sized avatar
💫
here to help

Jory Burson jorydotcom

💫
here to help
View GitHub Profile
@jorydotcom
jorydotcom / deescalation_workshop.md
Last active July 26, 2019 16:28
De-escalation Techniques Workshop - Draft Curricula

De-escalation techniques TPAC W3C workshop

Total Instruction Time: 60 mins

SWBAT

Students will be able to identify escalatation stages, and identify and apply intervention strategies given an escalation stage.

  1. Conflict Transformation & Escalation (30min)
    1. 2 mins: intro & disclaimer: this is not W3C policy
    2. 5 mins: What is conflict transformation
      1. Learning Objective: conflict is to be expected and can be productive
  2. Anticipatory set: planted audience skit demonstrating an escalating conflict(?)
//emojis + chars based on the lcd chars
module.exports = {
DEFAULT: {
"0": [0x3c, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3c],
"1": [0x18, 0x38, 0x78, 0x18, 0x18, 0x18, 0x18, 0x18],
"2": [0x3c, 0x66, 0x06, 0x0c, 0x18, 0x30, 0x60, 0x7e],
"3": [0x3c, 0x66, 0x06, 0x1c, 0x06, 0x06, 0x66, 0x3c],
<div style="width:100%; text-align:left;" ><iframe src="http://www.eventbrite.com/tickets-external?eid=6064877211&ref=etckt&v=2" frameborder="0" height="317" width="100%" vspace="0" hspace="0" marginheight="5" marginwidth="5" scrolling="auto" allowtransparency="true"></iframe><div style="font-family:Helvetica, Arial; font-size:10px; padding:5px 0 5px; margin:2px; width:100%; text-align:left;" ><a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com/r/etckt">Online event registration</a><span style="color:#ddd;"> for </span><a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com/event/6064877211?ref=etckt">TXJS JavaScript Best Practices Training</a> <span style="color:#ddd;">powered by</span> <a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com?ref=etckt">Eventbrite</a></div></div>
function Egg (type, grade, shape, color, size, count) {
this.type = type,
this.grade = grade;
this.shape = shape;
this.color = color;
this.size = size;
}
@jorydotcom
jorydotcom / problems.js
Created August 4, 2012 02:44
@rmurphey's Assessment problems: Problem 2
function watWord(num) {
switch (num) {
case 1:
return "one";
case 2:
return "two";
case 3:
return "three";
case 4:
return "four";
@jorydotcom
jorydotcom / problem2.js
Created August 4, 2012 02:01
My answers to @rmurphey's Assessment problems
//Also from https://gist.github.com/3164584
//My first attempt to solve Problem 2:
function watWord(num) {
switch (num) {
case 1:
return "one";
case 2:
return "two";
case 3:
return "three";
@jorydotcom
jorydotcom / gist:2956269
Created June 19, 2012 20:12
Bocoup jQuery Training - pre-class set-up requirements

Bocoup jQuery Training

Pre-class setup

Before you arrive for the class, you must do the following:

Install Node.js

If you already have Node.js version v0.6.0 or higher (you can check this by running node --version at the command line), you can skip this step.

// Add an else statement in case the number is divisible by 5.
// for the numbers 1 through 20,
for (i=1; i<=20; i++) {
if ( i % 3 === 0 ) {
if (i % 5 === 0) {
console.log("FizzBuzz");
} else {
console.log("Fizz");
}
@jorydotcom
jorydotcom / gist:2865678
Created June 4, 2012 00:52
Updating Pog Count
//Updates player pog totals to initialize game
var updatePogCount = function(player) {
player.totalPogs = player.totalPogs - player.numPogs;
return player.totalPogs;
};