A big chapter of this life is the freedom of wheels

22 Jan Friday
I got my professional Australian license

23 Jan Saturday
Had my first drive with my wife in Baby’s Galore Taren Point

24 Jan Sunday
We went to the church and then purchase a GPS.
Had my first top-up of fuel in Caltex (Premium Petrol 98 RON).

26 Jan Tuesday
Had driven 120kms to Wollongong to celebrate Australia day with style =)
Had my first car noise when swerving at 100kph downhill.

I’m loving this freedom and very thankful

Wolfram Alpha is too academic and claustrophobic

Wolfram Alpha is probably a project designed by scientists that came from a science school.

It displays numbers, graphs, semantics and tables. I love how it presents information discovery like in the case of the term ‘apple’ where it displays the company and then the next option is about the fruit. I don’t know if it is using some form of page ranking or trending. Well apple as a brand is stronger compared to the fruit.

One other thing, I am stuck on the page and I get this feeling of being contained in a box. I guess it is backward to get all that I want from a single website. It feels like being in a library on your own with a huge book.

But then again, it is good to see an alternative to a growing behemont like Google. I just hope that this in not just a hype like Cuil.

Bushfire density map prototype

Note: This is purely for educational purposes only and there is no warranty for the validity of information. Hopefully there is someone out there who will refine the code for the community to utilise the technology effectively.

Data use: http://sentinel.ga.gov.au/GPX/hs00to12.gpx ; 16 Feb 2009 16:38 Sydney Time

Resources:

http://jeffreybarke.net/2008/07/density-map-tutorial/
http://sentinel.ga.gov.au/acres/sentinel/gpx_data.shtml

Recovering Windows XP Profile

After doing a windows install on existing OS, windows xp is not very good in using existing User Profiles.This also happens when joing a new Domain.

To recover the old profile so you can get Outlook data and other Application settings, open the Registry Editor

Run > regedit

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

You will get something like S-x-x-xx-xxxxx…

Change the ProfileImagePath to the directory of your old profile : ie %SystemDrive%\Documents and Settings\your_username

Vnc on Centos 5

useradd vncuser
passwd vncuser
yum groupinstall ” X Window System” “GNOME Desktop Environment”
yum install vnc-server

vi /etc/sysconfig/vncservers
VNCSERVERS=”1:vncuser”
VNCSERVERARGS[2]=”-geometry 1024×768 -nolisten tcp -nohttpd”

service vncserver start
chkconfig vncserver on /* auto start at boot */

vi /home/vncuser/.vnc/xstartup
exec gnome-session &

su vncuser
vncpasswd

tail -f /home/vncuser/.vnc/hostname:1.log
.vnc/xstartup: Permission denied

chmod + x /home/vncuser/.vnc/xstartup

service vncserver restart

Oracle 11g on Centos 5

Download oracle from here:
http://download.oracle.com/otn/linux/oracle11g/linux_11gR1_database_1013.zip

Post Installation Task
vi /etc/oratab
demo1:/u01/app/oracle/product/11.1.0/db_1:Y

oraenv /* use the database username during the install or SID */
ORACLE_SID = [root] ? demo1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle

Init for Database and Listenere
vi /etc/init.d/oracle
#!/bin/bash
#
# oracle Init file for starting and stopping
# Oracle Database. Script is valid for 10g and 11g versions.
#
# chkconfig: 35 80 30
# description: Oracle Database startup script

# Source function library.

. /etc/rc.d/init.d/functions

ORACLE_OWNER=”oracle”
ORACLE_HOME=”/u01/app/oracle/product/11.1.0/db_1″

case “$1″ in
start)
echo -n $”Starting Oracle DB:”
su – $ORACLE_OWNER -c “$ORACLE_HOME/bin/dbstart $ORACLE_HOME”
echo “OK”
;;
stop)
echo -n $”Stopping Oracle DB:”
su – $ORACLE_OWNER -c “$ORACLE_HOME/bin/dbshut $ORACLE_HOME”
echo “OK”
;;
*)
echo $”Usage: $0 {start|stop}”
esac

chmod +x /etc/init.d/oracle
chkconfig oracle on
service oracle start

Init for Enterprise Manager Database Control

vi /etc/init.d/oraemctl
#!/bin/bash
#
# oraemctl Starting and stopping Oracle Enterprise Manager Database Control.
# Script is valid for 10g and 11g versions.
#
# chkconfig: 35 80 30
# description: Enterprise Manager DB Control startup script

# Source function library.

. /etc/rc.d/init.d/functions

ORACLE_OWNER=”oracle”
ORACLE_HOME=”/u01/app/oracle/product/11.1.0/db_1″

case “$1″ in
start)
echo -n $”Starting Oracle EM DB Console:”
su – $ORACLE_OWNER -c “$ORACLE_HOME/bin/emctl start dbconsole”
echo “OK”
;;
stop)
echo -n $”Stopping Oracle EM DB Console:”
su – $ORACLE_OWNER -c “$ORACLE_HOME/bin/emctl stop dbconsole”
echo “OK”
;;
*)
echo $”Usage: $0 {start|stop}”
esac

chmod +x /etc/init.d/oraemctl
chkconfig oraemctl on
service oraemctl start
Environment variable ORACLE_SID not defined. Please define it.

vi /home/oracle/.bash_profile
ORACLE_HOME=”/u01/app/oracle/product/11.1.0/db_1″; export ORACLE_HOME
ORACLE_SID=”demo1″; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
alias sqlplus=’rlwrap sqlplus’
alias adrci=’rlwrap adrci’

service oraemctl start

rwlrap
yum install compat-readline43
wget -c http://ivan.kartik.sk/oracle/download_from.php?site_id=5
rpm -ivh rlwrap-0.24-rh.i386.rpm

Oracle Enterprise Manager
https://hostname:1158/em
username: system
password is the db user password during the db creation

References:
http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html
http://mdinh.wordpress.com/2007/09/06/oracle-10gr1-install-on-centos-5-notes/
http://ivan.kartik.sk/oracle/install_ora11gR1_elinux.html#st3