Skip to content

Instantly share code, notes, and snippets.

View derjohn's full-sized avatar

derjohn derjohn

View GitHub Profile
@derjohn
derjohn / create-cloud-template.sh
Last active April 19, 2023 10:25 — forked from chriswayg/create-cloud-template.sh
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1
@derjohn
derjohn / android_backup_restore.sh
Last active May 30, 2019 16:04 — forked from silvae86/android_backup_restore.sh
Backup and restore Android partitions to SD Card
#!/bin/sh
#open adb shell
adb shell
#listing partitions (general command for Android devices)
#ls -l /dev/block/platform/<block_device_name>/by-name/
#for the ZTE Axon7
ls -l /dev/block/platform/soc/624000.ufshc/by-name/