Nimal blogs here
13 Nov 2009
Welcome to WordPress. This is your first post.
- Not exactly, add another 127 and this would be my 128th.
I have moved, migrated this blog from Blogger to a hosted WordPress. Those who are following me through feeds might not have noticed this yet, so just click on your feed and check out whats new. I have been blogging since 2006, and completed 3 years this July. I enjoyed blogging over at Blogger, yet I always wanted to move to WordPress someday with my own domain. I’ve been actively blogging on my project blog last year, which was on WordPress. After buying this domain couple of months back, I decided I would move my blog here.
Lets see a ‘list’ related to this migration:
I also made a decision to change the name of this blog from “The TalkOut Trojans!” to “Nimal’s Weblog”, which I think would be a more suitable name. Its most likely, I’d stick to the “TalkOut” avatar name on all other places, except to this domain.
The migration is so far smooth, and I’ll be tweaking around the theme and plug-ins for sometime. Let me know if you find any glitches on any pages, so I can fix them. I’ll also be WRITING more often than before (that’s the plan for now)….
Quoting from my first post,
Now I’ve landed in blogger. We’ll see what happens in the future.
So, Now I’ve landed in WordPress, and the future, it’s yet to be seen…!
14 Sep 2009
This is simple script to demonstrate the capabilities of PHP with the GD library, which provides a lot of image functions that can be useful in many applications. GD provides a rich set of functions. For a complete list of these functions, check the PHP manual.
header('Content-Type: image/png'); // Text to be converted to image $text = 'Hello World'; // Font to use, give accessible path from script $font = './arial.ttf'; // Convert HTML entities into ISO-8859-1 $text = html_entity_decode($text,ENT_NOQUOTES, "ISO-8859-1"); // Create the image $im = imagecreatetruecolor(160, 160); $white = imagecolorallocate($im, 255, 255, 255); $black = imagecolorallocate($im, 0, 0, 0); // Create some colors imagefilledrectangle($im, 0, 0, 160, 80, $white); // Add the text imagettftext($im, 12, 0, 20, 20, $black, $font, $out); imagepng($im); imagedestroy($im); exit;
GD can also be used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM.
Limitations:
There is a alternative for this using Pango and Cairo in PHP. I’ll post a detailed update on that in my next post.
22 Aug 2009
With the default installation of XAMPP for Windows, we don’t get PHP Oracle connectivity enabled. This can be enabled easily when you need to connect to a Oracle Database from your PHP application/script. PHP has got the OCI8 extension, which provides Oracle connectivity to PHP application, and OCI8 uses Oracle Instant Client Package to get Oracle specific functions.

I had the need to connect to a Oracle Database from a PHP script in one of my recent projects, the following is what I did to enable Oracle connectivity in XAMPP for Windows.
The steps to do the same in a Linux box are almost similar, except there you will use the Linux versions of the packages and setting PATH variables would be different.
You can ping me back with a comment if you run into any issues, I might be able to help you or I can learn from you.
Reference:
22 Aug 2009
On this day in 1999, Pyra Labs launched Blogger. Blogger was later bought by Google in 2003.
I have been blogging with Blogger for the last 3 years in this blog, and also in my Tamil blog. It has been a wonderful experience for me with Blogger, (though I prefer WordPress these days).
Congratulations to Google on 10 years for Blogger.
20 Aug 2009
So how did I get my Google Voice number from outside US… Yeah I live in Sri Lanka, and I have registered my Google Voice number and use it without any restrictions…!
Google Voice is a wonderful service that functions like a virtual phone switchboard, and you can manage calls and route them to your various phones, voice mail, etc. It gives you a free phone number that can receive regular phone calls and route them to any other actual phones you have connected to your account.
Unfortunately, currently its forwarding abilities are limited only to US phones. Also you are not allowed to access service registration when you are outside US. But I was able to do some workaround with the help of couple of online guides to create my own Google Voice number.
How to signup to Google Voice?
Currently its only by ‘invite mode’ but you can get an invitation within a week or so. During the signup process you will be required to verify your account via a US telephone number.
How to access the Google Voice website for signup from outside US? (After you are signed-up you are allowed to access even from outside US)
How to get a US number and verify it when you are outside US?
How to connect this with Gizmo?
What I have got now?
Thats how I got my nice Google Voice number. I’m ready to help you if you want to get your own Google Voice number, just leave a comment.
Further Reading:
Recent Comments