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(httr) | |
send_sms_message <- function (message) { | |
twilio_sid <- "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | |
twilio_secret <- "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | |
twilio_api_url <- paste("https://api.twilio.com/2010-04-01/Accounts/", twilio_sid, "/Messages.json", sep = "") | |
body <- list( | |
From = "+46XXXXXXXXX", |
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
#!/bin/bash | |
# This pipeline is based on https://gist.github.com/lifning/1857803 | |
# but is updated for GStreamer 1.0 and also crops the window | |
# Tested on Chrome with https://github.com/bluetiger9/v4l2loopback | |
# with exclusive_caps enabled: | |
# $ sudo modprobe v4l2loopback devices=8 exclusive_caps=1 | |
DEV=$(zenity --file-selection \ |