Wednesday, December 17, 2008

writing excel from php & reading

this PEAR library is great for generating .XLS... many features...

http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.php

to read .XLS, I use a library I downloaded somewhere, please ask me if you are interested

ming

ming is a great thing if you want to generate Flash from PHP (4 or 5)

Thursday, December 4, 2008

adding script to linux boot using chkconfig

this is a really great feature of chkconfig

one has just add two lines to the script:

Using this script, Oracle 8 can be started with the “start” argument and terminated with the “stop” argument. This meets the minimum requirements of an initscript that can be used in conjunction with the launch script /etc/rc.d/rc.

Place the script in /etc/rc.d/init.d and run (as root)

chmod +x /etc/rc.d/init.d/oracle

to make the script executable. If you are concerned about normal users seeing the script, you could try more restrictive file permissions, as long as the script is executable by root as a standalone script.

Notice the two comments lines in the script:

#chkconfig: 2345 80 05
#description: Oracle 8 Server

then execute command: chkconfig --add oracle

this was taken from: http://www.linuxjournal.com/article/4445


just great !

bandwidth shaper

this is a good piece of work, that 'shapes' the bandwidth, for it not to be clogged with many requests...

it seems to really improve TCP/IP experience...

http://lartc.org/wondershaper/

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...