Skip to content

Instantly share code, notes, and snippets.

View 0rnella's full-sized avatar

Ornella Friggit-Konaté 0rnella

View GitHub Profile
@0rnella
0rnella / mastodon_overrides.css
Last active August 13, 2022 12:44
mastodon overrides
:root {
--base-light: #edf2f4;
--base-dark: #212121;
--accent-light: #FFCDB2;
--accent-mediumlight: #E5989B;
--accent-mediumdark: #B5838D;
--accent-dark: #6D6875;
}
// Write a program that prints out the numbers 1 to 100 (inclusive).
// If the number is divisible by 3, print Crackle instead of the number. If it's divisible by 5, print Pop.
// If it's divisible by both 3 and 5, print CracklePop. You can use any language.
const cracklePop = (number) => {
let message = number;
if (number % 3 === 0) {
message = 'Crackle';
}
int strengthMode = 0;
int switchState = 0;
const int TRANSISTOR_PORT = 7;
const int SWITCH_PORT = 6;
const int BLUE_LED_PORT = 5;
const int GREEN_LED_PORT = 4;
const int YELLOW_LED_PORT = 3;
const int RED_LED_PORT = 2;