Pinned Loading
-
Daily, weekly and monthly backups of...
Daily, weekly and monthly backups of host-mounted docker volumes, with slack notifications. 1#!/bin/bash
23# make sure we're running as root. need it to backup docker volumes and control services
4if [ "$EUID" -ne 0 ]; then
5echo "Please run as root"
-
Reverse SSH tunnel as a systemd service
Reverse SSH tunnel as a systemd service 1#!/bin/bash
2echo 'Starting reverse SSH tunnel'
3/usr/bin/autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure=yes" -tt -R \*:2222:localhost:22 [email protected]
-
.vimrc, .tmux.conf and .bash_aliases
.vimrc, .tmux.conf and .bash_aliases 1# List of plugins
2set -g @plugin 'tmux-plugins/tpm'
3set -g @plugin 'tmux-plugins/tmux-sensible'
4set -g @plugin 'tmux-plugins/tmux-resurrect'
5set -g @plugin 'tmux-plugins/tmux-cpu'
-
Migrate from github to self-hosted g...
Migrate from github to self-hosted gitlab 1import subprocess
2import requests
3import os
45 -
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.