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
echo "################# ADD NODE SOURSE ################" | |
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash - | |
echo "################# INSTALL MODULES ################" | |
sudo apt-get install -y nodejs python3 git >> /dev/null && echo "Successfully Installed MODULES" || echo "There was an error while installing MODULES" | |
echo "################# ADD CODE SOURCE ################" | |
sudo apt-get install -y software-properties-common apt-transport-https wget | |
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - | |
sudo add-apt-repository -y "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" >> /dev/null | |
echo "################# UPDATE REPOSITORIES ################" | |
sudo apt update |
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
var sections = new Array(...document.querySelectorAll('.ud-component--clp--curriculum>div')).filter(a => !a.className); | |
var more = document.querySelector('.section-container.section-container--more-sections') | |
more && more.click() | |
sections.map(section => { | |
let a = section.querySelector('a'); | |
let lacturesC = section.querySelector('.lectures-container.collapse'); | |
if (lacturesC.classList.contains('in')) a.click() | |
}) | |
setTimeout(() => { | |
var results = sections.map(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
#include <cs50.h> | |
#include <stdio.h> | |
#include <string.h> | |
char selectWinner(char board[3][3], char players[2]); | |
void printBoard(char board[3][3]); | |
int main(void) | |
{ | |
printf("Hey, welcome to tic toc toe, rules are simple, there are three rows (1,2,3), and three cols (1,2,3) everytime we ask you for the input do select one of em between, a1-c3. \n"); |