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.foundation.Canvas | |
| import androidx.compose.foundation.Image | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.border | |
| import androidx.compose.foundation.gestures.detectDragGestures | |
| import androidx.compose.foundation.layout.* | |
| import androidx.compose.foundation.shape.RoundedCornerShape | |
| import androidx.compose.material3.Text | |
| import androidx.compose.runtime.* | |
| import androidx.compose.ui.Alignment |
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
| // add this to your commonMain.dependencies | |
| // implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.7.1") | |
| @OptIn(ExperimentalTime::class) | |
| @Composable | |
| fun CarouselCalendar() { | |
| //// Clock.System.now() -> Output: 2025-11-15T14:30:45.123456789Z | |
| //// (Year-Month-Day T Hour:Minute:Second.Nanoseconds Z for UTC) | |
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.AnimatedVisibility | |
| import androidx.compose.foundation.Image | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.layout.Arrangement | |
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.Column | |
| import androidx.compose.foundation.layout.Row | |
| import androidx.compose.foundation.layout.Spacer | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.foundation.layout.fillMaxWidth |
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
| %------------------------- | |
| % Generic Resume in LaTeX | |
| % Author : Your Name | |
| %------------------------ | |
| \documentclass[letterpaper,11pt]{article} | |
| \usepackage{latexsym} | |
| \usepackage[empty]{fullpage} | |
| \usepackage{titlesec} |
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
| HTTP | |
| url | |
| Method : Get | |
| Headers | |
| Content-Type application/json | |
| Authorization Bearer <token> |
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
| @Composable | |
| fun KawaiiCloudWithRainbow() { | |
| // Animation for cloud bounce | |
| val infiniteTransition = rememberInfiniteTransition() | |
| val cloudBounce by infiniteTransition.animateFloat( | |
| initialValue = 0f, | |
| targetValue = 20f, | |
| animationSpec = infiniteRepeatable( | |
| tween(1000, easing = FastOutSlowInEasing), | |
| repeatMode = RepeatMode.Reverse |
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 io.jadu.kanvasexp | |
| import androidx.compose.animation.core.LinearEasing | |
| import androidx.compose.animation.core.RepeatMode | |
| import androidx.compose.animation.core.animateFloat | |
| import androidx.compose.animation.core.infiniteRepeatable | |
| import androidx.compose.animation.core.rememberInfiniteTransition | |
| import androidx.compose.animation.core.tween | |
| import androidx.compose.foundation.background |
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
| // Get epoch time | |
| const val formatPattern = "yyyy-MM-dd'T'HH:mm:ss[.SSS]" | |
| @OptIn(FormatStringsInDatetimeFormats::class) | |
| private val EpochDateTimeFormatter = LocalDateTime.Format { | |
| byUnicodePattern(formatPattern) | |
| } | |
| fun getFormattedDate(timeStamp: Long): String { | |
| return EpochDateTimeFormatter.format( |
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
| # Ringlr | |
| Ringlr is a cross-platform application designed to handle and integrate phone calls and audio configurations. It leverages platform-specific APIs such as Android's Telecom framework and iOS's CallKit to provide a seamless calling experience. | |
|  | |
| ## Contents | |
| - [Features](#features) | |
| - [Permissions](#permissions) | |
| - [CallManager API Reference](#callmanager-api-reference) |
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
| private const val TUNNEL_SHADER_SRC = """ | |
| uniform float2 iResolution; | |
| uniform float iTime; | |
| uniform shader composable; | |
| float2x2 rotate2D(float r) { | |
| return float2x2( | |
| cos(r), sin(r), | |
| -sin(r), cos(r) | |
| ); |
NewerOlder