auto and eth

Linux dns 2.6.15-26-server #1 SMP Thu Aug 3 04:09:15 UTC 2006 i686 GNU/Linux dnspct@dns:~$ # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth1 iface eth0 inet static address netmask 255.255.yyy.0 network broadcast 172.88.17.yyy iface eth1 inet static address netmask network broadcast …


VirtualBox 1.6

Shame on me, not visiting VirtualBox for long time make my mind make tiny error in making conclusion. This project is dead. I’m totally wrong of course VirtualBox 1.6 already released. Click here to download Some interesting feature in VirtualBox after acquisition by Sun : Solaris and Mac OS X host support Seamless windowing for …


change wordpress password manually

Reset wordpress password using provided link not work, sadly no phpmyadmin available Fortunately I have shell access which is enough, using built in md5 function to generate and update the password, here’s the steps: 1. Creating md5 – Using shell Just type : md5 -s your chosen password – Make php script with this content …


$this and php

Little mistake on naming variable make me confuse for almost an hour. $this yes, $this is built-in variable that often use in OOP. By using $this, we refer to self referencing variable. More in manual <?php class A { function foo() { if (isset($this)) { echo ‘$this is defined (‘; echo get_class($this); echo “)\n”; } else { echo “\$this is not defined.\n”; } } …


Install PHP6, easy install in windows

PHP6, I thought I already have latest one. 5.2.6 but I’m wrong Quick way to try PHP6 is by installing Appserv 2.6.0, click here to download php 6.0.0-dev Installation process is the same as other appserv series : 1. Double click installer

MySQL and Null

Just for my own record, dealing with Null type field. Checking with : select * from tablename where field1=”  -> this one not work select * from tablename where field1=’Null’ -> same too is null is the answer select * from tablename where field1 is null Save my day, thanks to St4r

Update to Windows XP Service Pack 3

Run a smooth and hassle free operating system is a dream of everyone who use windows as their daily friend including me. I wrote this post as result of my friend fear. She deny to update her windows installation because she afraid and want to see it in screenshot mode. 1. Download Windows XP SP3 …


Setting path for PHP CLI

What is that for? my friend asked my a question after lunch. Well, install php using file from don’t automatically set environment path for php location. As result we must type full location of php.exe each time we must execute php from command line. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. …


Mysql Trigger Tutorial and Tools

Deal with gammu and mysql make learn more about mysql feature in mysql 5.0 called trigger. Books always good to start with so I choose MySQL Stored Procedure Programming book to start with but others might help to for someone looking for practical solution in cookbook form etc : High Performance MySQL: Optimization, Backups, Replication, …


Copy Paste in Remote Desktop session

It’s not work! I said that to my staff when I copy his file and try to paste it on my computer using remote desktop. After look around in the option finally I can see my mistake Here the steps to enable copy and paste operation in my windows xp  : 1. Open Remote Desktop …


uplcom, ucom and itegno on FreeBSD 7

New Itegno 3000 has arrived, plug it in my Windows XP working well. I wanna try in FreeBSD 7 server. Here’s the steps : 1. Detection Modem Activate uplcom monitor# kldload uplcom See detected modul in kernel: monitor# kldstat Id Refs Address    Size     Name  1   13 0xc0400000 9118d4   kernel  2 …


Custom Printing in MS Excel 2007

My bad, I always ask my staff about custom printing in Ms Excel 2007. I make this post  for case when I forgot I can refer to this post 1. Click Page Layout Tab 2. Click Size 3. Click On ‘ More Paper Size‘ 4. Finally, I got ‘Adjust to’. I need it to shrink …


101 FreeBSD jails

I just love ‘jail’ in FreeBSD, so many possibilty I can achieve with jails. I try to collect some links that I think useful : 1. Creating and Managing A Jailed Virtual Host in FreeBSD 2. djbDNS using FreeBSD jails 3. Jails and EZJail 4. Creating a FreeBSD Jail 5. Jailing MySQL and PostgreSQL on …


Updating My 6.3 release box

Use src for many times make me get surprised when using freebsd-update for fix is very easy. Simple though. mail# freebsd-update fetch Looking up mirrors… 1 mirrors found. Fetching metadata signature for 6.3-RELEASE from… done. Fetching metadata index… done. Fetching 2 metadata patches.. done. Applying metadata patches… done. Inspecting system… done. Preparing to …