Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmhummel
jmhummel / 2020-05-22-classic.ipynb
Last active May 22, 2020 22:52
Riddle classic 2020-05-22
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmhummel
jmhummel / 2022-08-05-express.py
Created August 5, 2022 19:55
Riddler express 2022-08-05
import itertools
total = 0
count = 0
for s1, s2 in itertools.combinations(range(1, 7), 2):
sum_faces = s1 + s2
if sum_faces == 7:
continue # Opposite faces add up to 7
total += sum_faces
count += 1
@jmhummel
jmhummel / 2022-08-19-express.ipynb
Created August 19, 2022 17:37
Riddler express 2022-08-19
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmhummel
jmhummel / spotify-playlist-clustering-with-llm.ipynb
Created March 6, 2024 22:22
Uses an LLM to cluster songs from a playlist and create new one
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.