Tipo | Aspecto |
---|---|
Conceito | Socialite Filantropa Portadora da Fada Madrinha |
Dificuldade | Pobre Menina Rica |
Abdução | De um Castelo de Fadas para outro Castelo de Fadas |
Retorno | Pericles precisa tomar cuidado com o Monstro dentro dele |
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
from mastodon import Mastodon | |
import os | |
''' | |
You'll need an API Key for the Mastodon/Pixelfed instance with at least read and write permissions | |
Você vai precisar de uma chave API com permissão para leitura (read) e escrita (write) pelo menos. | |
''' | |
connect=Mastodon(access_token=<token>,api_base_url=<instance_link>) | |
dirpath=<path for your pictures> | |
listfiles=os.listdir(dirpath) |
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
from mastodon import Mastodon | |
import os | |
connect=Mastodon(access_token="<token>",api_base_url="<url>") | |
dirpath="<path das imagens>" | |
listfiles=os.listdir(dir_path) | |
files=listfiles | |
message="<post>" | |
max_post=10 # por servidor, padrão do Pixelfed é 4 |
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 duckdb, csv | |
// opening (or creating) a duckdb file. If you want, put ':memory:' for in-memory database | |
con=duckdb.connect(<dbfile>) | |
con.sql('PRAGMA memory_limit="6GB"') // helps by limiting RAM usage from duckdb | |
con.sql('PRAGMA temp_directory="tmp/"') // helps by setting a tempfiles directory | |
a=0 | |
with open(<csvfile>) as csvfile: | |
data = csv.reader(csvfile) | |
for i in data: | |
# print(','.join(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
PROGRAMA irpf | |
VAR: | |
dependentes: inteiro | |
salario, aliquota, contribuicaoINSS, baseCalculo, impostoDevido: racional | |
salarioRodar, piso, descontoDependente, aliquotaIRPF: racional | |
# O sinal de <> indica uma estrutura mais complexa com varios elementos de vários tipos | |
tabelaContrib: lista<valor: racional, aliquota: racional> | |
contribINSS: <valor: racional, aliquota: racional> | |
tabelaIRPF: lista<base: racional, aliquota: racional, parcelaIRPF: racional> | |
faixaIRPF: <base: racional, aliquota: racional, parcelaIRPF: racional> |
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
PROGRAMA irpf | |
VAR: | |
dependentes: inteiro | |
salario, aliquota, contribuicaoINSS, baseCalculo, impostoDevido: racional | |
salarioRodar, piso, descontoDependente, aliquotaIRPF: racional | |
tabelaContrib: lista<valor: racional, aliquota: racional> | |
contribINSS: <valor: racional, aliquota: racional> | |
tabelaIRPF: lista<base: racional, aliquota: racional, parcelaIRPF: racional> | |
faixaIRPF: <base: racional, aliquota: racional, parcelaIRPF: racional> | |
COMEÇAR: |
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
{"lastUpload":"2021-11-20T22:12:25.020Z","extensionVersion":"v3.4.3"} |
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
{"lastUpload":"2020-09-18T13:08:05.379Z","extensionVersion":"v3.4.3"} |
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
a |
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
a |
NewerOlder