Skip to content

Instantly share code, notes, and snippets.

View extrajordanary's full-sized avatar

Jordan extrajordanary

View GitHub Profile
@extrajordanary
extrajordanary / tricky_braces.js
Last active November 5, 2018 19:57
fixing braces
var skyColor;
var cloud;
var rightCreature;
var leftCreature;
function setup() {
createCanvas(400, 400);
// I removed the } and not sure exactly what happened
// when you mention } are you also reffering to the way the } should be placed?
@extrajordanary
extrajordanary / mariana_objects_feedback.js
Created May 19, 2018 00:58
code with notes and changes for part 0.3 objects
// 1- declare your global variables at the top so all the functions can use them
var thing1;
var thing2;
var rainbow;
function setup () {
createCanvas(400, 400);
// 3- assign values to your global variables inside of setup so that helper functions are available
// 4- use the color function, not just numbers
@extrajordanary
extrajordanary / sayema_shapes_colors_challenge.js
Created May 7, 2018 01:43
sayema_shapes_colors_challenge.js
function setup () {
createCanvas(500, 500);
}
function draw () {
background(230, 230, 255);
// #2 Draw 2 creatures
// Creature 1: Cat
if (beast.x > oneThird * 2){
fill(color3);
} else if (beast.x > oneThird){
fill(color2);
} else {
fill(color1);
}
@extrajordanary
extrajordanary / maximo-gol-review3
Created April 19, 2018 01:39
maximo-gol-review3
var grid;
function setup () {
createCanvas(400, 400);
grid = new Grid(100);
//var array = [0, 1, 2];
//for (var i = -1; i < array.length; i ++) {
//if (i >= 0) {
@extrajordanary
extrajordanary / maximo-gol-review2
Created April 12, 2018 02:11
maximo-gol-review2
var grid;
function setup () {
createCanvas(400, 400);
grid = new Grid(100);
var array = [0, 1, 2];
for (var i = -1; i < array.length; i ++) {
if (i >= 0) {
@extrajordanary
extrajordanary / gol-review.js
Created April 5, 2018 01:04
maximo-gol-review
var grid;
function setup () {
createCanvas(400, 400);
grid = new Grid(20);
}
function draw () {
background(0);
@extrajordanary
extrajordanary / sa_2017_help_queue_channels
Created June 1, 2017 00:24
sa_2017_help_queue_channels
Jordans-MacBook-Pro:www-makeschool jxa$ heroku run NEW_RELIC_AGENT_ENABLED=false rails c --sandbox
Running NEW_RELIC_AGENT_ENABLED=false rails c --sandbox on ⬢ www-makeschool... up, run.9056 (Standard-1X)
Running via Spring preloader in process 19
(0.5ms) BEGIN
Loading production environment in sandbox (Rails 4.2.8)
Any modifications you make will be rolled back on exit
irb(main):001:0> ActiveRecord::Base.logger.level = 1
=> 1
irb(main):002:0>
irb(main):003:0* def print_oa_slack_channels
@extrajordanary
extrajordanary / help-judge-ca-fbla.md
Last active March 17, 2017 02:22
CA FBLA HELP [note: contents below are a copy/paste from an email]

I apologize if you are getting this for the second time. But we at CA FBLA are desperate to find judges to PREJUDGE our students' work. Please see the list below and please find it in your schedule to help us out. Ask your colleagues. And please let me know if you want to be taken off our list.

Link to Judge Registration Form: https://cafbla2014.wufoo.com/forms/ziwc0mp16719yy/

Event Judges Needed

  • E-Business, 2
  • Graphic Design , 2
  • Mobile Application Development , 2
  • Public Service Announcement, 2
Successfully built 6cc1b90e070f
Starting servers inside the Docker container
Recreating wwwmakeschool_academy_1
Starting wwwmakeschool_database_1
Recreating wwwmakeschool_website_1
Starting wwwmakeschool_appman_1
Generating GraphQL schema...
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.x-compliant syntax, but you are running 2.3.0.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.