Skip to content

Instantly share code, notes, and snippets.

@AbsoluteDestiny
AbsoluteDestiny / 01. Download Locations for FFmpeg.md
Last active March 16, 2023 12:54
Some FFMpeg commands I need to remember for converting footage for video editing. http://bit.ly/vidsnippets
@AbsoluteDestiny
AbsoluteDestiny / singleserve.py
Last active December 22, 2015 04:49
Single file server example using bottle.py
from __future__ import print_function
import os
import sys
from bottle import Bottle, static_file, run
if __name__ == "__main__" and len(sys.argv) > 1:
f = os.path.abspath(sys.argv[1])
if not os.path.exists(f):
raise Exception("File not found: {}".format(f))