Create a template service file at /etc/systemd/system/secure-tunnel@.service
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target
#!/bin/bash | |
apt install -y neovim build-essential git stow | |
mkdir -p ~/.config/nvim | |
echo "set expandtab shiftwidth=4" > ~/.config/nvim/init.vim | |
echo "set -o vi" >> ~/.bashrc | |
echo "bind -m vi-insert '\C-l':clear-screen" >> ~/.bashrc |
# The objective is to find the number of years at current total human energy | |
# use it would take to decrease the temperature of the Earth's 'core' by one | |
# degree Celsius. The maximum depth of the crust is 100 km so we'll offset | |
# the average radius by that amount to get the volume, multiply by the | |
# average density to get the mass. Then we'll multiply by the mass-weighted | |
# average specific heat and then by 1 °C to cancel things out. | |
# Using the equation Q = m Cp ΔT, we find the total energy available from | |
# that one degree drop. Divide by the current total human energy use per year | |
# to arrive at the number of years it would take. |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Released under GPL v2.0 | |
# bernd@bimstatik.org | |
# based on script for vagrant box from FreeCAD source, https://github.com/FreeCAD/FreeCAD/blob/master/vagrant/FreeCAD.sh | |
# modified Jan 28 2016 by Kurt Kremitzki | |
# tested on Ubuntu Xenial = 16.04 | |
cd | |
INSTALL_PREFIX=/opt/local/FreeCAD-0.17-py3 |