Skip to content

Indranama's Tech Journal

Pravin Indranama's Tech Journal


The date() function of PHP is a very flexible function, which generates the current date and/or time. Human beings uses many different formats to represent date/time. Some writes 98, while others prefer 1998. Some writes 06/23/2010 while others prefer 06-23-2010. Some writes time in 12 hours format while other use 24 hours format. The date() function of PHP supports all these types.

date() function returns a date or a time or both. To control what it outputs, and the format it outputs, we can use number of format parameters. continue reading…

I’ve been searching for a good music player for my Ubuntu. Actually I need not only a music player like VLC, but a Jukebox where I can manage playlists and so on. My first choice was Songbird, a popular player, however a syncing plugin I added to it deleted my whole English mp3 collection :D Then I said good bye to Songbird. Then my choice was Banshee, and it worked really good for some months. After a system update, it stopped working. I tried everything, but couldn’t get it back working. continue reading…

Are you sharing mp3 audio files through your blog or website? Then it will be cool, if you can let the readers to listen to them in the browser, before download them. There are many solutions for this. You can upload your file to a media sharing site (like esnips, divshare, or imeem) and embed the player in your page. Or else you can upload the file to your host, (or any other place which provides direct links) and use it with a flash player. There are many Flash players available. Now we are going to find how to use Yahoo!’s media player. continue reading…

This week may be special to twitter client seekers for Ubuntu/Linux. A new twitter client was came into the scene and some existing ones got rich with new features. Sometimes ago, personally I was having a big problem of finding a suitable twitter client which satisfies all my needs. But there wasn’t. However I can see that modern clients have many rich features which are worthy to use. continue reading…

Facebook has introduced a Username system some months ago. I remember that I grab my username just on the time the feature released. But when I visit facebook , even now, I see many  friends of mine are still not having usernames. So I decided to write this post, to help them in having their usernames.

First of all, what are usernames? It is a ‘small’ piece of text which identifies yourself. The first part, before ‘@’ sign of your email address, is your username in that email service. For an example, my username in Gmail (and in many other sites) is ‘indranama’. continue reading…

My tech writings in english.

If you like to read my sinhala blog, visit http://blog.indranama.com