This file contains 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(shiny) | |
# Also uses parallel, shinyjs, tools | |
# Create a long-running task, executed in a forked process. (Doesn't work on Windows) | |
# | |
# The return value is a promise-like object with three | |
# methods: | |
# - completed(): FALSE initially, then TRUE if the task succeeds, | |
# fails, or is cancelled. Reactive, so when the state changes | |
# any reactive readers will invalidate. |
This file contains 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/sh | |
[ -f /lib/functions/lantiq_dsl.sh ] && . /lib/functions/lantiq_dsl.sh || exit 0 | |
HOSTNAME=$(cat /proc/sys/kernel/hostname) | |
VALUESFILE=/tmp/collectd-lantiqdsl-values | |
dsl_val() { | |
echo $(expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*') |