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/bash | |
# Run the Docker command and capture its output | |
output=$(docker run quay.io/invidious/youtube-trusted-session-generator) | |
# Extract visitor_data and po_token using grep and awk | |
visitor_data=$(echo "$output" | grep "visitor_data:" | awk '{print $2}') | |
po_token=$(echo "$output" | grep "po_token:" | awk '{print $2}') | |
# Check if both values were extracted |
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:]]*\).*') |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:b6e7dd859f68e3d5d83e45d8292f3e5086c83fc7] |
NewerOlder