create different ssh key, Git Bash on Windows / GNU/Linux / macOS:
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key, Git Bash on Windows / GNU/Linux / macOS:
$ ssh-keygen -t rsa -C "[email protected]"
# Change this path to your config directory | |
CONFIG_DIR="/config" | |
cd /tmp | |
# Install required software | |
apt-get update | |
apt-get upgrade | |
apt-get install unzip | |
apt-get install git |
sudo -i | |
add-apt-repository universe | |
apt-get update | |
apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common | |
curl -sSL https://get.docker.com | sh | |
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install" | bash -s |
ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4 | |
ffmpeg -f concat -safe 0 -i <(for f in ./*.mp4; do echo "file '$PWD/$f'"; done) -c:v libx264 -an output.mp4 |
#!/bin/sh | |
set -e | |
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | | |
while read path_key path | |
do | |
url_key=$(echo $path_key | sed 's/\.path/.url/') | |
url=$(git config -f .gitmodules --get "$url_key") | |
git submodule add $url $path |
#!/bin/bash | |
# This script adapted from an older post on StackOverflow by user fieldju | |
# https://stackoverflow.com/questions/36478741/installing-oracle-jdk-on-windows-subsystem-for-linux | |
# The script was for JDK 8. | |
# Due to major changes with JDK 11 (no JRE, no Derby, Unlimited Strength included), it was necessary to update the entire script. | |
set -ex | |
# UPDATE THESE URLs (this one updated as of 2019-03-06) | |
export JDK_URL=http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.tar.gz |
#!/bin/bash | |
# In both host and container, add the nVidia repros (see https://nvidia.github.io/nvidia-container-runtime/) | |
set -x | |
which curl > /dev/null || apt install curl | |
# add the repo key: | |
curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | sudo apt-key add - | |
# add the 'nvidia container runtime' repo to apt's sources | |
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) |