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 | |
# Revert outbound traffic back to original ip. Call script with the original ip address of droplet | |
NET_INT="eth0" | |
CURL_TIMEOUT=3 | |
if [ "$1" == "" ]; then | |
echo "Original IP of droplet not given." | |
exit 1 | |
fi |
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
<template> | |
<Modal :dismissible="true" v-model:open="show"> | |
<div class="p-4"> | |
<h3 class="text-lg font-medium leading-6 text-gray-900"> | |
{{ title }} | |
</h3> | |
<div class="mt-2"> | |
<p class="text-sm text-gray-500"> | |
{{ description }} | |
</p> |
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 | |
CURRENTDOCKERROOTDIR=/var/lib/docker | |
NEWDOCKERROOTDIR= | |
COPYFOLDER=false | |
DONTSTARTDOCKERAFTERCHANGE=false | |
FORCEOVERWRITE=false | |
JSONDAEMONFILEPATH=/etc/docker/daemon.json | |
STORAGEDRIVER= |
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
echo "Don't execute this script directly. Edit it and copy the command you need."; | |
exit; | |
# Make sure you backup your .git folder (better the entire repository) before running this! | |
# USE AT YOUR OWN RISK! | |
# Tested with git version 2.33.1 | |
# If on ubuntu, make sure to add the official repo from git to get the latest version. | |
# This will add a git alias | |
# Usage: git resign HASH |