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/bash | |
| echo "which b2: $(which b2)" | |
| b2 version 2>&1 || b2 --version 2>&1 | |
| echo "ID length: ${#BKEY_ID}, first 4: ${BKEY_ID:0:4}" | |
| echo "KEY length: ${#BAPP_KEY}" | |
| [[ "$BKEY_ID$BAPP_KEY" == *$'\r'* ]] && echo "WARNING: carriage return found" | |
| [[ "$BKEY_ID$BAPP_KEY" =~ [[:space:]] ]] && echo "WARNING: whitespace found" | |
| b2 account authorize "$BKEY_ID" "$BAPP_KEY" 2>&1 | head -5 |
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/bash | |
| set -e -x | |
| rm -rf .repo/local_manifests/ | |
| repo init -u https://github.com/crDroid11/android.git -b 11.0 --git-lfs --depth 1 | |
| mkdir -p .repo/local_manifests | |
| rm -rf .repo/local_manifests/* || true | |
| curl -L -o .repo/local_manifests/local_manifest.xml https://raw.githubusercontent.com/AmerXz/local_manifests/patch-1/manifest.xml |
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
| Section "Device" | |
| Identifier "Intel Graphics" | |
| Driver "modesetting" | |
| BusID "PCI:0:2:0" # Adjust to your Intel GPU's bus ID | |
| Option "PageFlip" "false" | |
| Option "TearFree" "false" | |
| EndSection |