root@raingauge:root# update-rc.d -f pisometer remove
Removing any system startup links for /etc/init.d/pisometer ...
/etc/rc0.d/K99pisometer
/etc/rc1.d/K99pisometer
/etc/rc2.d/S99pisometer
/etc/rc3.d/S99pisometer
/etc/rc4.d/S99pisometer
/etc/rc5.d/S99pisometer
/etc/rc6.d/K99pisometer
root@raingauge:root# update-rc.d pisometer defaults 99 88
Adding system startup for /etc/init.d/pisometer ...
/etc/rc0.d/K88pisometer -> ../init.d/pisometer
/etc/rc1.d/K88pisometer -> ../init.d/pisometer
/etc/rc6.d/K88pisometer -> ../init.d/pisometer
/etc/rc2.d/S99pisometer -> ../init.d/pisometer
/etc/rc3.d/S99pisometer -> ../init.d/pisometer
/etc/rc4.d/S99pisometer -> ../init.d/pisometer
/etc/rc5.d/S99pisometer -> ../init.d/pisometer
root@raingauge:root# reboot
Runlevel...
apogee@apogee-persiasys:~$ runlevel
N 2
Process ID
apogee@apogee-persiasys:~$ ps aux | grep bluetooth-applet
apogee 7096 0.0 0.2 13364 5464 ? S 10:53 0:00 bluetooth-applet
apogee 21370 0.0 0.0 2976 752 pts/7 R+ 19:53 0:00 grep bluetooth-applet
apogee@apogee-persiasys:~$ ps -C bluetooth-applet --noheader -o pid
7096
apogee@apogee-persiasys:~$
untuk diguna dalam bash script
apogee@apogee-persiasys:~$ date +"%Y%m%d"
20090119
my cheat in bash....
#!/bin/bash
sfile="fblist.txt"
echo "" > gblinks.html
echo "" > gbaccept.html
while read line
do
# http://www.facebook.com/profile.php?id=123123
newline='http://apps.facebook.com/gangsterbattle/?re='${line:39}'&oi=3'
acceptline='http://apps.facebook.com/gangsterbattle/family.php?op=gangster_invite&refuid='${line:39}'&action=accept'
# echo ${line:39}
echo $newline
echo "<a href=\"$newline\" target=\"_blank\">$newline</a><br>" >> gblinks.html
echo "<a href=\"$acceptline\" target=\"_blank\">$acceptline</a><br>" >> gbaccept.html
done < $sfile
# http://apps.facebook.com/gangsterbattle/?re=121341&oi=3
# http://apps.facebook.com/gangsterbattle/family.php?op=gangster_invite&refuid=123123&action=accept
that's all folks
http://ultratone.com.my/new/
How to Get the Geographic Location of an IP Address | PHP Starter
http://phpstarter.net/2008/12/how-to-get-the-geographic-location-of-an-ip-address/
One of my younger brother is going to get his master in herb practice... I think he have already bored with the CSI work and the DNA research.. hahahaha....
Then, I asked him on what is the best herbs to maintain my focus in programming...
so, he said...
1. Eat honey... a tablespoon before sleep and when wake up in the morning. Before sleep, it's ok like one hour before sleep or just at the time i wanna sleep... and when wake up, before i brush my teeth...
2. Eat 'kismis' alot... I don't know what they call it in english... have to find my dictionary... hahahah
3. Drink goat's milk.
This is a test post from
, a fancy photo sharing thing.