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
class VetorNaoOrdenado: | |
def __init__(self, capacidade): | |
self.__capacidade = capacidade | |
self.__ultimaPosicao = -1 | |
self.__valores = [0]*self.__capacidade | |
def imprimir(self): | |
if self.__ultimaPosicao == -1: | |
print("Vetor vazio") | |
else: |
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
<style> | |
.callout{text-align: center;} | |
.btn {border: none; color: white; padding: 15px 0; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 0; cursor: pointer; width: 50%; float:left; } | |
.btn-group {width: 100%; margin-bottom: 15px; position: relative; clear: both;} | |
.btn-group p{margin:0;} | |
.btn-group .btn:not(:last-child) {border-right: none; /* Prevent double borders */} | |
.button1 {background-color: #4CAF50;} /* Green */ | |
.button2 {background-color: #008CBA;} /* Blue */ | |
.button3 {background-color: #e7e7e7; color: black;} /* Gray */ |
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)) |
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() { |
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'); |
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; |
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 | |
{ |
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 }}"> |
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"> |
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 |