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 | |
qemu-system-x86_64 -enable-kvm \ | |
-vga std \ | |
-m 2048 \ | |
-smp 2 \ | |
-cpu host \ | |
-soundhw ac97 \ | |
-net nic,model=e1000 -net user \ | |
-cdrom Disks/android-x86_64-7.1-r1.iso |
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 | |
LOCATION=http://ftp.uk.debian.org/debian/dists/stretch/main/installer-amd64/ | |
OS_VARIANT=debian9 | |
while [ $# -ne 0 ]; do | |
case "$1" in | |
--name | -n) | |
NAME="$2" | |
shift |
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
.PHONY: help | |
help: ## Show help | |
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
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 | |
# Recursivly list all git(1) repositories incl. their sizes under the | |
# given directory in parallel | |
find "${1}" -type d -name .git -print \ | |
| sed -e s,/.git$,, \ | |
| xargs -r \ | |
du -sh \ | |
| sort -k2 |
NewerOlder