Skip to content

Instantly share code, notes, and snippets.

View DearDhruv's full-sized avatar
👨‍💻
Making lives better for Apps & Commerce

Dhruv Patel DearDhruv

👨‍💻
Making lives better for Apps & Commerce
View GitHub Profile
@bmc08gt
bmc08gt / DateExtensions.kt
Last active April 18, 2023 20:03
Helpful extensions for java.util.Date
import java.text.SimpleDateFormat
import java.util.*
import java.util.concurrent.TimeUnit
import kotlin.math.round
val now: Date = Date()
val Date.daysFromToday: Long
get() {
val msDiff = now.time - this.time
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active July 20, 2024 16:44
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\