- Create certificates
- Edit Docker options
- Restart Docker
- Copy client certificates from host
- (optional) Add remote endpoint in Portainer
Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.
Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.
--- | |
title: "R で音声入りのスライドを作る" | |
author: "@y__mattu" | |
date: "データ解析備忘録" | |
output: | |
xaringan::moon_reader: | |
css: "for_xaringan.css" | |
nature: | |
highlightStyle: github | |
highlightLines: true |
library(jsonlite) | |
library(ggplot2) | |
library(ggChernoff) | |
# https://github.com/Bowserinator/Periodic-Table-JSON | |
d <- jsonlite::fromJSON('PeriodicTableJSON.json')[["elements"]] | |
ggplot(d, aes(xpos,10-ypos)) + | |
geom_chernoff(aes(fill=category, size = phase, smile = density, brow = molar_heat)) + | |
geom_text(aes(label=symbol), vjust=2.5) + |
needs(rvest, tidyverse, zoo) | |
df <- c('minutes', 'words') %>% | |
map(function(var) { | |
doc <- var %>% | |
sprintf(fmt = 'http://www.presidency.ucsb.edu/sou_%s.php') %>% | |
read_html() | |
doc %>% | |
html_node('table tr:nth-of-type(2) table') %>% | |
html_table(fill = T) %>% |
--- | |
title: "Presentation Ninja" | |
subtitle: "⚔<br/>with xaringan" | |
author: "Yihui Xie" | |
date: "2016/12/12 (updated: `r Sys.Date()`)" | |
output: | |
xaringan::moon_reader: | |
lib_dir: libs | |
css: | |
- default |