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
Python, IaC, algo trading, programming, server administration, Linux, PHP, CakePHP, PostgreSQL, MySQL, Joomla ...
Wednesday, December 17, 2008
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.
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/
it seems to really improve TCP/IP experience...
http://lartc.org/wondershaper/
Subscribe to:
Posts (Atom)
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...
-
I've been using WinScp and a script to compress files at maximum compressiĆ³n, name the file as name_YYMMDD-HHMM.rar, and send them to a...
-
tomado de: http://el-directorio.org/ErroresComunesPhpmyadmin ARREGLAR ERROR 1045 (28000): Access denied for user 'root'@'localho...
-
Styling Excel cells with mso-number-format mso-number-format:"0" NO Decimals mso-number-format:&quo...