“This header comment briefly states what the program is: a single-file Flappy Bird clone using SDL2 and SDL_ttf.
The #include lines pull in SDL (windowing, rendering, events), SDL_ttf (TrueType text), and standard C headers for booleans, randomness, time, I/O and string utilities. These provide the APIs we rely on throughout the program.”
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 | |
| ## Build script for Samsung Galaxy M52 5G (m52xq) - LineageOS 23.2 | |
| ## Usage: | |
| ## ./build_m52xq.sh # Full clone + build | |
| ## ./build_m52xq.sh sync # Clone/sync repos only, no build | |
| ## ./build_m52xq.sh build # Build only (assumes repos already cloned) | |
| # REMOVED: set -e (We want the script to power through errors) |
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 | |
| repo init --depth=1 -u https://github.com/LineageOS-Revived/android.git -b lineage-17.1 --git-lfs | |
| repo sync --force-sync --current-branch --no-tags --no-clone-bundle --optimized-fetch --prune -j8 | |
| git clone https://github.com/LenovoA536Development/android_device_lenovo_alps device/lenovo/alps | |
| git clone https://github.com/LenovoA536Development/android_vendor_lenovo_alps vendor/lenovo/alps | |
| git clone https://github.com/LenovoA536Development/android_kernel_mediatek_alps kernel/mediatek/alps |
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
| sudo apt-get update -y | |
| sudo apt-get upgrade -y | |
| sudo apt-get install build-essential libelf-dev bzip2 lib32stdc++6 libc6-dev-i386 git -y | |
| set -eo pipefail | |
| git clone -n https://github.com/CruelKernel/aarch64-cruel-elf.git ${HOME}/toolchain | |
| cd ${HOME}/toolchain | |
| git checkout cf641f1153b02a9c6210c3abcf8cc9d4e31a4b3b | |
| mkdir -p ${HOME}/toolchain_arm32 | |
| wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-arm-none-eabi.tar.xz --output-document=${HOME}/toolchain_arm32/gcc-arm-10.2-2020.11-x86_64-arm-none-eabi.tar.xz | |
| tar -xvf ${HOME}/toolchain_arm32/gcc-arm-10.2-2020.11-x86_64-arm-none-eabi.tar.xz -C ${HOME}/toolchain_arm32 |
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
| git clone https://github.com/Neo5-development/android_kernel_oppo_neo5.git kernel/oppo/neo5 -b cm-12.1 | |
| git clone https://github.com/Neo5-development/android_vendor_oppo_neo5.git vendor/oppo/neo5 -b cm-12.1 | |
| git clone https://github.com/Neo5-development/android_device_oppo_common.git device/oppo/common -b cm-12.1 | |
| git clone https://github.com/Neo5-development/android_device_oppo_neo5.git device/oppo/neo5 -b cm-12.1 | |
| git clone https://github.com/LineageOS/android_device_qcom_common device/qcom/common -b cm-12.1 | |
| source build/envsetup.sh | |
| lunch cm_neo5-eng | |
| mka bacon |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html><head> | |
| <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>form</title> | |
| <style type="text/css"> |
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 | |
| rm -rf .repo/local_manifests | |
| repo init -u https://github.com/PE12-Legacy/manifest -b twelve-plus | |
| git clone https://github.com/Meghthedev/manifest_A37 -b temp .repo/local_manifests | |
| /opt/crave/resync.sh | |
| cp hardware/qcom-caf/msm8996/Android.mk hardware/qcom-caf/msm8960/Android.mk | |
| source build/envsetup.sh | |
| #TEMP FIX, PLS DONT KILL ME, JUST CHECKING SMTHNG | |
| export TARGET_FACE_UNLOCK_SUPPORTED=false | |
| export BUILD_BROKEN_MISSING_REQUIRED_MODULES=true |
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 | |
| # Init Alphadroid Source | |
| repo init --depth=1 -u https://github.com/HorizonDroidLab/manifest.git -b 14 --git-lfs | |
| # Clone local manifest | |
| rm -rf .repo/local_manifests | |
| git clone https://github.com/Meghthedev/local_manifests .repo/local_manifests | |
| # Sync the repos |
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 | |
| # Thanks to @Lafactorial for the initial script :D | |
| rm -rf .repo/local_manifests | |
| # Initialize repo with specified manifest | |
| repo init --depth=1 -u https://github.com/ProjectEverest/manifest -b 14 --git-lfs | |
| # Clone local_manifests repository |
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 up the build environment | |
| source build/envsetup.sh | |
| rm -rf kernel/oppo/neo5 | |
| rm -rf build | |
| # Sync Device Specific Repos | |
| # Define repositories, branches, and directories in a single array |
NewerOlder