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
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
<meta charset="utf-8"> | |
<div class="container" style="margin-left: 25px; margin-right: 25px;"> | |
<div class="col-xs-12"> | |
<div class="row page-header"> | |
<div class="col-xs-4"><b class="text-left" style="font-size: 15px;">REQUISIÇÃO DE MATERIAL</b></div> | |
<div class="col-xs-6"><b class="text-center" style="font-size: 15px;">ORDEM DE SERVIÇO [[[tipo]]]</b></div> | |
<div class="col-xs-2"><span class="text-right" style="font-size: 15px;">Nº [[numero]]</span></div> |
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
for indice, linha in Agenda.iterrows(): | |
nome = linha['Nome'] | |
numero = linha['Numero'] | |
arquivo = linha['Arquivo'] | |
texto = urllib.parse.quote(f'Olá {nome}! {mensagem}') | |
link = f'https://web.whatsapp.com/send?phone=55{numero}&text={texto}' | |
navegador.get(link) | |
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
## Autor: João Paulo dos Santos <[email protected]> | |
## Data: 2021/09/08 | |
import pandas as pd | |
csvfile = "dados.csv" | |
base = pd.read_csv(filepath_or_buffer=csvfile) | |
last_value = df['id'][0] # primeiro valor da coluna 'id' | |
count = -1 # acumula no máximo n vezes a quantidade que um valor estará em sequência. caso um próximo valor seja diferente, retorna a contagem para zero |
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
python -c "import crypt, getpass; print(crypt.crypt(getpass.getpass(), crypt.mksalt(crypt.METHOD_SHA512)))" |
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
#version=DEVEL | |
ignoredisk --only-use=sda | |
iscsiname iqn.1994-05.com.redhat:46a93490da59 | |
autopart | |
# Partition clearing information | |
clearpart --none --initlabel | |
# Use graphical install | |
graphical | |
# Use CDROM installation media | |
cdrom |
NewerOlder