docker system prune --all --force --volumes
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
<!doctype html> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="https://unpkg.com/rapipdf/dist/rapipdf-min.js"></script> | |
<style> | |
rapi-pdf{ display:none; } | |
</style> | |
</head> | |
<body> | |
Caso o download tenha sido bloqueado, permita o uso de pop-ups e atualize a página. |
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
// Variáveis | |
string nome, sobrenome, mensagem; | |
// Entrada | |
Console.Write("Digite seu nome........: "); | |
nome = Console.ReadLine()!; | |
Console.Write("Digite seu sobrenome...: "); | |
sobrenome = Console.ReadLine()!; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Clima em Mongaguá</title> | |
</head> | |
<body> | |
<h1>Clima em Mongaguá</h1> |
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
{ | |
"escola": "Etec Adolpho Berezin", | |
"curso": "Informática", | |
"componente": "Programação de Computadores II", | |
"professores": [ | |
"Ermogenes", | |
"Nicholas" | |
] | |
} |
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
FROM ubuntu:22.04 | |
RUN apt-get update -y && apt-get upgrade -y | |
RUN apt-get install -y apt-utils curl git build-essential | |
RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
RUN (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.profile | |
ENV BREW_HOME /home/linuxbrew/.linuxbrew/bin/ | |
ENV PATH "$PATH:$BREW_HOME" |
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
#! /bin/sh | |
echo "Getting version description..." | |
appversion=$(echo | grep '"version" *: *"[0-9]*\.[0-9]*\.[0-9]*"' app.json | sed -r 's/[^0-9\.]//g') | |
if [ -z $appversion ] | |
then | |
echo "ERROR: expo.version not found on app.json" | |
exit 1 | |
fi |
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
using Swashbuckle.AspNetCore; | |
var builder = WebApplication.CreateBuilder(args); | |
builder.Services.AddSwaggerGen(); | |
builder.Services.AddEndpointsApiExplorer(); | |
var app = builder.Build(); | |
app.UseSwagger(); |
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
var builder = WebApplication.CreateBuilder(args); | |
var app = builder.Build(); | |
app.UseDefaultFiles(); | |
app.UseStaticFiles(); | |
app.MapGet("/placar", () => | |
{ | |
PlacarDTO placar = new() { vermelho = 5, branco = 4, azul = 6 }; | |
return Results.Ok<PlacarDTO>(placar); |
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
<!DOCTYPE html> | |
<html lang="pt-BR"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Aula PC2</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> |
NewerOlder