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
javascript:window.location='http://tools.folha.com.br/print?site=emcimadahora&url='+document.URL |
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
def validate_cpf(cpf): | |
validate = lambda cpf: sum([a*b for a, b in zip(map(int, list(cpf)), range(1, 10, 1))]) % 11 | |
first_digit = validate(cpf) | |
second_digit = validate(cpf[1:-1]) | |
return int(cpf[-2]) == first_digit and int(cpf[-1]) == second_digit |
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
require(data.table) | |
library(openxlsx) | |
filename <- "EXP_COMPLETA.csv" | |
df <- fread(filename, header = T, sep=";") | |
country_id <- 160 | |
df_country <- df[df$CO_PAIS == country_id] | |
df_country$QT_ESTAT <- as.numeric(df_country$QT_ESTAT) | |
df_country$KG_LIQUIDO <- as.numeric(df_country$KG_LIQUIDO) |
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
<template> | |
<div> | |
<table class="table table-striped table-bordered table-hover table-sm"> | |
<thead> | |
<tr> | |
<th></th> | |
<th>Aplicada em</th> | |
<th>Replicar em</th> | |
</tr> | |
</thead> |
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
import { Button, Form, Table } from "react-bootstrap"; | |
import { Vaccines } from "@/types/vaccines"; | |
interface VaccineTableProps { | |
vaccineRows: Vaccines[]; | |
handleVaccineChange: (index: number, field: keyof Vaccines, value: string) => void; | |
handleAddVaccineRow: () => void; | |
} | |
export default function VaccineTable({ |