Skip to content

Instantly share code, notes, and snippets.


Malcolm Diller mdiller

View GitHub Profile
mdiller /
Created Jun 10, 2017
updates the botdata.json file to the new format
import json
from collections import OrderedDict
userinfo_defaults = OrderedDict([
("steam32", None),
("intro", ""),
("outro", "")
mdiller /
Created Feb 9, 2017
Python script for downloading the audio of a Youtube video, clipping a certain section of it, adding a slight fade in and out, and saving the clip to a file.
#example usage: "" later 44.3 46.3
import sys, re, subprocess, youtube_dl, os
if len(sys.argv) != 5:
print("usage: <youtubeurl> <outfilename> <starttime> <endtime>")
You can’t perform that action at this time.