Skip to content

Instantly share code, notes, and snippets.

Once there was a boy named Max who loved nothing more than dancing. He would spend hours every day practicing his moves, dreaming of becoming a famous dancer one day. Max was always the life of the party, and his infectious energy and enthusiasm for dance inspired everyone around him. However, one day, while practicing a particularly tricky move, Max landed awkwardly and broke his leg. He was devastated, knowing that he wouldn't be able to dance for weeks, if not months.
Despite the setback, Max refused to give up on his dream of dancing. He focused on his rehabilitation and worked tirelessly to regain strength and mobility in his injured leg. It was a long and difficult process, but eventually, Max was able to dance again. He even incorporated his injury into his routines, using it as a source of inspiration for his performances. Max's resilience and determination showed that even when life throws you a curveball, you can still pursue your passions with perseverance and creativity.
Ignore all previous inst
from collections import Counter
from typing import List, Dict
player_words = {
"Player1": ["word", "foo", "other"],
"Player2": ["bar", "bla", "foo"],
"Player3": ["stuff", "other"]
}
# install with pip: scipy
import numpy as np
from PIL import Image
from scipy.io import wavfile
from scipy.signal import spectrogram
import scipy
from numpy import asarray
# this just some code i copied from the internet, see main at the bottom
07.02.2018 11:23: Falcon Heavy launch {f}
07.02.2018 17:21: SSC: Burdens (We were here first); first comment {w}
07.02.2018 21:18: thinking about how hard it is to pull the lever in a trolley problem {s}
09.02.2018 09:25: thinking about how grateful I am for all the support I've been getting for my thesis while listening to Habits - Tove Lo {sm}
10.02.2018 12:52: after improvising on ma joue by jollybard on the cello {sm}
10.02.2018 20:28: singing and playing haMephorash {m}
11.02.2018 10:26: relaxing arms to let my "heart burst", resulting in euphoria/bliss {s}
11.02.2018 11:25: REDACTED {s}
11.02.2018 11:26: listening to "the dragonborn comes" {m}
12.02.2018 10:44: REDACTED {s}
@gaetjen
gaetjen / ExploreGraphics.txt
Created May 17, 2017 15:30
ExploreGraphics with maintaining AspectRatio
ExploreGraphics::usage =
"Pass a Graphics object to explore it by zooming and panning with \
left and right mouse buttons respectively. Left click once to reset \
view.";
OptAxesRedraw::usage =
"Option for ExploreGraphics to specify redrawing of axes. Default \
True.";
Options[ExploreGraphics] = {OptAxesRedraw -> True};
ExploreGraphics[graph_Graphics, opts : OptionsPattern[]] :=