This file contains hidden or 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 | |
| ########################################################## | |
| # Make me a thin jail template # | |
| # Written by Florian Minnecker on 03.11.2018 at 11:34 # | |
| ########################################################## | |
| # This script takes a normal template an creates a | |
| # thin-jail-template out of it. | |
| # | |
| # This script assumes that you have a directory structure | |
| # like this - if not, you will need to provide cli args |
This file contains hidden or 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 | |
| ########################################################## | |
| # Make me a template # | |
| # Written by Florian Minnecker on 24.10.2018 at 11:55 # | |
| ########################################################## | |
| # This script will back-up your and my pool to another | |
| # pool like a redundant mirror pool | |
| # | |
| # This script assumes that you have a directory structure | |
| # like this - if not, you will need to provide cli args |
This file contains hidden or 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 | |
| ########################################################## | |
| # BACKUP THE ZROOT SCRIPT # | |
| # Written by Florian Minnecker on 20.10.2018 at 01:06 # | |
| ########################################################## | |
| # This script will back-up your and my pool to another | |
| # pool like a redundant mirror pool | |
| # | |
| # This script assumes that you have a directory structure |
This file contains hidden or 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
| #!env bash | |
| ##### Dead simple lookup tool. Just change the length and the tld. | |
| ##### Not really fast, so it's maby not that usefull, when going to look up 17576+ domain names.. :) | |
| ##### thanks to whoiz.herokuapp.com.. :) | |
| length=3 | |
| tld=".de" | |
| chars=(a b c d e f g h i j k l m n o p q r s t u v w x y z) | |
| mgl=$(echo "${#chars[@]} ^ ${length}" | bc) |
This file contains hidden or 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
| #!/usr/bin/bash | |
| ############################ | |
| # Script zum erstellen von # | |
| # nspawn Containern # | |
| # # | |
| # <[email protected]> # | |
| ############################ | |
| # basic checks |
This file contains hidden or 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
| s=$(pwd); | |
| for i in *; do t=${i:0:-7}; | |
| mkdir ./$t && cd ./$t && git init && git pull ../$i; | |
| cd $s; | |
| done |
This file contains hidden or 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
| // This will save 128.jpg - a public profile picture out of http://uifaces.com - thanks!! :) | |
| wget $(curl http://uifaces.com/api/v1/random | ./JSON.sh | grep '\[\"image_urls",\"epic"]' | awk '{ print $2}' | sed 's/\\\//\//g' | sed 's/\"//g') |