- leia o readme
- tente entender o contexto do projeto
- procure algum manual de contribuição
- veja se o projeto tem algum canal de comunicação (telegram, discord, forúm, etc)
- procure por issues simples que você por onde você possa 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
import logging | |
import time | |
from contextlib import contextmanager | |
logger = logging.getLogger(__name__) | |
@contextmanager | |
def log_file(logger_, log_message="Took %.4f secs", log_level=logging.INFO): | |
logging.basicConfig(filename='example.log', encoding='utf-8', level=logging.DEBUG) |
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 logging | |
logging.basicConfig(level=logging.DEBUG) | |
from slack_bolt import App | |
from slack_bolt.adapter.flask import SlackRequestHandler | |
app = App() | |
@app.event(regex...) |
Hello Hello! Bem vind@ ao nosso desafio. Nosso objetivo aqui é entender melhor suas habilidade, como você estrutura seus pensamento, ver como você se organiza em um projeto que necessita ser criado do 0, e ter insumo para um segundo papo mais aprofundado sobre decisões técnicas (caso você queira :)).
- Para resolver esse desafio você pode usar qualquer linguagem/framework que desejar.
- Crie um repositório público no seu GitHub.
- Envie como resposta do email que enviamos o link para seu repositório.
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 asyncio | |
import time | |
import queue | |
async def load_manifest(value, q): | |
await asyncio.sleep(1) | |
q.put(f"Processing Task {value}\n") | |
async def crawler_github_files(item, q): |
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
f = sns.relplot(data=long_roll_mean, x="n_days_since_restriction", y="rollavg", hue="category", | |
col="locality_name", col_wrap=2, kind="line", height=5, legend="brief", aspect=2, | |
markers=True, dashes=True) | |
f._legend.remove() | |
# Iterate thorugh each axis | |
for ax in f.axes: | |
ax.set(xlabel='Days since restriction', ylabel='Trend') |
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
f = sns.relplot(data=long_centered_shifted_trend, x="n_days_since_restriction", y="trend", hue="category", | |
col="locality_name", col_wrap=2, kind="line", height=5, legend="brief", aspect=2, | |
markers=True, dashes=True, facet_kws={'sharey': True, 'sharex': False}) | |
f._legend.remove() | |
set_labels = ['Retail', 'Grocery Pharmacy', 'Parks', 'Transit Stations', 'Workplaces', 'Residencial'] | |
plt.legend( | |
labels=set_labels, | |
title="Categories", | |
fancybox=True, |
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
f = sns.relplot(x="n_days_since_restriction", y="value", hue="category", data=long_centered_shifted, | |
col="locality_name", col_wrap=2, kind="line", height=5, legend="brief", aspect=2, | |
markers=True, dashes=True, facet_kws={'sharey': True, 'sharex': False}) | |
f._legend.remove() | |
set_labels = ['Retail', 'Grocery Pharmacy', 'Parks', 'Transit Stations', 'Workplaces', 'Residencial'] | |
#plt.legend(labels=set_labels, title="Categories", fancybox=True, framealpha=1, shadow=True, borderpad=1) | |
plt.subplots_adjust(bottom=0.1, top=0.9, hspace=0.35) |
NewerOlder