Search

Rss Posts

Rss Comments

Login

 

gz unzip gz file from php

Dec 21

php example code
read all »

Analyse Logging commands for debian linux

Sep 23

http://stackoverflow.com/questions/473998/tool-or-language-to-count-occurrances-of-errors-in-a-log-file

read all »

Apache2ctl configtest debian apache

Sep 04

How to test debian config in apache ? in debian ?
mnake read all »

find files of some user (linux)

Aug 12

find / -user forumcv

Starting PostgreSQL 8.3 database server: mainThe PostgreSQL server failed to start.

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 »

auto replace text in files

Jul 04

sed -i 's/\$HTTP_\(.*\)_VARS/\$_\1/g' filename.php

IE7 CSS Hacks

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 */

Debian autoreboot after kernel.panic /etc/sysctl.conf

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

nginx alias-location for phpmyadmin

Apr 26

read all »

Install truecript in debain

Apr 22

cd /tmp read all »

 
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
23 queries. 1.207 seconds.