Skip to content

Instantly share code, notes, and snippets.

View dirkvanrensburg's full-sized avatar

Dirk van Rensburg dirkvanrensburg

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dirkvanrensburg on github.
  • I am dirkvanrensburg (https://keybase.io/dirkvanrensburg) on keybase.
  • I have a public key whose fingerprint is 2633 EEC4 8C1B 0F79 DF5C 3853 0393 6B9C B9D8 25A5

To claim this, I am signing this object:

#!/bin/sh
# Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh
# and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
cat > /etc/yum.repos.d/centos.repo<<EOF