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
--- | |
title: "Estrutura de Concreto 2 - Trabalho A1" | |
author: "Pedro Bernardino Alves Moreira - 20142104155" | |
abstract: "O trabalho foi calculado em linguágem R. As respostas são apresentadas primeiro, no final é disponibilizado os enunciados, a memória de cálculo e o link do código completo que gerou esse pdf." | |
date: "01/04/2020" | |
output: pdf_document | |
header-includes: | |
- \renewcommand{\abstractname}{Introdução} | |
--- |
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
import sys | |
import re | |
import pdfkit | |
infile_name = sys.argv[1] | |
if len(sys.argv) > 2: | |
outfile_name = sys.argv[2] | |
else: | |
outfile_name = infile_name + "_2" |
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
--- | |
title: "Pontes - A2 - Trabalhos 1, 2 e 3" | |
author: | |
- "Pedro Bernardino Alves Moreira - 20142104155" | |
date: "11/06/2020" | |
abstract: "Desenvolvimento dos trabalhos 1, 2 e 3 de pontes. Esse relatório foi gerado com um arquivo *Rmd* que se encontra disponível [**nesse link**](https://gist.github.com/PedroBern/ea407b57f7c9fb22d34cd5666e1d7a86)." | |
output: | |
pdf_document: | |
number_sections: yes | |
header-includes: |
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
--- | |
title: "Estrutura de Concreto 2 - A2" | |
author: | | |
| Guilherme Andrade Santos - 20141102646 | |
| Pedro Bernardino Alves Moreira - 20142104155 | |
| Rodrigo dos Santos Barbosa - 20161101734 | |
| Ygor Garcia Moreira - 20151109365 | |
date: "02/06/2020" | |
output: | |
pdf_document: default |
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
--- | |
title: "A2 Concreto Protendido e Pré Moldado" | |
abstract: "O presente trabalho faz a especificação e memória de cálculo de lajes pré-moldadas, inclui também o esquema de cálculo de vãos e cargas das vigas e a carga que chega nas fundações para o galpão especificado. Esse relatório foi calculado e gerado de forma automatizado em um arquivo Rmd, disponível [**nesse link**](https://gist.github.com/PedroBern/a351b798003c01d54e73389a9f417f4a)." | |
author: | | |
| Pedro Bernardino Alves Moreira - 20142104155 | |
| Ygor Garcia Moreira - 20151109365 | |
date: "27/05/2020" | |
output: | |
pdf_document: | |
number_sections: yes |
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
--- | |
title: "A2 - Hidrologia" | |
author: | |
- "Pedro Bernardino Alves Moreira - 20142104155" | |
date: "18/06/2020" | |
abstract: "Resolução da prova A2 de Hidrologia 2020.1 do professor Moacir Porto na UVA. Deve ser lido em conjunto com a folha de questões. Esse relatório foi calculado e gerado em linguagem de programação *R* com um arquivo *Rmd* que se encontra disponível [**nesse link**](https://gist.github.com/PedroBern/5767ea0b401f31c0e97e7878b74f1412)." | |
output: | |
pdf_document: | |
number_sections: no |
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
// inspired by | |
// https://stackoverflow.com/questions/53173203/typescript-recursive-function-composition | |
type Lookup<T, K extends keyof any, Else = never> = K extends keyof T | |
? T[K] | |
: Else | |
type Tail<T extends any[]> = T extends [any, ...infer R] ? R : never | |
type Func1 = (arg: any) => any |
OlderNewer