I hereby claim:
- I am humayung on github.
- I am cornoblue (https://keybase.io/cornoblue) on keybase.
- I have a public key ASCB4tJb3L1eDSV5H3JiHJRdSOhokawrX2hOKn9uvu4wmgo
To claim this, I am signing this object:
// this is our snackbar provider. It acts as a "portal" to our snackbar state | |
val LocalSnackbarProvider = staticCompositionLocalOf<SnackbarHostState> { | |
error("No local provider for snackbar") | |
} | |
// wrap your root composable with this | |
@Composable | |
fun SnackbarProvider(content: @Composable (SnackbarHostState) -> Unit) { | |
val snackbarHostState = remember { |
/** | |
* Copyright 2024 https://gist.github.com/Humayung/30623f3fed1e07794cc01a98c2fae97f | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
* and associated documentation files (the “Software”), to deal in the Software without restriction, | |
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
* subject to the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be included in all copies or |
/** | |
* Copyright 2024 http://github.com/humayung | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
* and associated documentation files (the “Software”), to deal in the Software without restriction, | |
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
* subject to the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be included in all copies or |
package id.co.components | |
import androidx.annotation.FloatRange | |
import androidx.compose.animation.core.Animatable | |
import androidx.compose.animation.core.AnimationSpec | |
import androidx.compose.animation.core.EaseInBounce | |
import androidx.compose.animation.core.EaseOutElastic | |
import androidx.compose.animation.core.FiniteAnimationSpec | |
import androidx.compose.foundation.clickable | |
import androidx.compose.foundation.interaction.MutableInteractionSource |
final int WIDTH = 683; | |
final int HEIGHT= 384; | |
public void settings(){ | |
size(WIDTH, HEIGHT, P2D); | |
} | |
public void printf(Object o){ | |
System.out.println(o); | |
} |
import requests | |
API_ENDPOINT = "https://api.telegram.org/botXXX:YYY/sendMessage" | |
message = input('Enter Message:') | |
data = {'chat_id' : 'zzzzzzzzzz', | |
'text' : message | |
} | |
r = requests.post(url = API_ENDPOINT, data = data) | |
print(r) |
<form method=post> | |
<input type=text name='input_message'> | |
<input type=submit value='send'> | |
</form> | |
<?php | |
if($_POST){ | |
function sendMessage($message){ | |
if($message != ''){ |
#include <iostream> | |
#include<bits/stdc++.h> | |
using namespace std; | |
int main(){ | |
int n; | |
cout << "Program mencari elemen terbesar dari sebuah larik integer"<<endl; | |
cout << "Masukkan panjang array (N)"<<endl; | |
cin >> n; | |
int a[n]; |
I hereby claim:
To claim this, I am signing this object: