(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/usr/bin/env bash | |
set -euo pipefail | |
HEARTBEAT_INTERVAL=3 | |
EXPONENTIAL_BACKOFF_POWER=2 | |
EXPONENTIAL_BACKOFF_MAX_TIMEOUT=60 | |
EXPONENTIAL_BACKOFF_INITIAL_TIMEOUT=1 | |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
package com.andraskindler.sandbox.activity; | |
import retrofit.RestAdapter; | |
import retrofit.http.GET; | |
import retrofit.http.Query; | |
import rx.Observable; | |
import rx.Subscriber; | |
import rx.schedulers.Schedulers; | |
public class ApiManager { |
#!/bin/bash | |
# | |
# Do a ping and output results as CSV. | |
# | |
# [email protected] | |
# 2011-12-23 | |
# | |
if [ $# -lt 1 ]; then | |
echo "Usage: $0 [--add-timestamp] <ping host>" |