Skip to content

Instantly share code, notes, and snippets.

View endersonmenezes's full-sized avatar
:octocat:
Focusing

Enderson Menezes (Mr. Enderson) endersonmenezes

:octocat:
Focusing
View GitHub Profile
@endersonmenezes
endersonmenezes / appscript-getjson.js
Last active February 20, 2024 22:49
* Original Script: https://gist.github.com/paulgambill/cacd19da95a1421d3164 * Modified by: Enderson Menezes * Modified Date: 2023-05-31
/**
* Original Script: https://gist.github.com/paulgambill/cacd19da95a1421d3164
* Modified by: Enderson Menezes
* Modified Date: 2023-05-31
*
* For the complete documentation of this script, please visit the original script page.
*
* Modifications made:
* - Added Headers Option
* - To use: =IMPORTJSON("https://api.opsgenie.com/v1/incidents", "","","Authorization:Baerer Token")
### Keybase proof
I hereby claim:
* I am endersonmenezes on github.
* I am enderson (https://keybase.io/enderson) on keybase.
* I have a public key ASBqrtZ2-HWzhzlVz5DG85LpubNpGjejmysJ-uZNlk88Cwo
To claim this, I am signing this object:
@endersonmenezes
endersonmenezes / keybase.md
Created October 15, 2021 19:08
keybase.md

Keybase proof

I hereby claim:

  • I am endersonmenezes on github.
  • I am enderson (https://keybase.io/enderson) on keybase.
  • I have a public key ASAxIp9Pb0rf7bwUPdo6shH8GRZ8BRvFysDue-IynLrGFgo

To claim this, I am signing this object:

@endersonmenezes
endersonmenezes / arvore_binaria.py
Created June 17, 2021 18:33
Arvore Binária que Adivinha Número de 0 a 100
# Busca Binária de 0 - 100 (Número Inteiros)
def pesquisa_binaria(numero, lista):
baixo = 0
alto = len(lista) - 1
contador = 0
while baixo <= alto:
contador += 1
meio = round((baixo + alto) / 2)
chute = lista[meio]

Keybase proof

I hereby claim:

  • I am endersonmenezes on github.
  • I am enderson (https://keybase.io/enderson) on keybase.
  • I have a public key ASA8SRcGpxNUhQ11anqK4amQlbTjuN8CbpapFCO37CmV6Qo

To claim this, I am signing this object:

@endersonmenezes
endersonmenezes / 0social.png
Last active July 22, 2020 14:22
Social Networks
0social.png
@endersonmenezes
endersonmenezes / section-dates.ipynb
Last active January 17, 2020 20:41
This code makes you enter a date range, it will divide that range into 12 sections, checking if a target is in those 12 sections and what the index of that section is.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@endersonmenezes
endersonmenezes / file.py
Last active January 17, 2020 17:46
Uma breve comparação entre verificação de itens em um array, utilizando chaves aleatórias em MD5. O conceito desse teste é criar uma ordem de prioridade das chaves, e chegar uma váriavel 'chave' respeitando essa lógica.
import secrets
import time
import numpy as np
resultados_if = []
resultados_last = []
resultados_for = []
chave_full = secrets.token_urlsafe(256)
chave_com_tag = secrets.token_urlsafe(256)
chave_com_usage = secrets.token_urlsafe(256)

Keybase proof

I hereby claim:

  • I am endersonmenezes on github.
  • I am enderson (https://keybase.io/enderson) on keybase.
  • I have a public key ASAL16wIwUY14vEncg6Q3J-scqM93knGIc7Tc6r4rMsv3Qo

To claim this, I am signing this object: