Skip to content

Instantly share code, notes, and snippets.

View code978's full-sized avatar

Kunal Jain code978

View GitHub Profile
@code978
code978 / activity_main.xml
Created October 17, 2020 16:11 — forked from sagar-viradiya/activity_main.xml
DevFest India 2020 Day 1 - Main Acitvity UI
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/backgroundColor"
tools:context=".MainActivity">
<androidx.core.widget.ContentLoadingProgressBar
@code978
code978 / colors.xml
Created October 17, 2020 16:11 — forked from sagar-viradiya/colors.xml
DevFest India 2020 Day 1 - colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#B30000</color>
<color name="colorPrimaryDark">#980304</color>
<color name="colorAccent">#9EBE95</color>
<color name="white">#FFFFFF</color>
<color name="black">#000000</color>
<color name="backgroundColor">#EDEEEE</color>
</resources>
@code978
code978 / build.gradle
Created October 17, 2020 16:13 — forked from sagar-viradiya/build.gradle
DevFest India 2020 Day 1 - build.gradle file
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: "kotlin-kapt"
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.devfest.india.bmsclone"
Task 1: Create a project jumphost instance
Navigation menu > Compute engine > VM Instance
Task 2: Create a Kubernetes service cluster
gcloud config set compute/zone us-east1-b
gcloud container clusters create nucleus-webserver1