This file contains hidden or 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 CommandLineParser( | |
| private val input: String | |
| ) : Iterator<String> { | |
| private var lastIndex: Int = 0 | |
| override fun hasNext(): Boolean = lastIndex in 0..input.length - 2 | |
| override fun next(): String { | |
| val value = StringBuilder() | |
| var quoteStarter: Char? = null |
This file contains hidden or 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
| @file:Suppress("unused", "MemberVisibilityCanBePrivate") | |
| package com.afollestad.flow.util | |
| import com.google.common.truth.Truth.assertThat | |
| import com.google.common.truth.Truth.assertWithMessage | |
| import kotlinx.coroutines.CoroutineScope | |
| import kotlinx.coroutines.Dispatchers.Unconfined | |
| import kotlinx.coroutines.ExperimentalCoroutinesApi | |
| import kotlinx.coroutines.Job |
This file contains hidden or 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
| // | |
| // Clubhouse.swift | |
| // Playground | |
| // | |
| // Created by Nav Singh on 2/11/21. | |
| // | |
| import SwiftUI | |
| struct Clubhouse: View { |
This file contains hidden or 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
| const { widget } = figma | |
| const { Rectangle, AutoLayout, Frame, Text, useSyncedState, usePropertyMenu, useEffect, Ellipse } = widget | |
| function Dot(props) { | |
| let visible = props.visible | |
| return ( | |
| <Ellipse | |
| opacity={visible ? 1 : 0} | |
| width={24} | |
| height={24} |
This file contains hidden or 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
| import androidx.compose.animation.core.Animatable | |
| import androidx.compose.animation.core.Spring | |
| import androidx.compose.animation.core.animateFloatAsState | |
| import androidx.compose.animation.core.spring | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.gestures.detectDragGestures | |
| import androidx.compose.foundation.layout.aspectRatio | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.foundation.layout.wrapContentSize | |
| import androidx.compose.integration.demos.BlockFilter.Companion.Lighting |
This file contains hidden or 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 des.c5inco.material3 | |
| import android.graphics.Matrix | |
| import android.graphics.Path | |
| import androidx.compose.animation.core.* | |
| import androidx.compose.foundation.Canvas | |
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.Column | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.foundation.layout.size |
OlderNewer