Skip to content

Instantly share code, notes, and snippets.

View ibrahim4851's full-sized avatar
🎯
Focusing

ibrahim4851

🎯
Focusing
View GitHub Profile
@ardakazanci
ardakazanci / SpotlightEffect.kt
Created January 11, 2024 17:13
Showcase For Compose
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
setContent {
ShowcaseForComposeTheme {
MyScreen()
}
}
}
import androidx.compose.animation.*
import androidx.compose.foundation.gestures.FlingBehavior
import androidx.compose.foundation.gestures.ScrollableDefaults
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.lazy.*
import androidx.compose.runtime.*
@jerhinesmith
jerhinesmith / download.rb
Created August 14, 2015 16:23
Grab all NBA team logos
#!/usr/bin/env ruby
require 'open-uri'
teams = {
atl: 'hawks',
bkn: 'nets',
bos: 'celtics',
cha: 'hornets',
chi: 'bulls',