View AvdLoadingProgressBar.kt
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
{ | |
"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 livetemplate.groovy
/* | |
Go to Android Studio Preferences | |
Editor > Live Template > Kotlin | |
Duplicate "soutp" and use following template for `$FORMAT`. | |
``` | |
timber.log.Timber.d($FORMAT$) | |
``` | |
Applicable in kotlin statement (it should be pre-selected for you, since you copied `soutp`) |
View express-simple-api.js
/** | |
* 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
'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
cd functions | |
npm install | |
cd .. |
View firebase-use-project.sh
firebase use --add your-project-id-23d6x |
View firebase-init.sh
firebase init |
View firebase-list.sh
firebase list |
View build.gradle.js
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