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
#include <FastLED.h> | |
#include <Wire.h> | |
#include <SparkFun_APDS9960.h> | |
// LEDs | |
#define NUM_LEDS 248 | |
#define DATA_PIN8 8 | |
#define DATA_PIN9 9 | |
CRGB leds[NUM_LEDS]; |
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
body { | |
font-family: tahoma; | |
color:#282828; | |
margin: 0px; | |
} | |
.nav-bar { | |
background: linear-gradient(-90deg, #84CF6A, #16C0B0); | |
height: 60px; | |
margin-bottom: 15px; |
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
<section class="hero is-primary is-medium"> | |
<div class="hero-body"> | |
<div class="container"> | |
<h1 class="title is-1">Coding Quotes</h1> | |
<h2 class="subtitle">Like your favorites</h2> | |
</div> | |
</div> | |
</section> | |
<section class="section"> |
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
{ | |
"FirebaseGenNode": { | |
"invitations": { | |
"autoGenKeyInvite": { | |
"sender": "GitHubUserName", | |
"receiver": "GitHubUserName" | |
} | |
}, | |
"users": { | |
"autoGenUserKey": { |
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
1) SELECT COUNT(*) FROM users; | |
50 | |
2) SELECT * FROM items ORDER BY price DESC LIMIT 5; | |
25|Small Cotton Gloves|Automotive, Shoes & Beauty|Multi-layered modular service-desk|9984 | |
83|Small Wooden Computer|Health|Re-engineered fault-tolerant adapter|9859 | |
100|Awesome Granite Pants|Toys & Books|Upgradable 24/7 access|9790 | |
40|Sleek Wooden Hat|Music & Baby|Quality-focused heuristic info-mediaries|9390 | |
60|Ergonomic Steel Car|Books & Outdoors|Enterprise-wide secondary firmware|9341 |
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
function sentenceMaker (stringArray) { | |
let output = '' | |
for (var i = 0; i < stringArray.length - 1; i++) { | |
output = output + stringArray[i] + ' and ' | |
} | |
output = output + stringArray[stringArray.length - 1] | |
return output | |
} |
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
function compare(a, b) { | |
if (a > b) { | |
return `${a} is greater than ${b}` | |
} else if (b > a) { | |
return `${a} is less than ${b}` | |
} else { | |
return `${a} is equal to ${b}` | |
} | |
} |
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
function weekendFinder (day) { | |
if (day === "Saturday" || day === "Sunday") { | |
return "We have to learn on our own :sadpanda:" | |
} else { | |
return "We get to go to school!" | |
} | |
} |
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
function greet (name) { | |
return `Hello, ${name}` | |
} |
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
function CelsiusConverter (tempF) { | |
return (tempF - 32) / 1.8 | |
} |