First try using http://blockbuilder.org, pretty sweet!
| # Raspberry Pi Set Up Shell Script | |
| # By Jeff Walker | |
| # I created this to make it easier to re-install/re-configure my pi in case I need to start from scratch. | |
| # Assumes Occidentalis v0.2 is being used. | |
| # Run an update | |
| # sudo apt-get update | |
| # Adafruit WebIDE |
| DATETIME | RTC_TEMP_C | TEMP_C | HUMIDITY_PCT | BATTERY_LEVEL | |
|---|---|---|---|---|---|
| 2014-07-15 21:05:29 | 25.50 | 25.70 | 70.40 | 5.15 | |
| 2014-07-15 21:05:35 | 25.50 | 25.70 | 70.30 | 5.14 | |
| 2014-07-15 21:05:40 | 25.50 | 25.70 | 70.30 | 5.14 | |
| 2014-07-15 21:05:45 | 25.50 | 25.70 | 70.30 | 5.14 | |
| 2014-07-15 21:05:51 | 25.50 | 25.70 | 70.30 | 5.14 | |
| 2014-07-15 21:05:56 | 25.50 | 25.60 | 70.19 | 5.14 | |
| 2014-07-15 21:06:02 | 25.50 | 25.60 | 70.30 | 5.14 | |
| 2014-07-15 21:06:07 | 25.50 | 25.70 | 70.30 | 5.14 | |
| 2014-07-15 21:06:12 | 25.50 | 25.60 | 70.30 | 5.14 |
From Wikipedia:
Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.
Use the menu in the top-left to change the frame of reference, fixing the specified gear in-place.
forked from mbostock's block: Epicyclic Gearing
Used Block Builder to fork and make it go fast!
This simple bar chart is constructed from a TSV file storing the frequency of letters in the English language. The chart employs conventional margins and a number of D3 features:
- d3.tsv - load and parse data
- d3.format - format percentages
- d3.scale.ordinal - x-position encoding
- d3.scale.linear - y-position encoding
- d3.max - compute domains
- d3.svg.axis - display axes
Built with blockbuilder.org
forked from walkerjeffd's block: timeseries-uncertainty
Built with blockbuilder.org
| zoo.regular <- function(dates, values, by="hour", fill=NA) { | |
| # convert time series to regular zoo object | |
| require(zoo) | |
| z <- zoo(values, dates) | |
| z <- merge(z, zoo(, seq(floor_date(start(z), 'day'), | |
| ceiling_date(end(z), 'day'), | |
| by)), | |
| fill=fill) | |
| z <- z[1:(length(z)-1)] | |
| return(z) |
| is.regular <- function(x) { | |
| # returns TRUE if vector x of POSIXct datetimes is continuous and regular | |
| # by checking if there are more than one unique difftime between each row | |
| x.difftime <- difftime(x[2:length(x)], x[1:(length(x)-1)], units='secs') | |
| if (length(levels(factor(x.difftime))) > 1) { | |
| return (FALSE) | |
| } else { | |
| return (TRUE) | |
| } | |
| } |
Built with blockbuilder.org
forked from bletcher's block: transition test