This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(flametree) | |
library(voronoise) | |
library(ambient) | |
library(scico) | |
library(dplyr) | |
theme_mono <- voronoise:::theme_mono | |
ft <- flametree_grow( | |
seed = 333, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(plotly) | |
library(webshot) | |
#uncomment the following to run the first time for installing | |
# webshot::install_phantomjs() | |
library(htmltools) | |
# source https://github.com/ropensci/plotly/issues/311 | |
export <- function(p, file = "plotly.png", ...) { | |
if (system.file(package = "webshot") == "") { | |
stop( |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"8b29696e.959e28","type":"subflow","name":"PUT","info":"","in":[{"x":142,"y":208.00000762939453,"wires":[{"id":"27105310.8933fc"}]}],"out":[{"x":844.9999847412109,"y":215.00001525878906,"wires":[{"id":"c66ac42c.728748","port":0}]}]},{"id":"46f0a800.bf7d08","type":"http request","z":"8b29696e.959e28","name":"","method":"PUT","ret":"obj","url":"","tls":"","x":485.8957977294922,"y":216.88888549804688,"wires":[["c66ac42c.728748","b6e9f36a.260c7"]]},{"id":"27105310.8933fc","type":"function","z":"8b29696e.959e28","name":"format request","func":"msg.url = \"http://127.0.0.1:8080/api/v1/oap/\"+global.get('mote')+msg.topic\nreturn msg\n","outputs":1,"noerr":0,"x":296.90281677246094,"y":215.57626342773438,"wires":[["46f0a800.bf7d08","b6e9f36a.260c7"]]},{"id":"c66ac42c.728748","type":"change","z":"8b29696e.959e28","name":"","rules":[{"t":"move","p":"statusCode","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":688.6076507568359,"y":219.22222900390625,"wires":[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Exploratory 1.9.0.1 Linux Ubuntu 16.04 Install Script. Run with ordinary user! | |
sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list | |
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 | |
gpg -a --export E084DAB9 | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install r-base r-base-dev git libssl-dev libpq-dev libxml2-dev libcurl4-openssl-dev libsodium-dev libmariadb-client-lgpl-dev libsasl2-dev | |
mkdir ~/.exploratory | |
mkdir ~/.exploratory/R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test build your arduino libraries with travis and the official arduino tool chain | |
# assumes directory structure | |
# /NullStream | |
# NullStream.h | |
# NullStream.cpp | |
# examples | |
# NullStreamExample | |
# NullStreamExample.ino |