- cluster manager
- task scheduler
This file contains hidden or 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
--- | |
title: "leaflet test" | |
author: "Hiroaki Yutani" | |
date: "`r Sys.Date()`" | |
output: | |
html_document: | |
as.iframe: true | |
--- | |
source code of this Rmd is here: https://gist.github.com/yutannihilation/7d05bf4c34970258e693 |
This file contains hidden or 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
--- | |
title: | | |
Plots the Histograms by Faceting | |
rdname: ggally_facethist | |
date: 2015-06-06 | |
output: html_document | |
layout: article | |
category: ggally | |
images: | |
FRONTFOMATTER_IMAGES |
repo is here:https://github.com/aozorabunko/aozorabunko
$ git clone https://github.com/aozorabunko/aozorabunko.git
This file contains hidden or 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
// referenced this code: http://www.instructables.com/id/Charlieplexed-Arduino-8x8-LED-Grid-Display-Shield-/step2/Code/ | |
const int UPPERPIN = 13; | |
const int LOWERPIN = 11; | |
void setup() { | |
resetAllPins(); | |
} | |
void loop() { | |
for(int i=LOWERPIN;i<=UPPERPIN;i++){ |
This file contains hidden or 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
# Servers on scaleway are arm, where official Rocker images won't work. | |
# To make things work, we have to start with onlinelabs/armhf-debian and build Docker image by ourselves. | |
# | |
# $ wget -O - https://gist.github.com/yutannihilation/4a00ab73d0864e30392f/raw/armhf-rocker.sh | sh | |
# | |
set -xe | |
mkdir -p r-base rstudio | |
docker pull onlinelabs/armhf-debian:jessie |
This file contains hidden or 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
--- | |
title: "邪智暴虐なエクセル王を倒そう readxl版" | |
author: "Hiroaki Yutani" | |
date: "2015/3/23" | |
output: html_document | |
--- | |
e-Statの邪智暴虐っぷりに打ちのめされていた私ですが、uri氏がやってくれました。 | |
[邪智暴虐なエクセル王を倒そう](http://rpubs.com/uri-sy/fury_to_estat) |
This file contains hidden or 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
# No responsiveness | |
chartist(data, day) + | |
Line(x_labelInterpolationFnc = JS_interp(4, offset = 2)) | |
# responsiveness | |
chartist(data, day) + | |
Line(x_labelInterpolationFnc = JS_interp(4, offset = 2)) + | |
Line(x_labelInterpolationFnc = JS_interp(13, offset = 2), responsive_query = "screen and (min-width: 641px) and (max-width: 1024px)") |
This file contains hidden or 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(rvest) | |
library(httr) | |
library(dplyr) | |
library(purrr) | |
# get URLs of detail pages | |
get_links <- function(num) { | |
url <- sprintf("http://www.botswanatourism.co.bw/accommodation?field_facility_region_tid=All&title=&page=%d", num) | |
links <- html(url) %>% |