Archive for February, 2012

RAID Calculator

By technese - Last updated: Monday, February 27, 2012

http://www.ibeast.com/content/tools/RaidCalc/RaidCalc.asp http://www.icc-usa.com/raid-calculator.asp

bash shell tips for filenames

By technese - Last updated: Sunday, February 12, 2012

# remove empty files rm -f $(find . -empty) # change all filenames from upper to lower case rename ‘y/A-Z/a-z/’ * # change all filenames from spaces to underscores find -name “* *” -type f | rename ‘s/ /_/g’

lighttpd – enable or disable directory listing individually

By technese - Last updated: Friday, February 3, 2012

Edit lighttpd.conf Note: You may also remove (|$|/) to allow a wildcard||| Enable directory listing for /foldername/ $HTTP[“url”] =~ “^/foldername(|$|/)|” { dir-listing.activate = “enable” } OR Disable directory listing for /foldername/ $HTTP[“url”] =~ “^/foldername(|$|/)|” {dir-listing.activate = “disable” } #Restart lighttpd $ /etc/init.d/lighttpd restart Source:http://www.cyberciti.biz/tips/howto-lighttpd-enable-disable-directory-listing.html