Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am elcct on github.
  • I am elcct (https://keybase.io/elcct) on keybase.
  • I have a public key ASBqi8V8fYqokfeIhP6Y2DeLLtoQFkU_saNmMAAMTAbiLQo

To claim this, I am signing this object:

#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
@elcct
elcct / gist:7698ce982581fadcfa09
Created June 9, 2014 16:11
apt-get-repository.sh
#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
ppa_name=`echo "$1" | cut -d":" -f2 -s`
if [ -z "$ppa_name" ]
then
echo "PPA name not found"
echo "Utility to add PPA repositories in your debian machine"