SSH into my synology and run: sudo su docker run -d -p 8787:8787 -e USER=<username> -e PASSWORD=<password> andrewheiss/tidyverse-rstanarm nano /usr/syno/share/nginx/Portal.mustache add the following to the Location section: proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 86400; run: sudo synoservicecfg --restart nginx
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.
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:
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!")