Learning On Demand Learning anything from anywhere

Archive for March, 2008

Internal Server Error

03.25.2008 · Posted in Blog

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@rasyid.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ...

PHP OO tutorials

03.21.2008 · Posted in PHP

Best way to learn scripting / program is easy. Just write the code and see the result. With the progress of OOP approach in field recently for our team make its ‘hard’ to adapt such change in mindset : Procedural vs Object Oriented Programming With case codeiginter,  we must learn the basic of OOP in ...

GNS3 0.4 released !

03.20.2008 · Posted in Cisco

From gns3.net : The GNS3 0.4 release is available. It includes lot of new features and improvements, among them: A dynamic mode (no design/emulation modes) A new .net save/load. c1700 and WICS support. PIX emulation. Dynamips’s ATM bridge. Capture feature for links from the GUI. IDLE PC calculation from the GUI. GUI improvements (save the ...

nl2br, new line to br

03.20.2008 · Posted in PHP

I just forget this function when my friend ask me about strangeness in his data he store in mysql. He has address data in <textarea></textarea>, new line not converted to br as he thing. He just see all the input just store in single line. After search for a while I remember this gold function ...

portupgrade don’t work

03.18.2008 · Posted in Unix

ftp# csup -g -L2 ports-supfile ftp# cd /usr/ports/ ftp# make fetchindex ftp# portversion -v | grep ‘<’ /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill’: MOVED file format error (PortsDB::MOVEDError)         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup’         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in ...

Clonezilla Live 1.0.9-19 is out, partition plus cloning in one

03.15.2008 · Posted in distro news, Linux

From release information : This release is a bug fixed one with some minor updates.  - Bug fixed: memtest, freedos and etherboot were not listed in syslinux boot  - Bug fixed: cciss RAID device restoration was broken.  - Bug fixed: When "ocs-iso -s" or "ocs-live-dev -c -s" was run in Clonezilla live, etherboot and freedos ...

Yearly tax for my car

03.13.2008 · Posted in Home

I can’t believe it, time  pay  tax for my car  will be come very soon. I have to make sure the deadline in my agenda since I have bad experience with my memory. Last year I forgot to pay and one month late for payment. To many job queue make me busy enough and bad ...

PCBSD 1.5 is out, get faster in 64 bit

03.13.2008 · Posted in Unix

From PCBSD press release : iXsystems Announces Release of PC-BSD Version 1.5, Edison Edition Release features AMD 64-bit as well as 32-bit processor support   iXsystems announced today the release of PC-BSD Edison Edition. PC-BSD is a fully functional open source desktop operating system based on FreeBSD 6.3-STABLE. FreeBSD is one of the most used ...

Upgrade Dovecot 1.0.10 to 1.0.13

03.11.2008 · Posted in Unix

Recent ports update give old ports that need to update. Dovecot After upgrade to 1.0.13 mail# pkg_info | grep dovecot dovecot-1.0.13      Secure and compact IMAP and POP3 servers I see confirmation from dovecot : Warning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead Maybe I’m wrong, try ...

Enter Your ebay PID

03.09.2008 · Posted in Step By Step

Recently I’m installing wordpress plugin for getting ebay auction data called phpybaylite. As usual process for install the plugin in wp is easy except for finding information in plugin configuration : ebay PID After figure out the way, finally I can find my ebay PID, here’s the steps: 1. Login to cj account, pick ebay ...

php explode() and wordwrap()

03.03.2008 · Posted in PHP

Whats the different of explode() and wordwrap() ? Answer : just see this example for explode() <?php $birthday=’1998-12-11′; //we need to split the component to date, month and year $day_parts=explode(‘-’,$birthday); // we use – as tool to separate, now print $date_component=$day_parts[2]; $month_component=$day_parts[1]; $year_component=$day_parts[0]; ?> Wordwrap will ‘wrapping’ user input, like formatting crazy user who type ...