Tuesday, October 21, 2008
Second instance of apache on another port
You are testing an Apache web application and it crashes... This is common for memory- or process-intensive tasks but a hassle if all the other websites served by Apache also go down.
Read on to learn how to launch a second instance of Apache in order for other websites to not be effected in the case of a crash.
Updated on 4:12PM Nov 21, 2008 | No comments
Tuesday, August 12, 2008
Shell script one-line find and replace
One line find and replace
find . -name '*.txt' -print0 |xargs -0 perl -pi -e 's/find/replace/g'
*.txt - files to find
find - pattern to find
replace - replace found pattern
Updated on 4:19PM Oct 10, 2008 | No comments
Monday, July 21, 2008
Restoring large MySQL backup files
Have you ever tried importing large MySQL backup files via PHPMyAdmin? If yes, you would probably have experienced timeout errors, and PHPMyAdmin will tell you to reload the page... but the same thing happens again. Care for the solution?
Updated on 10:07AM Jul 22, 2008 | No comments








