- Git
- GCC or Clang Compiler
- QEMU Emulator
- Familiar with Make build system
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: webapp | |
spec: | |
containers: | |
- name: webapp | |
image: registry.gitlab.com/zawzaw.me/gitops-argocd-demo | |
env: | |
- name: POD_NAME |
This file contains 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
# This Android.mk is for compiling AudioWaveMaker Android app | |
# for Android Make Build System. | |
# | |
LOCAL_PATH:= $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \ | |
frameworks/support/design/res \ | |
frameworks/support/v7/appcompat/res \ | |
frameworks/support/v17/leanback/res |
This file contains 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
<!-- Networking and telephony --> | |
<uses-permission android:name="android.permission.BLUETOOTH" /> | |
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> | |
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> | |
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | |
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> | |
<uses-permission android:name="android.permission.CONTROL_VPN" /> |
This file contains 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
# Inline Kernel Build | |
KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/aarch64/aarch64-linux-android-4.9/bin | |
KERNEL_TOOLCHAIN_PREFIX := aarch64-linux-android- | |
TARGET_KERNEL_SOURCE := kernel/lge/bullhead | |
TARGET_KERNEL_CONFIG := bullhead_defconfig | |
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb |
This file contains 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
# USEFUL TWRP RECOVERY FLAGS | |
# by ZawZaw @XDA-Developers | |
# Thanks to : @xda-developers for helps | |
# Add EXT4 support | |
TARGET_USERIMAGES_USE_EXT4 := true | |
# Disable/enable SELinux. Only suggested when you want to enable SELinux support | |
TWHAVE_SELINUX := true |
This file contains 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
# Inline Kernel Build | |
KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/aarch64/aarch64-linux-android-4.9/bin | |
KERNEL_TOOLCHAIN_PREFIX := aarch64-linux-android- | |
TARGET_KERNEL_SOURCE := kernel/moto/shamu | |
TARGET_KERNEL_CONFIG := shamu_defconfig | |
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape> | |
<solid android:color="@android:color/white" /> | |
<corners android:radius="3dp" /> | |
<stroke android:width="2dp" android:color="@color/color_primary" /> | |
</shape> | |
</item> | |
</selector> |
This file contains 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
<resources> | |
<dimen name="margin_small">4dp</dimen> | |
<dimen name="margin_medium">8dp</dimen> | |
<dimen name="margin_medium_2">16dp</dimen> | |
<dimen name="margin_medium_3">20dp</dimen> | |
<dimen name="margin_large">24dp</dimen> | |
<dimen name="margin_xlarge">32dp</dimen> | |
<dimen name="margin_xxlarge">48dp</dimen> | |
<dimen name="margin_card_medium">6dp</dimen> |
This file contains 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
<android.support.design.widget.AppBarLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:theme="@style/AppTheme.AppBarOverlay"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/actionBarSize" | |
android:background="@android:color/background_light" |
NewerOlder