I hereby claim:
- I am l3k0v on github.
- I am azlekov (https://keybase.io/azlekov) on keybase.
- I have a public key ASCz1bZhx5gqIRErMD5xmv_KLen7H1Ie0nK6Q1vaA2lx1go
To claim this, I am signing this object:
@Composable | |
fun PhoneNumberConsent( | |
onPhoneNumberFetchedFromDevice: (phoneNumber: String) -> Unit, | |
) { | |
val context = LocalContext.current | |
val phoneNumberHintIntentResultLauncher = | |
rememberLauncherForActivityResult(ActivityResultContracts.StartIntentSenderForResult()) { result -> | |
try { | |
val phoneNumber = Identity.getSignInClient(context).getPhoneNumberFromIntent(result.data) |
; PlatformIO Project Configuration File | |
; | |
; Build options: build flags, source filter | |
; Upload options: custom upload port, speed and extra flags | |
; Library options: dependencies, extra library storages | |
; Advanced options: extra scripting | |
; | |
; Please visit documentation for the other options and examples | |
; https://docs.platformio.org/page/projectconf.html |
fun <T : ParseObject, VH : ViewDataBinding> RecyclerView.bind( | |
query: ParseQuery<T>, | |
@LayoutRes layout: Int = 0, | |
lifecycleOwner: LifecycleOwner | |
): ParseRecyclerAdapter<T, VH> { | |
val parseAdapter = ParseRecyclerAdapter<T, VH>(query, layout, lifecycleOwner) | |
layoutManager = LinearLayoutManager(context) | |
adapter = parseAdapter | |
return parseAdapter | |
} |
import androidx.lifecycle.LiveData | |
import bolts.Task | |
import com.parse.ParseObject | |
import com.parse.ParseQuery | |
import kotlin.coroutines.resume | |
import kotlin.coroutines.resumeWithException | |
import kotlin.reflect.KProperty | |
import kotlinx.coroutines.* | |
suspend fun <T> Task<T>.await(): T { |
#!/usr/bin/python | |
# pip install polyline | |
import polyline | |
def rreplace(s, old, new, count): | |
return (s[::-1].replace(old[::-1], new[::-1], count))[::-1] |
I hereby claim:
To claim this, I am signing this object: