Skip to content

Instantly share code, notes, and snippets.

View vitornogueira's full-sized avatar
:octocat:

Vitor Nogueira vitornogueira

:octocat:
View GitHub Profile

This is a proposal for a lightning talk at the Reactive 2016 conference. If you like this, star the Gist.


Thinking metrics on React applications

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.

@jaydson
jaydson / gist:27756965e32314cf28d8
Last active April 17, 2017 18:56
Convença o seu chefe - BrazilJS 2015

#Convença seu chefe - BrazilJS 2015

A BrazilJS Conf é a principal conferência de JavaScript do Brasil e uma das maiores do mundo (sério).
O evento já é tradição na comunidade de desenvolvimento Web brasileira. Todos os anos, centenas (+-1000) de desenvolvedores de todos os estados do Brasil comparecem ao que muitos dizem ser, o Woodstock da tecnologia.
Na sua 5º edição, a BrazilJS Conf 2015 acontecerá nos dias 21 e 22 de Agosto, sendo sediada na cidade de Porto Alegre, Rio Grande do Sul, no Shopping Center BarraShoppingSul, localizado na Av. Diário de Notícias, 300, bairro Cristal.

Justificativa

JavaScript é uma linguagem de programação em extrema ascensão, ganhando cada vez mais destaque no mercado e certamente, a linguagem mais apoiada por empresas como Google, Mozilla, Microsoft, Facebook, Yahoo!, Opera, Adobe, entre outras gigantes do mercado de tecnologia.
Apesar do nome, a conferência abrange diversos temas relacionados ao desenvolvimento web em geral,

@danielfilho
danielfilho / braziljs-2014-talks.md
Last active November 27, 2022 21:04
Talks, slides and links from BrazilJS 2014

#BrazilJS 2014

Talks: slides & Links

Day Talk Speaker Links
1 Why ServiceWorker may be the next big thing Renato Mangini interview · slides · video
1 Frontend at Scale - The Tumblr Story Chris Miller interview · slides · video
1 Intro to GFX: Raw WebGL Nick Desaulniers interview · slides · video
@p-baleine
p-baleine / README.md
Created November 29, 2013 08:59
Bookshelf polymorphic association example.

Migrate

$ ./node_modules/.bin/knex:migrate:latest -c db/config.js
@hullen
hullen / mobileCheck.js
Last active May 23, 2021 12:49
Detects mobile devices: phones, tablets. mobileCheck is a lightweight Javascript utils for detecting mobile devices and tablets. Its using User Agent string. Usage: if ( mobileCheck.smarphone ) { // Code }
var mobileCheck = {
ios: (function(){
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
}()),
android: (function(){
return navigator.userAgent.match(/Android/i);
}()),
blackBerry: (function(){
return navigator.userAgent.match(/BB10|Tablet|Mobile/i);
}()),
@millermedeiros
millermedeiros / osx_setup.md
Last active May 1, 2024 20:46
Mac OS X setup

Setup Mac OS X

I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.

I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...

@vitorbritto
vitorbritto / responsive-test.md
Last active December 20, 2015 17:39
Teste para projetos responsivos - Método para capturar telas utilizando o PhantomJS.

Teste para projetos responsivos

Problema

Testar/verificar a disposição dos elementos de uma determinada página em determinadas resoluções de tela.

Solução

Executar captura de telas de acordo com os viewports definidos em um script, com a ajuda do PhantomJS.

Necessário ter o NodeJS instalado.

@petermanser
petermanser / _gitlab_config.md
Last active September 9, 2016 19:48
Gitlab 5.4 - Gmail configuration

Gitlab 5.4 - Gmail configuration

In order to send messages through a Gmail account (also applicable to Google Apps accounts) add the following parts to your config files:

Files:

  • config/environments/production.rb
  • config/gitlab.yml
@tableless
tableless / gist:5571702
Created May 13, 2013 21:32
Esse código deixa o texto um pouco mais legível e bem acabado nos browsers, melhorando a leitura e a visualização de letras.
body {
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-ms-font-smoothing: antialiased;
font-smoothing: antialiased;
-moz-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
-ms-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
@franklinjavier
franklinjavier / install-sublime-ubuntu.sh
Created April 9, 2013 04:20
Install Sublime Text 2 on Ubuntu
#!/bin/bash
# Script to install Sublime Text on Ubuntu
# Apr 9 2013 - @franklinjavier
echo "Downloading Sublime Text 2"
wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.1\ x64.tar.bz2
echo "Unziping and moving"
tar -xvf Sublime\ Text\ 2.0.1\ x64.tar.bz2
mv Sublime\ Text\ 2 sublimeText