Skip to content

Instantly share code, notes, and snippets.

@Luuk3333
Luuk3333 / spotify-calculate-most-skipped-tracks.py
Last active May 23, 2024 10:52
Calculates your most skipped Spotify songs
import json
import os
#
# Place this script in spotify data request > MyData directory.
#
THRESHOLD = 3000 # time in milliseconds to determine a 'skip'
AMOUNT = 100 # amount of skipped tracks to display
@Luuk3333
Luuk3333 / nederland-buienradar-sneeuw.py
Last active June 10, 2018 23:10
Python scripts to download buienradar.nl images.
import os
import arrow
import urllib
import zipfile
import time
# get times
timezone = 'Europe/Amsterdam'
timestamp_format = 'YYYY-MM-DD_HH-mm-ss'
log_timestamp_format = "YYYY-MM-DD HH:mm:ss.SSS ZZ"