Sunday, June 14, 2009

serangan chickenpox

huhuhuhu.. aisyah dan bini aku kena chickenpox serentak.. nasib baik boleh work from home...
syukur.....

Thursday, October 30, 2008

how diff file in different dir

list_dir="
work_dir="
fs_folder="\screens"
nd_folder="\screens"


#cd $fs_folder
#echo `ls` > $work_dir/list_dir.txt
rm -R $work_dir

mkdir -m 755 $work_dir

for list in `cat $list_dir`
do
echo $list
cd $fs_folder\\$list
echo `ls *.jsp` > $work_dir/$list-ls.txt
for jspfile in `cat $work_dir/$list-ls.txt`
do
echo $jspfile
diff $fs_folder\\$list\\$jspfile $nd_folder\\$list\\$jspfile > $work_dir/$list-$jspfile-diff
done
done

cd $work_dir
rm *.txt

Monday, September 15, 2008

startup svnserve as service

I really tired off using svn through http protocol in my office here.
Then, today i tried to change to svn protocol instead of http protocol

let say my repos is c:\svn\project1

1. cd svn\project1\conf
2. I find svnserve.conf, i change that file according to below
My svnserve.conf looks like: 
 [general] 
 anon-access = none 
 auth-access = read 
 password-db = passwd 
 realm = My First Repositor


3. then, i find passw file and  change the file
my passwd file looks like:

[users]
fadhlan = fadhlan

4. i set the svn as a windows service 
sc create svn binpath= "\"C:\program files\Subversion\bin\svnserve.exe\" --service -r C:\svn" displayname= "Subversion Server" depend= Tcpip start= auto net start svn

5. then i make sure the service is running,telnet the svn port 3690. 


6. try to checkout using eclipse. For me, the url is svn://<-svn-ipaddress->/project1

7. done.. or maybe u can bringdown ur apache server





Sunday, September 14, 2008

Installation on SVN office completed

Thanks ttwangsa, 

was helping me for svn installation at my office today.. I took a few minutes to configure it. 
Thanks ttwangsa again.

Thursday, September 11, 2008

Wednesday, September 10, 2008

Dont panic when u read log files

"U dont panic when i read log files". This was what i said to my new friend cum junior here.

Here are step to do some troubleshooting with java logs file

1. Read the updated line of log file...  or may be u shld use tail -f
2. Understand the error log and try remember the past troubleshooting solution. The error log give same message for the same problem consistently. Then, u shld use same solution for same problem.
3. If u have superiors / seniors, better u ask them before u ask google. some how google could not understand ur queries but google is intelligent enough for u if u are also intelligent to ask a  good query to google. 
4. If u senior answer questions then, ask them the detail explaination.
5. If u senior could not answer ur questions , then u ask them for his resignation. hahahahahaha

fikir-fikirkan.. selamat beramal

Tuesday, September 9, 2008

today is new day, yesterday is last day

Today
1. my 1st day at icimb msc tpm, I came here so early.. 7.45 am...
2. i got new friends but they came in office late.
3. 1st day i drove a satria tua to office.


Yesterday
1. The Last day, i had been at pos
2. The Last day, i touched the OAL Server and codes.