What would you need:
- Postgres 9.3, 9.4, 9.5, 9.6 or 10 with cstore_fdw extention (https://github.com/citusdata/cstore_fdw)
- Docker 1.12.6 or higher
- Docker Compose
- Linux machine
Hardware requirements
| /* | |
| * Copyright 2025 Kyriakos Georgiopoulos | |
| * | |
| * 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 |
| @Composable | |
| fun Modifier.parallaxHeader( | |
| listState: LazyListState, | |
| headerHeightDp: Dp, | |
| maxStretchFactor: Float = 3.0f, | |
| pullMultiplier: Float = 1.5f, | |
| onHeightChanged: (Dp) -> Unit | |
| ): Modifier { | |
| val density = LocalDensity.current | |
| val coroutineScope = rememberCoroutineScope() |
| @Composable | |
| fun FloatingHeartsAnimation() { | |
| var showHearts by remember { mutableStateOf(false) } | |
| val heartList = remember { mutableStateListOf<Int>() } | |
| var sliderValue by remember { mutableFloatStateOf(0.5f) } | |
| val scale = remember { Animatable(1f) } | |
| val scope = rememberCoroutineScope() | |
| val config = HeartConfig( | |
| radiusMultiplier = lerp(0.5f, 2f, sliderValue), |
| @Composable | |
| fun EmojiFont() = FontFamily( | |
| Font(Res.font.noto_emoji_light, FontWeight.Light), | |
| Font(Res.font.noto_emoji_reg, FontWeight.Normal), | |
| Font(Res.font.noto_emoji_med, FontWeight.Medium), | |
| ) | |
| val testEmojis = | |
| persistentListOf("🍇", "🍅", "🥬", "🍞", "🧀", "🥚", "🥩", "🍫", "🍕", "🍷", "🧃", "🧼", "🧻", "🧴", "🍏") |
| class MainActivity : ComponentActivity() { | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| WindowCompat.setDecorFitsSystemWindows(window, false) | |
| super.onCreate(savedInstanceState) | |
| setContent { | |
| ColorPickerTheme { | |
| Surface( | |
| modifier = Modifier.fillMaxSize(), | |
| color = MaterialTheme.colorScheme.background | |
| ) { |
| class Test { | |
| val names: List<String> | |
| field: MutableList<String> = mutableListOf<String>() | |
| fun doThing() { | |
| names.add("Hello!") | |
| } | |
| } | |
| fun main() { |
What would you need:
Hardware requirements
| public class IDCardUtil { | |
| public static boolean isValid(String idCard){ | |
| if (idCard.length()!=13){ | |
| return false; | |
| } | |
| int sum = 0; | |
| for (int i = 0; i < 12; i++) { | |
| sum += Character.getNumericValue(idCard.charAt(i))*(13-i); | |
| } |
| package me.peerapong.android_dynamicjsonkey; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.util.Log; | |
| import com.google.gson.Gson; | |
| import com.google.gson.GsonBuilder; | |
| import com.google.gson.JsonDeserializationContext; | |
| import com.google.gson.JsonDeserializer; |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.widget.EditText; | |
| /** | |
| * Original: | |
| * An EditText, which notifies when something was cut/copied/pasted inside it. | |
| * @author Lukas Knuth | |
| * @version 1.0 | |
| * |