Monday, May 17, 2010

Apache can't restart

1. sudo gedit /etc/apache2/httpd.conf
(It will be blank file.)

2. ServerName localhost

3. sudo /etc/init.d/apache2 restart

CSS 2 & 3 cheat sheet

CSS3
http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/05/CSS3-Help-Sheet-large1.jpg


CSS2
http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/05/CSS-Help-Sheet-large.jpg

Thursday, May 13, 2010

intel 5100 wireless with ubuntu 10.04

It looks like that there is a problem with wireless again in ubuntu 10.04 may be kernel?


I founded this solution and it looks work fine.

sudo nano /etc/modprobe.d/options.conf
And add the following to it.
options iwlagn 11n_disable=1 11n_disable50=1
After that, reboot your system.

Monday, May 3, 2010

open evince in firefox

application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
repeat noisy swallow(evince) fill: evince "$file"
    ACROREAD()
    repeat noisy swallow(kpdf) fill: kpdf "$file"
    repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
    repeat noisy swallow(okular) fill: okular "$file"
    GV()
#for open in firefox
    repeat noisy swallow(evince) fill: evince "$file"
    #for old config
    #repeat noisy fill exits: evince "$file"