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
| import android.content.Context | |
| import android.graphics.drawable.Drawable | |
| import android.util.AttributeSet | |
| import androidx.appcompat.widget.AppCompatImageView | |
| import androidx.vectordrawable.graphics.drawable.Animatable2Compat | |
| import androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat | |
| /** | |
| * Custom loading indicator using Animated vector drawable. | |
| * |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/master/schema.json", | |
| "basics": { | |
| "name": "Hossain Khan", | |
| "label": "Senior Software Engineer", | |
| "image": "https://hossainkhan.com/assets/images/profile_cartoon.png", | |
| "email": "[email protected]", | |
| "url": "https://hossainkhan.com", | |
| "summary": "Senior Software Engineer with 15+ years of experience, passionate about crafting intuitive interfaces that connect people through technology. Currently at Slack, enhancing the Android app with a focus on Slack's platform improvements like BlockKit, Workflows, Slack Apps, and more. Career began as a web developer and has since evolved into mobile technologies, where I thrive on tackling challenging projects. Recently investing heavily in learning AI tools and development workflows, exploring platforms like Claude Code, Gemini CLI, Cursor, GitHub Copilot, and GitHub Spark.", | |
| "location": { |
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
| /* | |
| See preview screenshot 🏞 https://user-images.githubusercontent.com/99822/158228177-f0cba204-e354-4d92-b029-41b22ba1f997.png | |
| Go to Android Studio Preferences | |
| Editor > Live Templates > Kotlin | |
| Duplicate the existing "soutp" template using the 📄 Duplicate icon on right bar, | |
| and use following template for text. |
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
| /** | |
| * Say hello API | |
| * Try: https://mock-apis-server.firebaseapp.com/say/hello | |
| */ | |
| app.get('/say/hello', (req, res) => { | |
| // Return success response | |
| return res.status(200).json({"message":"Hello there... Welcome to mock server."}); | |
| }); | |
| /* [END `/say/hello` ] - must be added before `exports.api = ...` */ |
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
| 'use strict'; | |
| // [START import] | |
| const functions = require('firebase-functions'); | |
| const express = require('express'); | |
| const app = express(); | |
| // [END import] | |
| // [START middleware] | |
| const cors = require('cors')({origin: 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
| cd functions | |
| npm install | |
| cd .. |
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
| firebase use --add your-project-id-23d6x |
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
| firebase init |
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
| firebase list |
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
| productFlavors { | |
| dev { | |
| // To avoid using legacy multidex, set minSdkVersion to 21 or higher. | |
| minSdkVersion 21 | |
| // The following configuration limits the "dev" flavor to using | |
| // English string resources and xxhdpi screen-density resources. | |
| resConfigs "en", "xxxhdpi" |
NewerOlder