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
<!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> |
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
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; |
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
MAIN=main.c | |
BINARY=atr | |
all: | |
gcc -g $(MAIN) -o $(BINARY) | |
run: | |
./$(BINARY) | |
zip: |