Skip to content

Instantly share code, notes, and snippets.

View leingang's full-sized avatar

leingang

  • Department of Mathematics, Courant Institute of Mathematical Sciences, New York University @nyumathclinic
  • New York, New York
View GitHub Profile
@leingang
leingang / gist:3aa194c0de590dbbdc238c8f353875c9
Last active July 9, 2022 14:40 — forked from davidwebca/gist:e26186b8f4c6795b19c043fffb6f9861
Detect black screen and split with ffmpeg remux
#!/bin/bash -x
# Splits video to separate scenes files when full black frames are found in the video
# Forked from https://gist.github.com/davidwebca/e26186b8f4c6795b19c043fffb6f9861
# Inspired by https://gist.github.com/achesco/4dc2ebf13378a0a61fc26c7fe01f539e
# Who got inspired by https://stackoverflow.com/a/38205105
file=""
out="."
dur=2.00
@leingang
leingang / only.tex
Last active August 29, 2015 14:11 — forked from anonymous/only.tex
\documentclass{beamer}
% http://tex.stackexchange.com/q/217628/1402
\begin{document}
\begin{frame}{Uncover}
\begin{itemize}
\item<1> a really long item, which takes up almost the entire page
\item<2> another item
\item<3> yet another one
\end{itemize}