Skip to content

Instantly share code, notes, and snippets.

View yuroyami's full-sized avatar
🎮
Lazing around

Akram yuroyami

🎮
Lazing around
  • If Kotlin were a woman, I'd have married her
  • Algiers, Algeria 🇩🇿
  • 19:01 (UTC +01:00)
View GitHub Profile
@nhcodes
nhcodes / Picker.kt
Created May 17, 2023 11:19
Android NumberPicker for Jetpack Compose
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.gestures.snapping.rememberSnapFlingBehavior
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.material3.Divider
import androidx.compose.material3.LocalContentColor
@profchiso
profchiso / countries.json
Created July 15, 2021 09:49 — forked from fullstackjedi/countries.json
JSON of country codes, dial codes and their flags
[
{
"name":"Afghanistan",
"flag":"🇦🇫",
"code":"AF",
"dial_code":"+93"
},
{
"name":"Åland Islands",
"flag":"🇦🇽",
@phiresky
phiresky / motioninterpolation.vpy
Last active October 31, 2025 01:50
Realtime motion interpolating 60fps playback in mpv
# vim: set ft=python:
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645
# source: https://github.com/mpv-player/mpv/issues/2149
# source: https://github.com/mpv-player/mpv/issues/566
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy
import vapoursynth
core = vapoursynth.get_core()