Skip to content

Instantly share code, notes, and snippets.

View joaomantovani's full-sized avatar
😎

João Mantovani joaomantovani

😎
View GitHub Profile
0eNrsvUuPXEeSpv1XGlwHB36/1HJm++1mOSgMKClHnWiKJJLJ7i40+N+/cyKSkaEMf93tOVIBA4wWkqrIE+8xNzd3t/Paxf/r3U8fvz18eXr89Py/f/r8+d/e/e2/Xv/k67u//a//Ag/sf/f104cv758/v//16fGX/f//57u/eedO7/5x/u/307sPP339/PHb88P7/ckvj59+ffe356dvD6d3jz9//nQB/Pr466cPH/dfP//jy8O7v717fH747d3p3acPv+3/76fHX98/fHz4+fnp8ef3Xz5/fHi3wT5++uVhf9f30/L3T59/+vzl89Pzzc+C4Wdff/vw8eP7jx9++3Lzw/j976d3D5+eH58fHy7Cn//PP/73p2+//fTwtAk0+v3p3ZfPX7effP70oqL36b/ls47el/+Wv+/CvIEJJpgVSjSh9LyASSYY71biZJtuyg+YNIYpE8u4R3vBytscbgb3aXv48Wx3//XO7/96evjldhp3I64379z/f3D7pP/69PDwyfLoJvK7Tw+Pv/7rT5+/Pe02Uk/BnYL/+2AolQyFj6S8Ec+7t/J6OTTTb+/GWk7ejQbaTFO/mvluQolxAeMdUXv84xbko9mC9kcHFuTjKaSRYr1tw4kr1XrbjlOWuo1Et4Xr9s4OfZHKHT57p93NHHw5hTpUr23vK0v12va+vlQv2vz6AfXGtyp7a6FRb4e2H99PQDz5eoruFIebpEe7pHcHBv12s4t6Xxw+ez+kMhxJM56kS3Pq7CgVMMEdOEr/wPkT/Js/SNl8/gx/Ozh/Uh5pPnh+0v4xl+HNH6S30hfiVBjABqoI6ZSGdhgCOo6V9UR2HCuYdOA0BnNzZzihStUPnx0dGJs9hW3L6kPtZnYkK70UdiIrmHrgQCbqTfbzYfjs6DjYbGI7DtLQlQyNHclKL52dyAImugMH8h85mkK9P3/e7AbVfnjZ0AbH227+aegyRX/kuCYqGTgVb2RuWgOmH48GnNpwtAEe6cqOIiMO1Bd/QsSBQsmMOFA
@joaomantovani
joaomantovani / nginx.conf
Last active April 8, 2024 13:56
nginx.conf
#user www-data;
worker_processes auto;
#pid /run/nginx.pid;
#include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 10000;
## Default: 1024
}
@joaomantovani
joaomantovani / UseMemo.tsx
Created November 8, 2023 13:22
A react example to show how to use useMemo to resolve fibonacci problem
import React, { useMemo, useState } from "react";
import "./App.css"; // Supondo que os estilos estejam definidos em App.css
// Função computacionalmente cara
const calculaFibonacci = (n: number): number => {
if (n <= 1) {
return n;
}
return calculaFibonacci(n - 1) + calculaFibonacci(n - 2);
};
@joaomantovani
joaomantovani / file1.txt
Created January 7, 2022 04:06
the description for this gist
This file has been truncated, but you can view the full file.
/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADTLW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMA///////////////////////////////////////////////////////////////////////////////////////bAEMB///////////////////////////////////////////////////////////////////////////////////////AABEICZAJkAMBIgACEQEDEQH/xAAVAAEBAAAAAAAAAAAAAAAAAAAAA//EABQQAQAAAAAAAAAA
@joaomantovani
joaomantovani / file1.txt
Created January 7, 2022 03:28
the description for this gist
This file has been truncated, but you can view the full file.
/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADTLW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMA///////////////////////////////////////////////////////////////////////////////////////bAEMB///////////////////////////////////////////////////////////////////////////////////////AABEICZAJkAMBIgACEQEDEQH/xAAXAAEBAQEAAAAAAAAAAAAAAAAAAQID/8QAFxABAQEBAAAA
@joaomantovani
joaomantovani / file1.txt
Created January 7, 2022 03:18
the description for this gist
This file has been truncated, but you can view the full file.
/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADTLW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMA///////////////////////////////////////////////////////////////////////////////////////bAEMB///////////////////////////////////////////////////////////////////////////////////////AABEICZAJkAMBIgACEQEDEQH/xAAXAAEBAQEAAAAAAAAAAAAAAAAAAQID/8QAFhABAQEAAAAA
@joaomantovani
joaomantovani / file1.txt
Created January 7, 2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 2022 17:03
the description for this gist
222@@@@@@@@@@@@@@@
@joaomantovani
joaomantovani / file1.txt
Created January 6, 2022 17:01
the description for this gist
@@@@@@@@@@@@@@@
@joaomantovani
joaomantovani / file1.txt
Created January 6, 2022 17:00
the description for this gist
This file has been truncated, but you can view the full file.
/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADTLW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/bAEMBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIDMAJkAMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAAAAAEAAIDBQYHAQgJCgv/xABw