View argbash_preamble.m4
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 | |
# m4_ignore( | |
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2 | |
exit 11 #)[ <-- needed because of Argbash | |
############################################################################### | |
# PREAMBLE | |
############################################################################### | |
# Treat expansion of unset variables as an error and exit immediately | |
# if a command pipeline exits with a non-zero status | |
set -o nounset -o errexit |
View audiofadeandswitch.xml
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Profile majorVersion="1" minorVersion="5" product="ATEM Mini"> | |
<MacroPool> | |
<Macro index="0" name="DEFAULT all OFF" description=""> | |
<Op id="FairlightAudioMixerMasterOutFaderGain" gain="0"/> <Op id="MacroSleep" frames="1"/> | |
<Op id="FairlightAudioMixerMasterOutFaderGain" gain="-5"/> <Op id="MacroSleep" frames="1"/> | |
<Op id="FairlightAudioMixerMasterOutFaderGain" gain="-10"/> <Op id="MacroSleep" frames="1"/> | |
<Op id="FairlightAudioMixerMasterOutFaderGain" gain="-15"/> <Op id="MacroSleep" frames="1"/> | |
<Op id="FairlightAudioMixerMasterOutFaderGain" gain="-20"/> <Op id="MacroSleep" frames="1"/> | |
<Op id="FairlightAudioMixerMasterOutFaderGain" gain="-25"/> <Op id="MacroSleep" frames="1"/> |
View mult.py
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
""" | |
1 2 3 4 5 6 7 8 9 | |
2 4 6 8 10 12 14 16 18 | |
3 6 9 12 15 18 21 24 27 | |
4 8 12 16 20 24 28 32 36 | |
5 10 15 20 25 30 35 40 45 | |
6 12 18 24 30 36 42 48 54 | |
7 14 21 28 35 42 49 56 63 |
View install.sh
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 -eux | |
distribution=$(. /etc/os-release; echo $ID$VERSION_ID) | |
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - | |
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \ | |
sudo tee /etc/apt/sources.list.d/nvidia-docker.list | |
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit | |
sudo systemctl restart docker |