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
Algoritmo "7-5" | |
Var | |
i, j, numX: inteiro | |
numeros: vetor[1..4,1..4] de inteiro | |
Inicio | |
aleatorio 1,99 | |
/// | |
para i de 1 ate 4 faca | |
para j de 1 ate 4 faca | |
escreva("Digite o numero da posiçã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
Algoritmo "6" | |
Var | |
i, j, vencedor: inteiro | |
times: vetor[1..5] de caractere | |
dados: vetor[1..5,1..5] de inteiro | |
pontos: vetor[1..5] de inteiro | |
Inicio | |
para i de 1 ate 5 faca | |
escreval("Insira o nome do time:", i) | |
leia(times[i]) |
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
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: kube-registry-v0 | |
namespace: kube-system | |
labels: | |
k8s-app: kube-registry | |
version: v0 | |
spec: | |
replicas: 1 |
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
await new Promise(resolve => setTimeout(resolve, 60000)) |
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
/** | |
* Function bar | |
* Description | |
* @param {Object} foo | |
*/ | |
async function bar(foo){ | |
return new Promise( async(resolve, reject) => { | |
//foo | |
}) | |
} |
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
docker run --rm -v "${PWD}":/workdir mikefarah/yq eval '.app.version = "$CI_COMMIT_SHORT_SHA"' -i ./config/config.yaml |
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
use crate::structs::jwt_claims::Claims; | |
use crate::structs::request_data::RequestData; | |
use actix_web::{ | |
body::{EitherBody, MessageBody}, | |
dev::{forward_ready, Service, ServiceRequest, ServiceResponse, Transform}, | |
error::ErrorForbidden, | |
Error, HttpMessage, | |
}; | |
use chrono::Utc; | |
use futures::future::{ok, LocalBoxFuture, Ready}; |