Skip to content

Instantly share code, notes, and snippets.


Christopher Pietsch cpietsch

View GitHub Profile
alecjacobson /
Last active Nov 19, 2020
Remove background audio noise from a video clip via the command line (using ffmpeg and sox)
if [ -z "$2" ];then
echo 'USAGE:
denoise [ambient-noise-start-time] [ambient-noise-duration] [sox-noisered-amount] [sox-norm-param]
gka / .gitignore
Last active Nov 29, 2020
covid19 berlin cases
View .gitignore
veltman /
Last active Sep 27, 2019
Making a big image zoomable

Making a big image zoomable

When you have a giant image and you want to make it easy to pan and zoom without downloading the whole 50MB image into someone's browser, a nice workaround is to cut that image into tiles at different zoom levels and view it as it were a map. An example where I've used this technique is The "Snowpiercer" Scenario.

One way to cut your big image into the requisite tiles is with

Alternatively, this Node script will do the cutting after you install node-canvas and mkdirp:

const fs = require("fs"),
You can’t perform that action at this time.