A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
int main(int argc, char**argv) | |
{ | |
srand (time(NULL)); | |
printf("%d",rand()%atoi(argv[1])); | |
return 0; | |
} |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
int main () { | |
int iSecret; | |
srand (time(NULL)); | |
iSecret = rand() % 5 + 1; |
This is a proposal for a lightning talk at the Reactive 2016 conference. If you like this, star the Gist.
In regular websites, it is common to send multiple events to track user clicks. Single Page Applications change the way you look at metrics. This is a talk about a simple pattern we created at Globo.com to manage a metrics layer for http://globoplay.globo.com. The talk will cover how to track user flow using Google Analytics and other services. We solved the challenge of tying metrics and components, keeping information across pages and having global data. Also some React, React Router and React Side Effects concepts like context, higher order components, history state will be covered.