Step by step installing VirtualBox in Windows XP

VirtualBox is another virtualization products for i386 family, from official site : Presently, VirtualBox runs on Windows, Linux and Macintosh hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista), DOS/Windows 3.x, Linux (2.4 and 2.6), and OpenBSD. If you get confuse …

More

Cisco simulator using dynamips

During waiting period for cisco router arrive in the lab, I’m looking for software which is able simulating cisco for student and myself like vmware that provide computer inside the computer. I’m lucky to find very interesting software : Dynamips From author site : The goals of this emulator are mainly: To be used as …

More

Show php error with ini_set()

Even experience php programmer can make mistake, since most of them are typo php error message then become valuable resource for debugging. By default, error message will show depend on error made, but in specific environment where tweaking in php.ini  has been made by system administrator. Such free hosting will do it for good. With …

More

Insert time in mysql using now()

Simple way to insert time information in mysql is using now() now() will automatically insert appropriate depends on type, let say we have field in mysql database in these format : 1. birth (date), now() will insert current date, ex: 2007-05-02 2. birth (datetime), now() will insert current date + current time, ex : 2007-05-2 …

More

cvs, cvsup, portsnap and csup

Progress in *BSD world is very fast, everyday patch released, program update etc to get that update via internet FreeBSD provide a few tools : cvs, not so familiar for beginner cvsup, very famous in FreeBSD, can update ports, source even for backup purpose portsnap, only for port update, in FreeBSD tree since 6.0 csup, …

More

find your program with “whereis”

Many linux distro build nowadays, each distro came with spesific purpose, server, workstation or desktop orientation but still not forget to give access to shell people who run “ifconfig” in mandriva will get confuse when run same command in fedora or maybe slackware “command not found” is common message just use “whereis” command for this …

More

Recreate FreeBSD ports build option

As big fan of FreeBSD ports, I like to play around with ports option, like when installing php4 I was prompted with a lot of build options : kongja# whereis php4 php4: /usr/ports/lang/php4 kongja# cd /usr/ports/lang/php4 then this ncurse option will popup ===> Found saved configuration for php4-4.4.6 ===> Extracting for php4-4.4.6

View crontab entries of entire user in FreeBSD

Cron is special utility that process command in periodic time such ; doing regular backup every night email special report every week etc cron access can be usefull but sometime not, depend on the command issued. As super user we can list all of entire user crontab entries using log locate in /var/log su-2.05b# tail …

More

no eth0 in FreeBSD?

Convention in Linux for network interface simple and clear. eth for cable connection ath or wifi for wireless connection l0 for loopback sample from my ubuntu feisty fawn box : alamsyah@alamsyah-laptop:~$ ifconfig -a ath0  Link encap:Ethernet� HWaddr 00:14:A4:70:02:3E inet addr:192.168.12.100� Bcast:192.168.12.255� Mask:255.255.255.0 inet6 addr: fe80::214:a4ff:fe70:23e/64 Scope:Link UP BROADCAST RUNNING MULTICAST� MTU:1500� Metric:1 RX packets:8945 errors:0 …

More

ZFS and FreeBSD current

Very interesting to see progress of ZFS in FreeBSD, comitted in FreeBSD 7 ( will release in 2007). This excellent job done by Pawel Jakub Dawidek with collaboration with opensolaris  for suitable patch . Many feature that ZFS offer that make me hard to blink till see last pages of presentation Pawel also give quick …

More

My Metacafe video

I almost forgot that I have account in metcafe.com, a place to publish your video, like youtube.com but with extra hit from powerfull  member community. Today, I just check my email  in google apps then see a few notification of new comment in my video. Wow, I found fantastic hit in one of my video. …

More

Leonardo da vinci curriculum vitae

I’m in a hurry when I heard little story about Leonardo da Vinci curriculum vitae, being curious I do some research and wikipedia gave good result : Leonardo’s Letter to Ludovico the Moor Most illustrious Lord, Having now sufficiently considered the specimens of all those who proclaim themselves skilled contrivers of instruments of war, and …

More

PHP Ternary Operator

PHP ternary operator isn’t beautiful for reading reason It’s also make confuse, but for the sake of simple it’s OK Syntax : ( expr1 ) ? ( expr2 ) : (expr3) If expr1 return true, then it evaluates to ( expr2 )If expr1 return false, then it evaluates to ( expr3 ) it’s similar to …

More