Installing mailR

R
In order to get mailR I had to create a symlink with: #ln -s /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib/R/lib/libjvm.so ln -s /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/server/libjvm.so /usr/lib To make life easier, I created a wrapper around it using secret to store my password. To send an email notification, I just have to run: IMSecrets::email_me()

RStudio server with synology and docker

SSH into my synology and run: sudo su docker run -d -p 8787:8787 -e USER=<username> -e PASSWORD=<password> andrewheiss/tidyverse-rstanarm Configure the Reverse Proxy Go to Control Panel -> Application Portal -> Reverse Proxy and add the following rules
YOURLS API with R

YOURLS API with R

R
Goal: Create multiple, and trackable, short URLs that point to the same place Tools: YOURLS, R Steps: Installing YOURLS is very easy, particularly if you do it with docker. A container for the database: docker run --name yourlsmysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -d mysql A container for YOURLS: docker run --name yourls -d \ -e YOURL_USER='admin' \ -e YOURL_PASSWORD='mysecretpassword' \ -e YOURLS_SITE='http://sh.tld' \ --link yourlsmysql:mysql bios/docker-yourls To use the web-interface, you need to go to your site.
Wake-up with smartthings and webcore

Wake-up with smartthings and webcore

Goal: configure my house to wake me up gently. Tools: smartthings, zwave dimmer, led strip, chromecast audio, bash Steps: Created a virtual switch on my smartthings. The house will wake me up only if the switch is on. Create a webcore piston. This piston runs at 7:30: This piston does the following: Starts the gentle wake up switch Use text to speech on my chromecast Play some random music from my Synology Play a podcast I downloaded earlier in the morning using my Synology This is the bash script that cron runs every morning:

Hello World!

R
Yihui’s blogdown package is awesome! To create this site i just had to run: blogdown::new_site(theme = "vimux/mainroad") and to create this post just blogdown::new_post(title = "Hello World!")