Skip to content

Instantly share code, notes, and snippets.

@tzamora
tzamora / body.html
Last active August 29, 2015 14:27 — forked from mattborn/body.html
Relative gist files
<h1>Hello world!</h1>
@tzamora
tzamora / Examples.cs
Last active August 29, 2015 14:12 — forked from alvivar/TeaTime.cs
// TeaTimer v0.2
// Unity Extension Set for a quick coroutine/callback timer in MonoBehaviours.
// #author Andrés Villalobos
// #contact andresalvivar@gmail.com - twitter.com/matnesis
// #created 2014/12/26 12:21 am
// #usage
// ttAppend - Appends a timed callback into a queue to be executed in order.
@tzamora
tzamora / introrx.md
Last active August 29, 2015 14:12 — forked from staltz/introrx.md

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

Yo Arbitro
//Invertir el color de los botones (el fondo blanco es el de los botones seleccionados). Esto aplica también para los iconos en las otras vistas
//Hacer que el popup de confirmación de la incidencia aparezca a la par del jugador
//Habilitar el botón de "Sí" en la confirmación (simplemente cierra el popup)
Desmarcar el jugador cuando se cierra el popup "fue una pinga programarlo"
//Texto "Cerrar" va con la "c" en minúscula. Esto aplica para las otras vistas
//El color del marcador (flechita verde arriba del jugador) va en rojo. Esto aplica para las otras vistas (es decir, el marcador va en el color que representa cada modo: rojo para el árbitro, verde para el entrenador, morado para el aficionado, amarillo para el jugador y verde oscuro para las incidencias)
Yo Aficionado