View Aula-2-Programacao.py
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
#1. Faça um programa em Python que solicite as três notas tiradas por vocês na disciplina de programação e imprima no console as notas e a média das notas. | |
def exercicio1(): | |
nota1 = float(input('Digite sua primeira nota:')) | |
nota2 = float(input('Digite sua segunda nota:')) | |
nota3 = float(input('Digite sua terceira nota:')) | |
media = ( nota1 + nota2 + nota3 ) / 3.0 | |
print(("Suas notas são %s, %s, %s e a média é %s") % (nota1, nota2, nota3, media)) |
View fogefoge.c
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 <stdlib.h> | |
#include <time.h> | |
#include "pacman.h" | |
#include "mapa.h" | |
MAPA m; | |
POSICAO heroi; | |
int acabou() { |
View iCalendar.php
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
<?php | |
require_once __DIR__ . '/../mail/v5_2/PHPMailerAutoload.php'; | |
/** | |
* Classe para criar e enviar por email agendamentos | |
* | |
* MODO DE USO | |
* Instacie a classe | |
* $invite = new InviteICS('email do organizador', 'nome do organizador', 'tipo de evento', 'codigo'); |
View iCalendar.php
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
<?php | |
require_once __DIR__ . '/../mail/v5_2/PHPMailerAutoload.php'; | |
class InviteTest { | |
protected $code_invite; | |
protected $curr_date; | |
protected $event_date_ini; | |
protected $event_date_fin; |
View OSConsulta.php
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
<?php | |
/* | |
* MÉTODO updateData RETORNA A STRING | |
* UPDATE os SET {$p[0]} WHERE {$p[1]} | |
* updateData($p[0], $p[1]); | |
*/ | |
class OSConsulta extends BaseApp | |
{ |
View site.html
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 class="no-js" lang="{{ shop.locale }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<meta name="theme-color" content="{{ settings.color_button }}"> | |
{%- if canonical_url != blank -%} | |
<link rel="canonical" href="{{ canonical_url }}"> |
View gist:2bcab80a81ac4eb49fb011e680009ab2
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> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Rede de Vantagens</title> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Descrição padrão da rede de vantagens"> |
View lighthouse mybelt
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
{ | |
"requestedUrl": "https://mybelt.com.br/dashboard/login", | |
"finalUrl": "https://mybelt.com.br/dashboard/login", | |
"lighthouseVersion": "5.6.0", | |
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/79.0.3945.120 Safari/537.36", | |
"fetchTime": "2020-04-06T14:04:07.129Z", | |
"environment": { | |
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse", | |
"hostUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/79.0.3945.120 Safari/537.36", | |
"benchmarkIndex": 669 |
View Controle Ultrasonico Arduino.pde
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 <Ultrasonic.h> | |
#define TRIGGER_PIN 12 | |
#define ECHO_PIN 11 | |
// motor um | |
int enA = 5; | |
int in1 = 6; | |
int in2 = 7; | |
// motor dois |
View Controle Ultrasonico Arduino com Potenciometro.pde
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 <Ultrasonic.h> | |
#define TRIGGER_PIN 12 | |
#define ECHO_PIN 11 | |
// motor um | |
int enA = 5; | |
int in1 = 6; | |
int in2 = 7; | |
// motor dois |
NewerOlder