Open Telegram and search for @BotFather user and message them the following:
You
/newbot
BotFather
#!/usr/bin/env python3 | |
import atexit | |
import json | |
import requests | |
import subprocess | |
import sys | |
namespace = sys.argv[1] | |
proxy_process = subprocess.Popen(['kubectl', 'proxy']) | |
atexit.register(proxy_process.kill) |
# $1: vault namespace | |
# $2: Vault Token Reviewer Service Account | |
vault_namespace=${1:-"vault"} | |
token_reviewer_sa=${2:-"vault"} | |
if [ -z "${VAULT_TOKEN}" ] || [ -z "${VAULT_ADDR}" ]; then | |
echo "ERROR: VAULT_TOKEN and VAULT_ADDR env vars are required" | |
exit 404 | |
fi | |
cat <<EOF | kubectl apply -f - |
#!/bin/bash | |
# This playbook assumes you have cloned https://github.com/openark/orchestrator | |
# and ran: ./script/dock system | |
# which landed you in orchestrator's playground environment. | |
# Further information available on the welcome screen once you've ran the docker image. | |
# FYI, orchestrator's config file is at /etc/orchestrator.conf.json | |
orchestrator-client -c topology-tabulated -alias ci | |
orchestrator-client -c topology-tabulated -alias ci | tr '|' '\t' |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
nginx.ingress.kubernetes.io/auth-type: basic | |
nginx.ingress.kubernetes.io/auth-secret: my-basic-auth | |
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok" | |
name: my-ingress | |
spec: | |
rules: |
#!/usr/bin/env bash | |
# script was taken from https://gist.github.com/innovia/fbba8259042f71db98ea8d4ad19bd708 and adjusted with "apply_rbac" function and colorized output | |
set -e | |
set -o pipefail | |
# Colors | |
RED="\e[01;31m" |
Note that there are API changes in BlackMagic Design (BMD) SDK 11 onwards; so as of vlc-3.0.8, compile it with BMD SDK 10.11.4.
Also note that you need to disable UEFI Secure Boot in order to install BMD driver successfully.
Additional note: VLC may have stuttering sound when playing through DeckLink which is caused by commit 576b4da8d674d8a98dd493e9b343f1875efde047
tar -xf Blackmagic_Desktop_Video_Linux_*.tar.gz
cd Blackmagic_Desktop_Video_Linux_*/deb/x86_64/
- hosts: all | |
become: yes | |
gather_facts: false | |
vars: | |
tasks: | |
- name: Check that the /etc/docker/daemon.json exists | |
stat: | |
path: /etc/docker/daemon.json | |
register: stat_result |
tar -xf Blackmagic_Desktop_Video_Linux_*.tar
cd Blackmagic_Desktop_Video_Linux_*/deb/x86_64/
sudo dpkg -i desktopvideo_*.deb
sudo apt-get install -f
BlackmagicFirmwareUpdater status
# if prompted to update, perform an update:
mkdir keys; ssh-keygen -f id_rsa