Skip to content

Instantly share code, notes, and snippets.

View Override-6's full-sized avatar
🎯
Writing moshell's vm

Override-6

🎯
Writing moshell's vm
View GitHub Profile
@dianjuar
dianjuar / i3-shortcuts-screenshot.md
Last active April 10, 2025 17:28
My i3 shortcuts to take screenshots

Requirements

  • maim
  • xclip

Set-up

Set this on your i3 config file ~/.i3/config

# Screenshots
@BalmungSan
BalmungSan / Polymorphism.md
Last active January 30, 2025 18:34
Polymorphism in Scala.

Polymorphism in Scala

This document aims to show and compare three alternatives for achieving polymorphism in Scala.

  • Subtyping, common in object-oriented languages like Java.
  • Duck typing, common in dynamically typed languages like Python.
  • Typeclasses, common in functional languages like Haskell.

Additionally, when implementing the typeclass pattern in Scala,