Skip to content

Instantly share code, notes, and snippets.

debility debility

Block or report user

Report or block debility

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@debility
debility / apache_config_converter.sh
Created Jan 4, 2012
apache config converter v0.1.1
View apache_config_converter.sh
#!/bin/sh
CONFIG_FILE="/etc/httpd/conf/httpd.conf"
DATE=`date '+%Y%m%d'`
if [ -f "${CONFIG_FILE}.orig.${DATE}" ]; then
echo '(maybe)apache config file is already converted. :-P'
exit
fi
View gist:1508890
File:
CentOS 5.7 i386 20GB (gzipped -> 649MB)
use File::Copy;
copy($baseImageFileName, $imageFileName);
real 6m34.418s
user 0m0.394s
sys 0m47.059s
You can’t perform that action at this time.