Skip to content

Instantly share code, notes, and snippets.

@rjcorwin
Created February 25, 2015 07:11
Show Gist options
  • Select an option

  • Save rjcorwin/5791b5ca80b7adb995b4 to your computer and use it in GitHub Desktop.

Select an option

Save rjcorwin/5791b5ca80b7adb995b4 to your computer and use it in GitHub Desktop.
npm install -g thingpipe;
mkdir pipe1;
cd pipe1;
pipe init;
npm install thingpipe_random;
npm install thingpipe_phant;
pipe thing thingpipe_random;
pipe reservoir thingpipe_phant;
pipe interval 2000;
# Create a new stream at https://data.sparkfun.com with `Fields` set to `value`
# Edit the config.json file to contain settings for phant.
# Example: "phant": {"iri": "https://data.sparkfun.com/input/KJ6g78v3aXfnNrVlREy3?private_key=vzXkrZDew26pxZKjM&value="}
pipe watch;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment