Discord Bot made with Ruby 2.7.4 and gem discordrb 💛 ❤️
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
https://flexboxfroggy.com/ | |
https://cssgridgarden.com/ | |
https://neal.fun/ |
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
state = { peopleIds: [], people: {}, hobbies: {} } | |
people = [ | |
{ | |
id: 1, | |
name: 'Person 1', | |
hobbies: [ | |
{ | |
id: 11, | |
name: "Dark Souls", |
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
// Τα ερωτήματα 2 έως 7 θα απαντηθούν στο αρχείο αυτό | |
const newGuess = document.querySelector("#new-guess"); | |
const message = document.querySelector("#message"); | |
const lowHigh = document.querySelector("#low-high"); | |
const checkButton = document.querySelector("#check"); | |
const restartButton = document.querySelector("#restart"); | |
const root = document.querySelector(":root"); | |
const prev = document.querySelector("#prev"); |
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
//date - age calculations | |
ageVal = document.querySelector("#date").addEventListener("change", (e)=>{ | |
const ageInMilli = Date.now() - new Date(document.querySelector("#date").value); | |
if (ageInMilli<0){ | |
alert("Negative age? What you're coming from the future??"); | |
document.querySelector("#date").value=""; | |
document.querySelector("#age").value=0; | |
document.querySelector("#age").style.backgroundColor="red"; | |
return false; | |
} |
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
# Author: eimon - 4/2021 | |
# Godfather OST intro <3 | |
# Have fun. | |
.text | |
li $s0, 500 #length in milli | |
li $s1, 96 #volume | |
li $s2, 1 #instrument |
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 <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
#include <semaphore.h> | |
// gcc -pthread e_tick_tack.c | |
void *pTick(void *); | |
void *pTack(void *); |
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 <stdio.h> | |
#include <windows.h> | |
int main() | |
{ | |
system("Color 0A"); | |
char key; | |
home: |
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 <stdio.h> | |
#include <windows.h> | |
int main() | |
{ | |
system("Color 0A"); | |
printf(" \n\ | |
\n\ |
NewerOlder