View AvdLoadingProgressBar.kt
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
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. | |
* |
View resume.json
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
{ | |
"basics": { | |
"name": "Hossain Khan", | |
"label": "Sr. Android Developer at Quickplay", | |
"phone": "", | |
"website": "", | |
"summary": "Consultant - Android Application Development\n\nSpecialties: \n\n * Android Development (Hybrid, Native [Mobile/Phablet/Tablet], TV)\n * Server Side Scripting Language (PHP - ZendFramework/Symfony, JSP)\n * Database Management System (MySQL, Oracle, SQLite - Android)\n * Version Control System (SVN, Git [Github, Bitbucket, Stash])\n * Project Management/Collaboration (Trac, Bugzilla, JIRA, Trello)\n * Crash reporting platform (Crashlytics, Bugsense)\n * Build server (Jenkins, Travis CI)\n * IDE/Tools (Android Studio (IntelliJ IDEA), ADT, Eclipse, Aptana, Netbeans)\n * Unix/Linux OS Management", | |
"location": { | |
"address": "North York, Ontario, Canada", | |
"postalCode": "", |
View timber-log-livetemplate.groovy
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
/* | |
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. |
View express-simple-api.js
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
/** | |
* 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 = ...` */ |
View express-and-firebase.js
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
'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}); |
View update-npm.sh
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
cd functions | |
npm install | |
cd .. |
View firebase-use-project.sh
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
firebase use --add your-project-id-23d6x |
View firebase-init.sh
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
firebase init |
View firebase-list.sh
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
firebase list |
View build.gradle.js
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
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