Archive for 8th January 2010

Memory use error while updating WordPress

When I update WP automatically at backend, I often get an error
“Fatal error: Allowed memory size of …”
to say the memory usage is beyond a limit. The solution is simple. SSH to the server and edit the wp-config.php as following,

Continue reading ‘Memory use error while updating WordPress’ »

Give your bash job a progress bar

It’s always nice to get notified about the status of a long job, e.g. copying a huge file via a not-that-fast network. For GUI programs, normally you get a progress bar, but we have no such luxury under bash. But wait, here is a nice bash script can do that. It works pretty well. You will find it useful in many places.

Continue reading ‘Give your bash job a progress bar’ »