Skip to content

Instantly share code, notes, and snippets.

@GuglioIsStupid
GuglioIsStupid / randomize_mus_files.py
Last active July 10, 2025 21:44
A simple script that creates a backup and shuffles all the music in a certain folder. Theoretically this can be used for anything, but made with DELTARUNE in mind (https://x.com/Xinerted/status/1943399709269197176). TO USE: Put this script next to the mus folder and execute it.
import os
import shutil
import random
from pathlib import Path
TARGET_FOLDER = "mus"
AUDIO_EXTENSIONS = {'.ogg'}
def get_music_files(folder):
return sorted([
#!/usr/bin/env python3
# Download your data dump and place this file in the messages folder of your data dump.
# Then run it!
from datetime import datetime, timedelta, timezone
import dateutil.parser
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import matplotlib.dates as mdates
import csv
@GuglioIsStupid
GuglioIsStupid / gist:ea933170b9718d82faa9552ad20adb2b
Created February 3, 2023 23:52 — forked from pvieito/gist:ee6d2c8934a8f84b9aeb467585277b8a
Consumer keys of official Twitter clients

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for Google TV

Consumer key: iAtYJ4HpUVfIUoNnif1DA