Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gsoltis
gsoltis / RxFirebase.java
Last active March 7, 2019 00:27
RxJava Bindings for Firebase
package com.firebase.client;
import com.firebase.client.core.Constants;
import rx.Observable;
import rx.Subscriber;
import rx.functions.Action0;
import rx.functions.Func1;
import rx.subscriptions.Subscriptions;
public class RxFirebase {
@gsoltis
gsoltis / rx.firebase.js
Last active March 2, 2017 21:30
Quick Firebase / RxJS binding prototype
(function () {
var makeCallback = function(eventType, observer) {
if (eventType === 'value') {
return function(snap) {
observer.onNext(snap);
};
} else {
return function(snap, prevName) {
// Wrap into an object, since we can only pass one argument through.
observer.onNext({snapshot: snap, prevName: prevName});
@gsoltis
gsoltis / gold_fig_service_whitelist.txt
Last active August 7, 2019 20:23
Gold Fig Service WhiteList
Airbrake
Airship
Akamai
Amplitude
Apple App Store
Apple Itunes Connect
Asayer
AWS
CircleCI
CloudFlare
#/bin/bash
set -e
# switch to master
git checkout master
# Find all commits added by Gold Fig
commit_ids=$(git log --author=gold-fig --format=%H)