Skip to content

Instantly share code, notes, and snippets.

Luiz Felipe da Costa Pericolo Barbosa luizpericolo

Block or report user

Report or block luizpericolo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
luizpericolo /
Created Jan 8, 2020
Processing drizzle translated into python
# original source:
import random
import sys
BLUE_UP = None
luizpericolo /
Created Aug 1, 2016
Aprendizados da aula ministrada por Luciano Ramalho

Things I learned today

Defensive coding

  • Copy lists passed as parameters to class so that the this that was passed is not changed. People rarely expect this. (1)
  • Ensure parameter passed is an iterable. Fails fast. (2)


View test.scala
def doSth() = {
val futureResponse = goToES() // tipo aqui é Future[Map[Int, Int]]
val filters = { response => { key =>
(key, key.upper(), key.lower())
// O tipo de filters é Future[List(String, String, String)]
View recomendacoes.txt
You can’t perform that action at this time.