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 "millis.h" | |
#include "mbed.h" | |
DigitalOut ledVerde(LED1); | |
DigitalOut ledExterno(PA_9,0); | |
DigitalIn botao(USER_BUTTON, PullUp); | |
Serial pc(SERIAL_TX, SERIAL_RX); | |
volatile char c = '\0'; | |
void onCharReceived() |
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
import sys | |
Alunos = ["Maria Do Carmo", "Pedro Henrique", "Otacilio Maia"] | |
""" | |
Este algoritmo trata-se de uma otimização do Quicksort e é chamado de QuickSelect | |
Em vez de procurar ordernar todos os elementos inferiores do pivot | |
Este algoritmo apenas garante que existam k-1 elementos menores que o pivot | |
Mesmo que este subarray de k-1 menores que o pivot não estejam em ordem, | |
sendo este um critério de parada, no pior caso a complexidade é igual a do quicksort, |
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 admin = require("firebase-admin"); | |
let serviceAccount = require("./joaoestudantepk.json"); | |
function countPoints(input) { | |
var ccPoints = 0; | |
var dePoints = 0; | |
var bestCC = { userName: null, points: 0 }; | |
var bestDE = { userName: null, points: 0 }; | |
for (objeto in input) { | |
if (input[objeto].course == "design") { |
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 admin = require("firebase-admin"); | |
let serviceAccount = require("./joaoestudantepk.json"); | |
function countPoints(input) { | |
var ccPoints = 0; | |
var dePoints = 0; | |
var bestCC = { userName: null, points: 0 }; | |
var bestDE = { userName: null, points: 0 }; | |
for (objeto in input) { | |
if (input[objeto].course == "design") { |
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
body { | |
height: 100vh; | |
background-image: linear-gradient(white, #ececec); | |
} | |
.navbar { | |
display: flex; | |
flex-direction: row; | |
} | |
.navbar-item { |
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 <stdio.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#define FALSE 0 | |
#define TRUE 1 | |
char _isSorted(int *inputArray, int numberOfInputs); | |
void _changeElements(int inputArray[], int numberOfInputs); |
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
#define BLYNK_PRINT Serial | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
// Auth Token obtido dentro do Blynk app | |
char auth[] = "YourAuthToken"; | |
// WiFi para o node se conectar | |
char ssid[] = "YourNetworkName"; |
We can't make this file beautiful and searchable because it's too large.
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
tipo;situacao;data;hora;bairro;endereco;numero;complemento;natureza;descricao;auto;moto;ciclom;ciclista;pedestre;onibus;caminhao;viatura;outros;vitimas;vitimasfatais | |
"SEM VÍTIMA";"CANCELADA";2017-01-01;02:55;"CABANGA";"AV SUL";;"SEMAFORO 260";"COLISÃO";"COLISÃO ENTRE AUTO E ONIBUS, ONIBUS EVADIU DO LOCAL E O AUTO ESTA ATRAVESSADO NA VIA PODEDO VIR OCASIONAR UM ACIDENTE";1;;;;;1;;;;0;0 | |
"SEM VÍTIMA";"FINALIZADA";2017-01-01;05:32;"SANTO AMARO";"RUA BARROS BARRETO";483;"PROX DO COLEGIO ESTACIO COIMBRA";"CAPOTAMENTO";"CARRO BATEU EM DOIS VEICULOS ESTACIONADOS E CAPOTOU";3;;;;;;;;;0;0 | |
"SEM VÍTIMA";"FINALIZADA";2017-01-01;06:00;"JARDIM SÃO PAULO";"AV PIRACICABA";;"NO TERMINAL DOS ONIBUS JARDIM SAO PAULO PIRACICA";"COLISÃO";"CCOL.S//VV";1;;;;;1;;;;0;0 | |
"SEM VÍTIMA";"FINALIZADA";2017-01-01;06:24;"JARDIM SÃO PAULO";"AV SAO PAULO";474;"EM FRENTE AO SHOPPING JARDIM";"COLISÃO";"COLISÃO SEM VITIMAS";2;;;;;;;;;0;0 | |
"SEM VÍTIMA";"PENDENTE";2017-01-01;06:39;"CAXANGÁ";"AV CAXANGA";;"EM DA INTEGRAÇÃO DA CAXANGÁ";"COLISÃO";" |
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
SEÇÃO 1 - O QUE FAREMOS COM ESTA INFORMAÇÃO? | |
Quando você realiza alguma transação com nossa empresa, como parte do processo de compra e venda, coletamos as informações pessoais que você nos dá tais como: nome, e-mail e endereço. | |
Quando você acessa nosso site, também recebemos automaticamente o protocolo de internet do seu computador, endereço de IP, a fim de obter informações que nos ajudam a aprender sobre seu navegador e sistema operacional. | |
Email Marketing será realizado apenas caso você permita. Nestes emails você poderá receber notícia sobre nossa empresa, novos produtos e outras atualizações. | |
SEÇÃO 2 - CONSENTIMENTO |
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 <stdio.h> | |
#include "bobuniverse.h" | |
#include <vector> | |
#define INITIALDISTANCE 60 | |
#define SETPOINT 30 | |
#define AUTOMATICSTOP 200 | |
#define GENERATIONS 500 | |
#define INDIVIDUALS 40 | |
#define CROMO 4 |