Tuesday, October 31, 2006

new script in da house..need to check first

huhu...got new script ...need to check first ...

# cat /tmp/makehome
#!/bin/ksh
#
# This script creates home directory and sets the correct permission
#

username=""
uid=""
gid=""
WCKPATH="/export/wssfs4-vol14/epw_homes"
OSSPATH="/export/nosrv02-V_S01/epw_homes"
PREFIX="/glb/home/epw_login/user_dotfiles"

read username?"Please enter username :"
read uid?"Please enter UID :"
gid=$uid

PS3="Please select user's location :"
select ch in WCK OSS
do
case $ch in
WCK )
echo "Creating home directory in $WCKPATH"
HOMEPATH=$WCKPATH
break
;;

OSS )
echo "Creating home directory in $OSSPATH"
HOMEPATH=$OSSPATH
break
esac

done

HOMEDIR=$HOMEPATH/${username}
if [ -d $HOMEDIR ]; then
echo "$HOMEDIR exists, will abort..."
exit
else
echo "Creating home directory at $HOMEDIR"
fi

mkdir ${HOMEPATH}/${username}
chmod 750 ${HOMEPATH}/${username}
chown ${uid}:${gid} ${HOMEPATH}/${username}
cp -p $PREFIX/.profile $HOMEPATH/${username}/
cp -p $PREFIX/.custom.profile $HOMEPATH/${username}/
cp -p $PREFIX/.kshrc $HOMEPATH/${username}/
cp -p $PREFIX/.custom.kshrc $HOMEPATH/${username}/
cp -p $PREFIX/.cshrc $HOMEPATH/${username}/
cp -p $PREFIX/.login $HOMEPATH/${username}/
chown ${uid}:${gid} ${HOMEPATH}/${username}/.custom.profile
chown ${uid}:${gid} ${HOMEPATH}/${username}/.custom.kshrc
chown ${uid}:${gid} ${HOMEPATH}/${username}/.cshrc
chown ${uid}:${gid} ${HOMEPATH}/${username}/.login

Prison Break ..a view from me


early this year..i'm collected full season 1 Prison Break but not have enough time to watch all of it ..

but ..after my colleagues talking about ..i'm getting addicted to this thriller tv series ..damned!

p/s , i will upload my custom-made Prison Break wallpaper (Scofield's tattoo)

Monday, October 23, 2006

wrong timing ...unplanned stayback

1:33am
23 oct 2006 , Monday

huhu ...i never thought that ERL service would stopped at 1:00 am. Damned!

But it's ok with me ...i'm used to be survivor in this kind of situation..Again ..i checked potential place to be connected to wireless signal ...i bought Nescafe Kopi Mocha , just to fill up my thirsty ( even i'm not thirsty..) ...huhu

i got great place to be connected to signals - level 3 ,centre ...near to Domestics Arrival . Connection strength = EXCELLENT! ... compared to the level 2 , centre ...the signal are intermittent = very good-> good -> low.

time by time ..i checked the connection ..still excellent ...i'm starting to love this place..

Next time , i must bring out my own extension for my AC adapter ..for me and Aman ...huhu...

all i need is to wait until 5:52 am , in order to get back to my place....in that time ..i just surfing , reading some stuffs and observe other potential place for wardriving ...wish my baby here with me ..

p/s waiting , wishing , hoping ...

Sunday, October 22, 2006

A test in KLIA

11:30pm
22 Oct 2006 , Sunday

i'm testing wireless connection in KLIA area. The results - Cool!

Access point = Unknown
speed = 11 mbps
connection strength = Good

before i blogging, i'm testing the signal for the first time , at Burger King , testing for connection to digg.com and slashdot.org, but there's too much lagging, i need to move to another location to get better signals.

i also checked for plug extension for my adapter . Luckily, i got the place, level 2 , centre.

hurmm...i'm frustrated again , regarding my gentoo on LifeBook machine. Need to budget my financial with my honey. Perhaps , i could get MacBook Pro before June 2007, insya Allah

need to check other place for potential signals . Hope Aman could join me for next session of wardriving ...

...last but not least , i need to pack up my stuff , for Eid Mubarak...Miss to see my family.

p.s miss my mucuk too, love u baby

blog adjourned....

Friday, October 20, 2006

Another day in office , same cubicle

1.today , my lips not yet recovered from ulser
2.working 12 hours plus , due to Hari Raya claim.
3.need to be more cautious on my duty.
4. scripts not yet executed, need full debugging ( check with ldapsearch) ... learn..learn..learn !
5.still thinking about managing my own financial ..need my girl to be my advisor, let her decide and manage my budget.
6. my project on Gentoo still adjourned. DAMNED!
7. paid water utilities Rm7.94
8.took away Aman's slipper but he need it , my bad, bro
9.still exhausted, working 12 hours yesterday ...huk²


....
escalation
devastation
generation
separation
situation
misapatient
....


p/s however, the bottleneck is ...i need MacBook Pro badly!

scripts ...clusters...sleepy

huhu..

today i'm still searching some sample projects on clustering and MPI/LAM

some more , my team consultant wants me to create 1 or 2 scripts on searching strings in ldapsearch ... duhh!! Created new script ..just simple script

mynabo@amsdc1-n-s00006 # cat test2.ksh
#!/bin/ksh
#
# This script simplifies the adcat.py ADI script
# and includes some interactive element to the process
#

uid=""
gid=""

read gid?"Please User GID:"

echo ""
echo "Checking user account "
echo ""
echo " adcat -a passwd | grep $gid "
/opt/adi/bin/adcat.py -a passwd | grep $gid
echo ""
echo "Checking user group"
echo " adcat -a group | grep $gid "
/opt/adi/bin/adcat.py -a group | grep $gid

print " Bye Bye ! "
print " \|/ "
print " (*V*)"
print "_V___V_"
choice="no"

yesterday evening , Roxanne Hall gave presentation ( but i'm not selected for that meeting , senior only ,haha ) , on Redwood machine ( a trusted host ) ,
one of complex machine i ever saw. To be truth, i'm still learning about the cadmin thingy and archs in Redwood. Finally, it was amazing !

got to check on ksh script or shell script , need to brush up more on those stuff


p/s me ..still sleepy

Thursday, October 19, 2006

A Days at my cubicle



  • logging to Window$ desktop
  • checking my OutLook mail
  • logging to UNIX/LINUX machine ( connected to Citrix and AD LINUX ) - uptime and CPU utilization.
  • updating http://del.icio.us/kevler
  • reading slashdot and digg
  • reading forum
  • reading some stuff on HP/UX and Sun Solaris ( i got short memory )
  • debugging korn Shell script ( headache!!)
p/s i miss my girl !

Wednesday, October 18, 2006

Prison Break OST



01 - Prison Break - Opening Theme
02 - Papa Roach - Take Me
03 - This Is War
04 - Aerosmith - Sweet Emotion
05 - Styles of Beyond - Nine Thou [Superstars Remix]
06 - Tito and Tarantula - After Dark
07 - A Perfect Circle - The Outsider
08 - Black Toast Music - Willing To Die
09 - Neneh Cherry - Buffalo Stance
10 - Shoji Meguro - Prison Break
11 - Emery - Studying Poitics
12 - X-Ray Dog - Here Comes The King
13 - Faf la Rage - Pas le Temps [Generique Fr]
14 - Alexi Murdoch - Orange Sky
15 - Massive Attack - Teardrop
16 - Johnny Cash - The Mercy Seat
17 - Ferry Corsten & Ramin Djawadi - Main Theme [Extended Version]

good OST for me, various songs within this album .

p/s gave aman the URL of this OST , sure he "teruja"

Tuesday, October 17, 2006

Top 29 Things To Do When Your ISP Is Down

1 Open the curtains to see if anything has changed over the past 2 years.
2 Re-introduce yourself to your immediate family.
3 You mean there's something else to do?
4 Get that kidney transplant you've been putting off.
5 Find a better ISP
6 play single player mode
7 Steal WiFi from your Neighbor
8 Run in circles, screaming hysterically about the end of the world.
9 Slit your wrists with broken AOL trial disks
10 Write your lists on paper
11 Come up with new List ideas for when it's back up.
12 Cry
13 Go through your web cache to see if you missed anything.
14 Masturbate the old fashioned way, with Playboy.
15 Panic!
16 take a shower and scrape off mould / fern from body
17 try dialing in every 10 minutes, just in case its back up
18 Wipe useless stuff off hard disk to make room for new porn when the ISP is back
19 Pray to the Dark Gods that it will be fixed
20 Buy a cow, and start a farmers life
21 Cry (like a little girl)
22 Get-away-from-computer
23 Kill google! *throws chair*
24 kill yourself
25 run around in circles muttering "the end is near" and "I'm not crazy"
26 Two words: sponge bath.
27 Dial 911 immediately.
28 Work.
29 Threaten your ISP with an impeachment vote.

p/s source : http://digg.com/programming/Top_29_Things_to_do_When_Your_ISP_is_Down