See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
package com.chootadev.composetryout | |
import androidx.annotation.DrawableRes | |
import androidx.compose.animation.core.animateFloatAsState | |
import androidx.compose.animation.core.keyframes | |
import androidx.compose.animation.core.tween | |
import androidx.compose.foundation.Image | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.border | |
import androidx.compose.foundation.clickable |
class MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
WindowCompat.setDecorFitsSystemWindows(window, false) | |
super.onCreate(savedInstanceState) | |
setContent { | |
RubberBandSliderTheme { | |
Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) { | |
Box(contentAlignment = Alignment.Center) { | |
RubberBandSlider(modifier = Modifier | |
.height(200.dp) |
@Composable | |
fun FlipCard() { | |
var rotationXDegrees by remember { mutableStateOf(0f) } | |
var rotationYDegrees by remember { mutableStateOf(0f) } | |
val rotationX by animateFloatAsState( | |
targetValue = rotationXDegrees, | |
animationSpec = tween(durationMillis = 1000) | |
) | |
val rotationY by animateFloatAsState( | |
targetValue = rotationYDegrees, |
import androidx.compose.foundation.ExperimentalFoundationApi | |
import androidx.compose.foundation.gestures.snapping.rememberSnapFlingBehavior | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.height | |
import androidx.compose.foundation.layout.offset | |
import androidx.compose.foundation.lazy.LazyColumn | |
import androidx.compose.foundation.lazy.rememberLazyListState | |
import androidx.compose.material3.Divider | |
import androidx.compose.material3.LocalContentColor |
/* | |
* Copyright 2020 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
keytool -list -keystore keystore.jks | |
keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12 -deststoretype PKCS12 -srcalias alias -deststorepass password | |
openssl pkcs12 -in keystore.p12 -nokeys -out cert.pem | |
openssl pkcs12 -in keystore.p12 -nodes -nocerts -out key.pem | |
openssl x509 -outform der -in cert.pem -out cert.crt | |
openssl rsa -in key.pem -out key.key |