View VetorNaoOrdenadoAvancado.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
class VetorNaoOrdenado: | |
def __init__(self, capacidade): | |
self.__capacidade = capacidade | |
self.__ultimaPosicao = -1 | |
self.__valores = [0]*self.__capacidade | |
def imprimir(self): | |
if self.__ultimaPosicao == -1: | |
return print("Vetor vazio") | |
View VetorNaoOrdenadoSimples.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
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: |
View jccbeninca.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
<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 */ |
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"> |
NewerOlder