Skip to content

Instantly share code, notes, and snippets.

View xdamman's full-sized avatar
🌍
🌱🌻

Xavier Damman xdamman

🌍
🌱🌻
View GitHub Profile
# Add this to your ~/.bash_profile
# Now you can just type in terminal storifydev
# It will start mongod, redis-server, chdir to your working dir, open textmate, and launch Chrome
function storifydev() {
STORIFY_DIR="/Users/xdamman/Dropbox/github/storify"
sudo rm /data/db/mongod.lock
echo "Starting MongoDB"
sudo mongod > /dev/null &
echo "Starting Redis"
redis-server> /dev/null &

Compile avconv on Ubuntu

This guide supports Ubuntu Precise Pangolin 12.04, Ubuntu Oneiric Ocelot 11.10, Ubuntu Natty Narwhal 11.04, and Ubuntu Maverick Meerkat 10.10. Separate guides are available for Ubuntu Lucid Lynx 10.04 and Ubuntu Hardy Heron 8.04. This guide will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the Filtering Guide).

Note: Copy and paste the whole code box

Keybase proof

I hereby claim:

  • I am xdamman on github.
  • I am xdamman (https://keybase.io/xdamman) on keybase.
  • I have a public key whose fingerprint is 44A7 D05F F1F6 D0B8 0F79 15A6 1426 1B13 FD43 0CDC

To claim this, I am signing this object: