Skip to content

Instantly share code, notes, and snippets.

View vickycj's full-sized avatar
🎯
Focusing

Vigneshwaran Elangovan vickycj

🎯
Focusing
View GitHub Profile

FLutter Interview Questions

Android App Security Measures

  • SSL Pinning
  • Penetration Testing
  • Encrypting the PI data while storing in Local DB
  • Keystore protection
  • Encrypted Storage
@vickycj
vickycj / gist:476a0c7f4472fb8d872fa90c791d7c96
Created December 17, 2022 18:42
Compose Template Android Studio
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
#end
#parse("File Header.java")
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
@Composable
internal fun ${NAME}() {
@vickycj
vickycj / gist:b2a9f81332781153414f50f9c0c8e00e
Created November 30, 2022 13:59
Video Time Interval Calculation
/**
* Title : Get Video Watch-Time from Watch Intervals
*
* Given a list of Video Intervals a user has watched for a video, Find the total watch time of the Video for the User
*
* for example : if the given List of Intervals are - (0,10), (20,30), (20,40), (15,30)
*
* then we should get a WatchTime of 30 and actual Intervals are (0,10) and (20,40)
*
Output Should be like :