Posts

Showing posts from 2010

sottwell.com - Data Grid II

This information specifically pertains to ExtJS grids and configuration. Nifty little loading screen plus other tips in this example. sottwell.com - Data Grid II : "loadMask - this enables or disables the optional 'Loading...' message and translucent grey screen overlay while loading data. It's a nice 'Web 20' kind of touch."

Find file by name

find -name "httpd*"

Restart Apache 2

Command to restart apache2 on my development server. /etc/init.d/apache2 restart

Running log view

Show mysql errors: tail -f /var/log/mysql/mysql-error.log Show php errors: tail -f /var/log/apache2/error.log Paths specific to my development server.

Show large files - Linux

Specify the directory to list large files in du -h | grep '[0-9]G' and it will output size in GB and the path. Like so: 77G /var/lib/mysql 77G /var/lib 68G /var/log/mysql 69G /var/log 146G /var