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
| alias aapt="/opt/android-sdk/build-tools/28.0.3/aapt" | |
| apkversion() { | |
| if [ $# -lt 1 ]; then | |
| echo -e "display android system requirements (minimum version to target version) of the apk file" | |
| echo -e "\nUsage: $0 <filename>" | |
| echo -e "\nExample:\n$0 file.apk" | |
| echo -e "$0 file1.apk file2.apk file3.apk" | |
| echo -e "$0 *.apk" | |
| echo -e "\nrequirement:\nhttps://aur.archlinux.org/packages/android-sdk-build-tools/" | |
| echo -e "https://developer.android.com/studio/releases/build-tools" |
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
| Clonezilla (v2.5.0) "ocs-sr" Options | |
| (Reformated for easier reading) | |
| To save or restore image | |
| ocs-sr [OPTION] {MODE} IMAGE_NAME DEVICE | |
| Where MODE is one of | |
| savedisk |
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
| echo -e "o\ny\nn\n1\n\n\n8300\nw\ny\n" | sudo gdisk /dev/"$DEVICE_NAME" | |
| # o create a new empty GUID partition table (GPT) [Delete All Partition] | |
| # y yes, proceed | |
| # n add a new partition | |
| # 1 partition number 1 | |
| # default, first sector | |
| # default, last sector | |
| # 8300 Hex code or GUID [8300 Linux filesystem] | |
| # w write table to disk and exit | |
| # y yes, proceed |
NewerOlder