Skip to content

Instantly share code, notes, and snippets.

View rushiiMachine's full-sized avatar

rushii rushiiMachine

View GitHub Profile
@rushiiMachine
rushiiMachine / CircleWithShadow.kt
Created January 15, 2025 05:41
Jetpack compose snippet for drawing a circle with a shadow at a -45° angle
var radius by remember { mutableFloatStateOf(0f) }
Canvas(modifier = Modifier.matchParentSize()) {
// Draw background circle
drawCircle(
color = Color.White,
radius = radius,
alpha = .05f,
blendMode = BlendMode.Lighten,
)
#!/bin/bash
SDK_VERSION="14.5"
TARGET_IOS_VERSION="14"
LLVM_PATH="$HOME/opt/llvm-15.0.6" # only llvm 15 worked for me
cd "$(dirname "$0")/dobby"
rm -rf build || true
export PATH="$LLVM_PATH/bin:$THEOS/toolchain/linux/iphone/bin:$PATH"