This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
if [ "`/usr/bin/whoami`" == "root" ]; then | |
echo "You should not execute this script as root." | |
exit 1 | |
fi | |
INSTALL_DIR="/tmp/ffmpeg-source" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* a simpler version of debug_backtrace() | |
* | |
* @param boolean $show_args Pass true to display argument values in the output | |
* @param boolean $expand_objects when $show_args == true, pass true to expand object values, default to false to avoid over-verbosity | |
* | |
*/ | |
function simple_backtrace( $show_args = false, $expand_objects = false ) | |
{ | |
$tracers = debug_backtrace(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Python | |
# | |
# This will install the latest python 2.x branch via | |
# Homebrew, install virtualenv and virtualenvwrapper packages | |
# globally via pip, then create a base virtual environment under | |
# the branch and install the packages in requirements.txt | |
# | |
# alternate version that does not depend on virtualenvwrapper is |