Skip to content

Instantly share code, notes, and snippets.

View Temerold's full-sized avatar

Temerold Temerold

View GitHub Profile
@Temerold
Temerold / heart_all.py
Created February 20, 2024 13:34
Like all Spotify tracks in a playlisy
from spotipy import Spotify
from spotipy.oauth2 import SpotifyOAuth
from yaml import full_load
if __name__ == "__main__":
with open("config.yaml", "r") as file:
config = full_load(file)
client_id = config["client_id"]
client_secret = config["client_secret"]
@Temerold
Temerold / LICENSE
Last active January 8, 2024 19:42
Attribution 3.0 Unported (CC BY 3.0) [Modified text]
Creative Commons
Attribution 3.0 Unported
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT
RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS.
CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND
DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
License
from math import ceil, floor
from itertools import product
def reset_cards():
return [str(v + 2) for _, v in product(range(4), range(13))]''
def continuedError(type, message):
try: