This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"quiz-log": [ | |
{ | |
"week-id": "0", | |
"completed-date": "05-24-18", | |
"attempts": [ | |
[0, "i don't understand this quiz"], | |
[2, "i feel great"] | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 0, | |
"weeks": [ | |
{ | |
"id": "0", | |
"title": "Week 1", | |
"topic": "Which fruits are best on a rainy day?", | |
"video": "videos/week1.mp4", | |
"quiz": { | |
"questions": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coverage: 79.20% (522/2510) | |
services/api/handlers/elements.js missing coverage on line(s): 4, 13, 14, 17, 27, 32, 33, 36, 39, 46, 52, 53, 56, 57, 60, 71, 72, 74, 75, 78, 79, 82, 89, 90, 93, 94, 95, 98, 105, 112, 122, 127, 128, 131, 138, 145, 153 | |
services/api/handlers/pages.js missing coverage on line(s): 5, 14, 15, 16, 18, 21, 28, 35, 46, 51, 52, 55, 63, 69, 70, 73, 74, 77, 88, 89, 90, 92, 93, 96, 97, 100, 101, 104, 112, 113, 114, 116, 119, 120, 121, 122, 125, 132, 139, 149, 154, 155, 158, 165, 172, 179, 187 | |
services/api/handlers/projects.js missing coverage on line(s): 5, 14, 15, 18, 25, 34, 38, 39, 42, 53, 59, 60, 63, 64, 67, 75, 81, 82, 85, 88, 95, 102, 103, 106, 109, 116, 123, 124, 127, 130, 137, 143, 144, 147, 150, 157, 164, 165, 168, 171, 181, 187, 188, 191, 198, 205, 213, 219, 220, 223, 229, 239, 244, 245, 248, 255, 262, 270 | |
services/api/handlers/users.js missing coverage on line(s): 4, 7, 8, 11, 13, 14, 17, 18, 21, 30, 31, 39, 40, 41, 43, 44, 46, 49, 58, 61, 62, 65, 66, 69, 71, 72, 75, 76, 79, 80, 83, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM projects INNER JOIN users ON users.id = projects.user_id WHERE projects.deleted_at IS NULL AND projects.featured = TRUE | |
ORDER BY | |
CASE country | |
WHEN 'CA' THEN 1 | |
ELSE 2 | |
END , projects.created_at DESC LIMIT 50 OFFSET 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remixed from http://eeemo.net/ and http://stackoverflow.com/questions/6579844/how-does-zalgo-text-work | |
// data set of leet unicode chars | |
//--------------------------------------------------- | |
//those go UP | |
var zalgo_up = [ | |
'\u030d', /* Ì */ '\u030e', /* ÌŽ */ '\u0304', /* Ì„ */ '\u0305', /* Ì… */ | |
'\u033f', /* Ì¿ */ '\u0311', /* Ì‘ */ '\u0306', /* ̆ */ '\u0310', /* Ì */ | |
'\u0352', /* ͒ */ '\u0357', /* ͗ */ '\u0351', /* ͑ */ '\u0307', /* ̇ */ | |
'\u0308', /* ̈ */ '\u030a', /* ̊ */ '\u0342', /* ͂ */ '\u0343', /* ̓ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function () { | |
// super secret special shim for loading Polymer elements in weird situations | |
if (!window.Polymer) { | |
var base = location.protocol === 'https:' ? 'https://appmaker-integration.herokuapp.com' : 'http://localhost:1999/'; | |
var waiting = []; | |
window.Polymer = function(){waiting.push(arguments)}; | |
["/vendor/polymer/polymer.html", "/ceci/ceci-element.html", "/ceci/ceci-definition.html"].forEach(function(src) { | |
var l = document.createElement('link'); | |
l.rel="import"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ASSET_HOST=http://localhost:5000 | |
COMPONENTS_BASE_URL=http://localhost:4000 | |
COOKIE_SECRET=I hate working as a janitor for arrogant rich people; so I clean their computer keyboareds with the toilet brush | |
POSTMARK_API_KEY= | |
POSTMARK_INBOUND_ADDRESS= | |
POSTMARK_SMTP_SERVER= | |
PUBLISH_HOST=localhost:5000 | |
PUBLISH_HOST_PREFIX=http:// | |
STORE=local | |
[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Polymer('ben', { | |
ready: function () { | |
this.foo = 0; | |
}, | |
count: function () { | |
this.foo++; | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ceci: { | |
broadcasts: {...}, | |
defaultBroadcasts: [...], | |
defaultListeners: [...], | |
listeners: {...}, | |
editable: {...}, | |
thumbnail: getThumbnail(), | |
tags: ['my', 'favourite', 'things!'], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<polymer-element name="ceci-broadcast-vis"> | |
<template> | |
<div id="broadcasts" class="channel-visualisation broadcast-channels"></div> | |
</template> | |
<script> | |
(function() { | |
var signalSpeed = 1; | |
var bubbleDuration = 1; | |
Polymer('ceci-broadcast-vis', { |
NewerOlder