Skip to content

Instantly share code, notes, and snippets.

View needToRoll's full-sized avatar

Florian Bürgi needToRoll

  • Bundesamt für Informatik und Telekommunikation BIT
  • Bern, Switzerland
View GitHub Profile
import kotlin.math.pow
fun main(args: Array<String>) {
println(solveDay07Part1("07.txt"))
println(solveDay07Part2("07.txt"))
}
val DECK_OF_CARDS = setOf(
'2', '3', '4', '5', '6', '7', '8', '9', 'T', 'J', 'Q', 'K', 'A'
)
@needToRoll
needToRoll / dateStructure_generic.py
Last active January 24, 2022 18:42
Python learning example for teaching eipr
day = 153
month = 17
year = 2023
## Funktioniert für jeden Input
def structureDate(day, month, year):
if len(str(day)) == 1:

Keybase proof

I hereby claim:

  • I am needToRoll on github.
  • I am needtoroll (https://keybase.io/needtoroll) on keybase.
  • I have a public key whose fingerprint is 3AA6 9489 80C6 9FF9 40EE 7A3E 8410 09CE F5A0 A2B3

To claim this, I am signing this object:

{
"id": 1,
"value": 5.0,
"weight": 2.0,
"groupId": 1
}
spring.profiles: development
spring.profiles.include:
- load_test_data
- disable_auth_filter
- basic_auth_security_mock
- h2_database_with_console
---