This file contains hidden or 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
import matplotlib.pyplot as plt | |
import seaborn as sns | |
import pandas as pd | |
# Dados simulados baseados no artigo: "An Experimental Analysis on Different Pivot Selection Approaches for the Quicksort Algorithm" | |
data = { | |
'Estratégia': ['MOT', 'MO5', 'MO7'], | |
'Média de Tempo (s)': [0.0124, 0.0139, 0.0112], | |
'Desvio Padrão': [0.001, 0.002, 0.0008] | |
} |
This file contains hidden or 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
-- ================================================================ | |
-- 1. Criação do Banco de Dados e Implementação de Restrições | |
-- ================================================================ | |
-- Drop e criação do banco de dados | |
DROP DATABASE IF EXISTS portal_cidadao; | |
CREATE DATABASE portal_cidadao; | |
\c portal_cidadao; | |
-- Tabela: Cidadão |
This file contains hidden or 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
{ | |
"basics": { | |
"name": "Thomas Edison", | |
"label": "Inventor and Businessman", | |
"picture": "https://example.com/photo.jpg", | |
"email": "[email protected]", | |
"phone": "(123) 456-7890", | |
"website": "https://thomasedison.com", | |
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.", | |
"location": { |
This file contains hidden or 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
{ | |
"basics": { | |
"name": "Thomas Edison", | |
"label": "Inventor and Businessman", | |
"picture": "https://example.com/photo.jpg", | |
"email": "[email protected]", | |
"phone": "(123) 456-7890", | |
"website": "https://thomasedison.com", | |
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.", | |
"location": { |
This file contains hidden or 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 onDropFiles = useCallback((files: any) => { | |
const formData = new FormData(); | |
formData.append('data', JSON.stringify(institution)); // Object with all the institution's data | |
formData.append('profileImage', files[0]); | |
formData.append('galleryImages', files[1]); | |
formData.append('galleryImages', files[2]); | |
formData.append('galleryImages', files[3]); | |
formData.append('galleryImages', files[4]); | |
axios |