Skip to content

Instantly share code, notes, and snippets.

Avatar
♥️
Open Sourcing

Yogesh Choudhary Paliyal yogeshpaliyal

♥️
Open Sourcing
View GitHub Profile
@theapache64
theapache64 / launcTime.sh
Last active August 18, 2022 13:09
To measure average Activity startup time
View launcTime.sh
# To measure lauch time
fun launchTime(){
# Config
LAUNCH_COUNT=10
REGEX='TotalTime: (\d+)'
# The two params are configurable via argument
DEFAULT_PACKAGE_NAME='com.your.packagename'
@ErikHellman
ErikHellman / MarkdownComposer.kt
Last active October 20, 2021 14:49
A simple rendered for Markdown text parsed using CommonMarks
View MarkdownComposer.kt
package se.hellsoft.markdowncomposer
import android.util.Log
import androidx.compose.foundation.Box
import androidx.compose.foundation.ContentGravity
import androidx.compose.foundation.Text
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.text.InlineTextContent
import androidx.compose.foundation.text.appendInlineContent
import androidx.compose.material.Colors