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 | |
if [ ! -d bye ] | |
then | |
mkdir bye | |
fi | |
if [ ! -d lib ] | |
then | |
mkdir lib | |
fi | |
file=$(find ./ -type f ! -name "ffmpeg*" | sort | head -1) |
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
Configuring Apache2 for webhosting multiples of websites on one ip address by using | |
Apache2's "Name-Domain-Based" virtual hosting websites. | |
This httpd.dat holds configurations for 2 websites, simply copy lines between | |
<VirtualHost *:80></VirtualHost>. | |
BIG EMPHASIS TO LEAVE *:80 untouched or whole system will fail. | |
you will see ## EDIT THIS ## which define the line that you can | |
edit whatever you like accordingly. But any lines without that notch, |
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
This is based on https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide and this script is revised a little bit so it'd recompile h246 into libav before compiling FFMPEG. | |
Bash shell script | |
Ubuntu 12.04 12.10 13.04 13.10 | |
x64 = success | |
x32 = debugging | |
Location of build: /home/yourhome/ffmpeg_src |
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 | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
NewerOlder