Skip to content

Instantly share code, notes, and snippets.

View imbrito's full-sized avatar
🎯
Focusing

Ismael Moreira imbrito

🎯
Focusing
View GitHub Profile
@imbrito
imbrito / search dashboards and monitors for metrics.py
Created February 16, 2023 17:44 — forked from Integralist/search dashboards and monitors for metrics.py
[Datadog Python API] #datadog #python #api #metrics
import argparse
import concurrent.futures
import json
import operator
import re
from datadog import api, initialize
options = {
"api_key": "foo",
@imbrito
imbrito / fizz_buzz_valitades.py
Last active May 10, 2022 23:15
Fizz Buzz example resolution
# Run with: https://www.programiz.com/python-programming/online-compiler/
# 4 Easy Ways To Beat “Fizz Buzz” In Python: https://towardsdatascience.com/4-easy-ways-to-beat-fizz-buzz-in-python-cfa2dcb9b813
# Online Python compiler (interpreter) to run Python online.
# Write Python 3 code in this online editor and run it.
import unittest
def fizz_buzz(numbers: list, words: dict):
assert 3 in words.keys(), 'expects key 3 in letters'
assert 5 in words.keys(), 'expects key 5 in letters'
assert len(numbers) > 0, 'expects a non-empty list'
@imbrito
imbrito / diversidade_mercado_ti.md
Last active May 31, 2021 20:47
lista de comunidades de software e iniciativas voltadas para diversidade no mercado de TI (todos os níveis)
@imbrito
imbrito / git.md
Last active April 8, 2020 16:06 — forked from derhuerst/intro.md
Installing Git on Linux, Mac OS X and Windows
@imbrito
imbrito / validate_string.py
Last active April 1, 2020 23:09
Example de solução para o problema de validação de Símbolos proposto através de: https://leetcode.com/problems/valid-parentheses/.
#!/usr/bin/python
#-*- coding: utf-8 -*-
# The problem:
# Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
# An input string is valid if:
# 1. Open brackets must be closed by the same type of brackets.
# 2. Open brackets must be closed in the correct order.
# Note that an empty string is also considered valid.
# See more: https://leetcode.com/problems/valid-parentheses/
#
@imbrito
imbrito / institutos.yml
Created September 7, 2015 22:36
Lista de Institutos Federais
Instituto Federal de Educação, Ciência e Tecnologia do Tocantins (IFTO/TO)
- Araguatins
- Gurupi
- Palmas
- Paraíso do Tocantins
- Porto Nacional
Instituto Federal de Educação, Ciência e Tecnologia de Mato Grosso (IFMT/MT)
- Barra do Garças
- Bela Vista/Cuiabá