gz unzip gz file from php
Dec 21
php example code
read all »
Sep 23
http://stackoverflow.com/questions/473998/tool-or-language-to-count-occurrances-of-errors-in-a-log-file
Sep 04
How to test debian config in apache ? in debian ?
mnake read all »
Jul 21
Starting PostgreSQL 8.3 database server: mainThe PostgreSQL server failed to start. Please check the log output: 2011-07-21 18:34:55 EEST FATAL: unsafe permissions on private key file “server.key” 2011-07-21 18:34:55 EEST DETAIL: File must be owned by the database user or root, must have no write permission for “group”, and must have no permissions for “other”. failed!
failed! read all »
Jun 20
#mm .rollOver {
height: 165px; /* IE 6 & bellow */
}
html>body #mm .rollOver {
height: 163px; /* FF & Others */
}
*:first-child+html #mm .rollOver {
height: 165px !important; /* #%@#%(! IE 7 */
}
p.style { color:red; } /* IE7 */
* html p.style { color:blue; } /* Other IE */
*|html p.style { color:pink; } /* FF, Opera, Konqueror, Safari */
#ie7-hook-id div[class^="target-class"] { background: #ff0000; }
div#ie7-hook-id .target-class { background: #0000ff; }
* div[class^="ie7-target-class"] { background: #ff0000; }
body .ie7-target-class { background: #0000ff; }
Valid CSS Selectors
* html {} /* IE 6 and below */
*:first-child+html {} * html {} /* IE 7 and below */
*:first-child+html {} /* IE 7 only */
html>body {} /* IE 7 and modern browsers only */
html>/**/body {} /* Modern browsers only (not IE 7) */
html:first-child {} /* Recent Opera versions 9 and below */
Jun 11
echo ‘kernel.panic = 20′ >> /etc/sysctl.conf
sysctl -p
or
echo 10 > /proc/sys/kernel/panic
or
echo “10″ > /proc/sys/kernel/panic
so if kernel.panic happents, system will reboot automaticaly in 10 sec