Skip to content

Instantly share code, notes, and snippets.

View iamdejan's full-sized avatar
🎯
Focusing

Giovanni Dejan iamdejan

🎯
Focusing
  • 10:13 (UTC +07:00)
View GitHub Profile
@iamdejan
iamdejan / main.py
Last active May 20, 2022 15:40
Simple API v0.1
import time
from fastapi import FastAPI
app: FastAPI = FastAPI()
@app.get("/version")
def get_version() -> str:
time.sleep(15)
return "v0.1"
@iamdejan
iamdejan / Engineering Manager Resources.md
Last active June 12, 2025 23:54
Engineering Manager Resources
@iamdejan
iamdejan / portfolio-website-101.md
Last active June 10, 2022 15:54
Portfolio Website 101

Portfolio Website 101

Static Site Generators

Tutorials

val number = 7
println(number.inv()) // will print -8
@iamdejan
iamdejan / BitInversion.java
Created February 10, 2022 04:11
Bit inversion in Java
int number = 7;
System.out.println((~number)); // will print -8
@iamdejan
iamdejan / Next Project Ideas.md
Last active April 23, 2022 17:36
Next Project Ideas
if(isChecked) {
tvTodoTitle.paintFlags = tvTodoTitle.paintFlags or Paint.STRIKE_THRU_TEXT_FLAG
} else {
tvTodoTitle.paintFlags = tvTodoTitle.paintFlags and Paint.STRIKE_THRU_TEXT_FLAG.inv()
}
@iamdejan
iamdejan / Movie Production Resources.md
Last active July 15, 2021 16:14
Movie Production Resources
@iamdejan
iamdejan / Game Development Resources.md
Last active March 13, 2026 03:04
Game Development Resources
@iamdejan
iamdejan / main.go
Last active May 1, 2021 06:39
Haversine Distance calculator
package main
import (
"fmt"
"math"
)
const earthRadiusKM = 6371.0
type Location struct {