This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import spotipy | |
from spotipy.oauth2 import SpotifyOAuth | |
from datetime import datetime, timezone | |
import logging | |
from logging.handlers import TimedRotatingFileHandler | |
from collections import defaultdict | |
def save_playlist_and_last_seen_data(spotify): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TheSubDB Python SDK | |
# Copyright (C) 2020 Ritam Dey | |
import requests | |
from hashlib import md5 | |
from os import path | |
import os | |
class SubtitleNotFound(Exception): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
# Updated to be used with Python 3 by Ritam Dey (deyritam27031999@gmail.com) | |
import sys | |
import struct | |
import socket | |
import time |