Skip to content

Instantly share code, notes, and snippets.

View Askeri-Muhendis's full-sized avatar
🎯
Odaklanma

İbrahim Ethem Şen Askeri-Muhendis

🎯
Odaklanma
View GitHub Profile
@Askeri-Muhendis
Askeri-Muhendis / cities_of_turkey.json
Created January 23, 2023 09:00 — forked from ozdemirburak/cities_of_turkey.json
List of cities in Turkey presented in JSON format with the information of name, latitude, longitude, population and region.
[
{
"id": 1,
"name": "Adana",
"latitude": "37.0000",
"longitude": "35.3213",
"population": 2183167,
"region": "Akdeniz"
},
{
@Askeri-Muhendis
Askeri-Muhendis / sealed_model
Last active August 14, 2022 11:09
sealed_model
sealed class Resource<T>{
class Success<T>(val data : T) : Resource<T>()
class Error<T>(val errorCode : Int,val errorMessage : String) : Resource<T>()
class Exception<T>(val exception : Throwable) : Resource<T>()
}