Skip to content

Instantly share code, notes, and snippets.

package com.octodecillion.learn.rxjava;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import rx.Observable;
/**
*
* @author jbetancourt
@josefbetancourt
josefbetancourt / Toggle.js
Last active January 20, 2016 13:06
RxJS example of reactive toggable and cancellable process loop in browser
// Toggle.js RxJS example of reactive toggable and cancellable process loop
// By: Josef Betancourt
// Date: Jan 11, 2016
// =========== Model
var counter = 1;
var runningState = true;
var msg = '';
var runButtonValue = 'Start';
@josefbetancourt
josefbetancourt / index.js
Last active August 12, 2016 01:55
Using Media Queries in React
import React from 'react';
import {render} from 'react-dom';
import "babel-polyfill";
import invariant from "invariant";
/**
* A P P
*
*/
var App = React.createClass({