This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kotlin K2 FIR Example. Related Post: https://handstandsam.com/2024/05/30/kotlin-k2-fir-quickstart-guide/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:23.10 | |
ENV ANDROID_HOME="/opt/android-sdk" | |
# support amd64 and arm64 | |
RUN JDK_PLATFORM=$(if [ "$(uname -m)" = "aarch64" ]; then echo "arm64"; else echo "amd64"; fi) && \ | |
echo export JDK_PLATFORM=$JDK_PLATFORM >> /etc/jdk.env && \ | |
echo export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$JDK_PLATFORM/" >> /etc/jdk.env && \ | |
echo . /etc/jdk.env >> /etc/bash.bashrc && \ | |
echo . /etc/jdk.env >> /etc/profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo | |
import androidx.compose.foundation.BorderStroke | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.height | |
import androidx.compose.foundation.layout.padding | |
import androidx.compose.foundation.layout.size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ExperimentalAnimationApi | |
@RunWith(AndroidJUnit4::class) | |
class NonOrganizerTest { | |
@get:Rule | |
val composeTestRule = createAndroidComposeRule<MainActivity>() | |
@Before | |
fun goToNonOrganizerFragment() { | |
composeTestRule.activityRule.scenario.onActivity { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun DragDropList( | |
items: List<ReorderItem>, | |
onMove: (Int, Int) -> Unit, | |
modifier: Modifier = Modifier | |
) { | |
val scope = rememberCoroutineScope() | |
var overscrollJob by remember { mutableStateOf<Job?>(null) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.siddroid.folding | |
fun main() { | |
// Composing our car | |
val car = Car.compose(Chain.carEngineType(EngineType.ELECTRIC) | |
.carOwnerDetails(name = "Android Dev Community", | |
licenceNo = "API31", | |
address = "California" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ransomware Name | URL | Status | |
---|---|---|---|
AVADDON | http://avaddongun7rngel.onion/ | Online | |
SODINOKIBI (REVIL) | http://dnpscnbaix6nkwvystl3yxglz7nteicqrou3t75tpcc5532cztc46qyd.onion/ | Online | |
NEFILIM | http://hxt254aygrsziejn.onion/ | Online | |
VFOKX (1) | http://vfokxcdzjbpehgit223vzdzwte47l3zcqtafj34qrr26htjo4uf3obid.onion/ | Online | |
VFOKX (2) | http://746pbrxl7acvrlhzshosye3b3udk4plurpxt2pp27pojfhkkaooqiiqd.onion/ | Online | |
MARKETO (deep) | https://marketo.cloud/ | Online | |
MARKETO (dark) | http://g5sbltooh2okkcb2.onion/ | Online | |
LORENZ | http://lorenzmlwpzgxq736jzseuterytjueszsvznuibanxomlpkyxk6ksoyd.onion/ | Online | |
CONTI/RYUK | http://continewsnv5otx5kaoje7krkto2qbu3gtqef22mnr7eaxw3y6ncz3ad.onion/ | Online |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChipsView<T : Parcelable>(ctx: Context, attr: AttributeSet) : ConstraintLayout(ctx, attr) { | |
... | |
private fun addSubviews() { | |
val flow = Flow(context).apply { | |
id = generateViewId() | |
setWrapMode(Flow.WRAP_CHAIN) | |
setHorizontalStyle(Flow.CHAIN_PACKED) | |
setHorizontalAlign(Flow.HORIZONTAL_ALIGN_START) | |
setHorizontalBias(0f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release Branch | |
on: | |
workflow_dispatch: | |
inputs: | |
versionName: | |
description: 'Name of version (ie 5.5.0)' | |
required: true | |
versionCode: | |
description: 'Version number (50500)' | |
required: true |
NewerOlder