Skip to content

Instantly share code, notes, and snippets.

View edumaciel10's full-sized avatar
🎯
BORAAAAAA

Eduardo Maciel edumaciel10

🎯
BORAAAAAA
View GitHub Profile
@edumaciel10
edumaciel10 / Makefile
Created October 10, 2021 17:48
Atr-5-icc2
MAIN=main.c
BINARY=atr
all:
gcc -g $(MAIN) -o $(BINARY)
run:
./$(BINARY)
zip:
@edumaciel10
edumaciel10 / randomWordPalindrome.js
Created January 4, 2022 00:48
randomWordPalindrome
const generateRandomWord = (alphabet, randomSizeNumber) => {
let word = '';
for (let i = 0; i < randomSizeNumber; i++) {
word += alphabet[Math.floor(Math.random() * alphabet.length)];
}
return word;
}
const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');
const arraySize = 10000;
@edumaciel10
edumaciel10 / index.html
Created January 31, 2022 15:32
It's a simple openpix plugin implementation
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<title>Demo OpenPix Plugin</title>
</head>
<body>
<div id="root"></div>
<script src="https://plugin.openpix.com.br/v1/openpix.js" async></script>
<button id="newChargeButton">Click here to create a new charge</button>