Skip to content

Instantly share code, notes, and snippets.

View RizaMamedow's full-sized avatar
😁
Very Funny

Krugleshock RizaMamedow

😁
Very Funny
View GitHub Profile
@JaysonChiang
JaysonChiang / api.ts
Last active June 13, 2024 06:49
Example of Axios with TypeScript
import axios, { AxiosError, AxiosResponse } from 'axios';
import token from './somewhere';
interface Todo {
id: string;
title: string;
}
interface User {
id: string;
@t-artikov
t-artikov / MainActivity.kt
Created October 11, 2020 11:31
Jetpack Compose counter example
package com.example.compose
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.Text
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.*