Tuesday, May 29, 2007

make fonts to be smooth in kubuntu linux

emacs /home/user/.fonts.conf


<?xml version="1.0″ ?>

<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<fontconfig>

<match target="font">

<edit name="autohint" mode="assign">

<bool>true</bool>

</edit>


</match>

</fontconfig>

Wednesday, May 16, 2007

View user defined function in postgresql

Once you have written your function you may view its definition in pg_proc. EG

select * from pg_proc where proname='myFunction';