Skip to content

Instantly share code, notes, and snippets.

@cmpute
cmpute / map_loader.py
Created May 16, 2021 03:18
Load and parse INTERACTION dataset
import enum
from io import RawIOBase
import os.path as osp
import xml.etree.ElementTree as xml
from collections import namedtuple
from pathlib import Path
from matplotlib import pyplot as plt
from matplotlib import cm, colors as mcolors
from itertools import islice, filterfalse
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active March 1, 2026 01:02
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: