I was using linux ubuntu for my work now I’m using Mac OS X 10.7.3, I was surprised when I did ls command, the ls result returned had the same color for files and folders. Fortunately there is a trick to set ls command with colors.
I was experiencing an error regarding date() function on PHP 5 with error message like this : Message: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Jakarta' for 'WIT/7.0/no DST' instead
a few days ago I was traveling to Tidung Island, this island located in Seribu Archipelago (north of Jakarta). It tooks about 2.5 hours trip from Muara Angke harbor to get Tidung Island. The weather was so clear, we travel by ship under clear blue sky. For this trip I payed Rp.260.000,- all in. Its included ship ticket vice versa, homestay for 2 days, 2 lunch and 2 dinners, barbeque, bicycle, snorkeling tools, boat for snorkeling, also local guide! Hahahah what a great deal wasn’t it? 🙂 I was searching for the same travel agent to Tidung island, but this guy offer great service with wonderful price. We made a deal then. Continue reading “Tidung Island Indonesia”
Ever wondered which program has a particular file or directory open? Now you can find out. Handle is a utility that displays information about open handles for any process in the system. You can use it to see the programs that have a file open, or to see the object types and names of all the handles of a program.
Handle is targeted at searching for open file references, so if you do not specify any command-line parameters it will list the values of all the handles in the system that refer to open files and the names of the files. It also takes several parameters that modify this behavior.
I was creating a program using python for my linux box and I need this program runs every time when the server booting. I was googling how to get this done, some are suggesting to edit the rc.d file then add our line in there. That’s work though, but I found something better, we can manage what service will be started on booting using rcconf.
You will need to install rcconf from repository to get this work,
apt-get install rcconf
Once installed you can use it by entering this command
The rcconf will display what service/program that located in /etc/init.d/, mark the service you want to start manually then save it.