Skip to content

Instantly share code, notes, and snippets.

Push The Limits!

Ali Mehrpour AliMehrpour

Push The Limits!
Block or report user

Report or block AliMehrpour

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ApktoolDecompileError.log
I: Using Apktool 2.4.0-3cf5cb-SNAPSHOT
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
S: WARNING: Could not write to (/var/root/Library/apktool/framework), using /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
W: /Users/amehrpour/Development/Android/Frankly/apk/WTXF/res/values/xmls.xml:3: error: Resource entry ww_box_styles_schema is already defined.
W: res/xml/ww_box_styles_schema.xsd:0: Originally defined here.
View FlurryMobile-TimberLog.kt
object TimberLog {
fun init() {
class ReleaseTree: Timber.Tree() {
override fun log(priority: Int, tag: String?, message: String, throwable: Throwable?) {
if (priority >= Log.WARN) {
FlurryAgent.onError(tag ?: "", message, throwable ?: Throwable(message))
AliMehrpour / Resource.kt
Created Dec 30, 2019
A generic class that describe data with a status used Sealed classes in Kotlin (rather than using enum)
View Resource.kt
import java.util.*
sealed class Resource {
class Success<out T>(val data: T, val date: Date?): Resource()
class Error(val message: String, val date: Date?): Resource()
class Loading<out T>(val data: T): Resource()
class Cached<out T>(val data: T, val date: Date?): Resource()
object ReAuthenticate : Resource()
object Logout: Resource()
AliMehrpour / FlurryMobile-Config Sample
Last active Jan 8, 2020
Flurry Mobile App - Config Sample
View FlurryMobile-Config Sample
"dashboards": [
"name": "Analytics",
"subDashboards": [
"name": "RealtimeUsage",
"displayType": "list",
"metrics": [
"Name": "Sessions",
You can’t perform that action at this time.