- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
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> | |
<head> | |
<title>Recorte de Imagens</title> | |
<!-- Link para o arquivo CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | |
</head> | |
<body> <div class="container mt-5"> |
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
const fs = require('fs'); | |
const { PDFDocument, rgb } = require('pdf-lib'); | |
async function criarPDFComImagens(imagens, nomeArquivo) { | |
const pdfDoc = await PDFDocument.create(); | |
for (const imagem of imagens) { | |
const imagemBytes = fs.readFileSync(imagem); | |
const imagemObj = await pdfDoc.embedPng(imagemBytes); | |
const pagina = pdfDoc.addPage(); |
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
select id, count(*) | |
from carga.preferencias | |
group by id |
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
select moradores.nome, unidades.unidade, unidades.bloco, reserva_academia.* | |
from acesso.reserva_academia | |
join condominio.moradores on reserva_academia.autenticacao = moradores.autenticacao | |
join condominio.unidades on moradores.condominio = unidades.condominio and moradores.bloco = unidades.bloco and moradores.andar = unidades.andar and moradores.unidade = unidades.num | |
where data::date = current_date and reserva_academia.situacao = 'reservado' |
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
Registro.responsavel_estoque = this._listausuarios.find(x => x.id === Registro.responsavel_estoque).nome |
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> | |
html { overflow-y: scroll } | |
</style> |
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
<IfModule mod_rewrite.c> | |
Options +FollowSymLinks -MultiViews | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC] | |
RewriteRule ^ %1 [R,L] | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME}.html -f | |
RewriteRule ^(.*?)/?$ $1.html [L] | |
</IfModule> |
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
/* (320x480) iPhone (Original, 3G, 3GS) */ | |
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { | |
/* insira suas propriedades aqui */ | |
} | |
/* (320x480) Celulares, Portrait */ | |
@media only screen and (device-width: 320px) and (orientation: portrait) { | |
/* insira suas propriedades aqui */ | |
} |
NewerOlder