Skip to content

Instantly share code, notes, and snippets.

View filipebatista's full-sized avatar
🚀

Filipe Baptista filipebatista

🚀
View GitHub Profile
@filipebatista
filipebatista / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@filipebatista
filipebatista / Example2.kt
Created July 17, 2019 14:19
Type Aliases
typealias Credentials = Pair<String, String>
val myCredentials = Credentials("myUsername1","myhashpassword1")

Keybase proof

I hereby claim:

  • I am filipebatista on github.
  • I am filipebaptista (https://keybase.io/filipebaptista) on keybase.
  • I have a public key ASCYTZF3gcM4itfc6b7YSDH_Hjrkx5HG9hwa8RKdj0XPNgo

To claim this, I am signing this object:

@filipebatista
filipebatista / RubberBandSlider.kt
Created April 29, 2024 10:44 — forked from KlassenKonstantin/RubberBandSlider.kt
Rubber Band Slider Compose
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
WindowCompat.setDecorFitsSystemWindows(window, false)
super.onCreate(savedInstanceState)
setContent {
RubberBandSliderTheme {
Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) {
Box(contentAlignment = Alignment.Center) {
RubberBandSlider(modifier = Modifier
.height(200.dp)