Mentor Gabriel Fonseca Linkedin
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
# Fu*%$ Promises | |
# Prefácio | |
Os desafios da carreira de TI são muitos, mesmo com alguma experiência, um novo desafio de vez em sempre acaba pulando em seu colo. O desafio da vez foi com o Cloud Code do Parse, junto com seus amigos, javascript, promises, testes integrados, QUnit. Enfim, o que vou falar mesmo é sobre algo que me ajudou a ser mega produtivo esse dia. | |
# Foco | |
Após o Stand-up meeting, com o objetivo de desperdiçar 2 pomodoros na tarefa até que eu sumone um amigo para parear, eu acabei não conseguindo seguir o combinado. Os 2 pomodoros inicias foram muito relevantes, a possibilidade de aplicar a lição aprendida no pomodoro anterior, foi muito tentadora. No final do dia consegui ficar muito feliz com o meu "desvio do foco". |
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
""" This is a simple gist to show how to mock | |
private methods. I've got lots of questions | |
regarding this topic. Most people seems confused. | |
Hope it helps. | |
""" | |
import unittest | |
import mock |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
function gerarCPF: string; | |
//http://www.geradorcpf.com/algoritmo_do_cpf.htm | |
var | |
cpf: string; | |
i: integer; | |
procedure Digito(Var cpf: string); | |
var | |
d: integer; | |
i: integer; |
NewerOlder