Monday, January 17, 2011

You always have the choice in life

Once again an inspiring email from Buddi, a friend from AIESEC in Sri Lanka whom i met in AIESEC International Congress 2009 in Malaysia


---------------------


John is the kind of guy you love to hate.   He is always in a good mood and always has something positive to say.  When someone would ask him how he was doing, he would reply, 'If I were any better, I would be twins!' He was a natural motivator.  


If an employee was having a bad day, John was there telling the employee how to look on the positive side of the situation. Seeing this style really made me curious, so one day I went up and asked him, 'I don't get it! You can't be a positive person all of the time.  How do you do  it?'  


He replied, 'Each morning I wake up and say to myself, you have   two choices today.  You can choose to be in a good mood or...you can choose   to be in a bad mood. I choose to be in a good mood.'  


Each time something bad happens, I can choose to be a victim or...I can choose to learn from it.  I choose to learn from it.  Every time someone comes to me complaining, I can choose to accept their complaining or...I can point out the positive side of life.  I choose the positive side of life.  


'Yeah, right, it's not that easy,' I protested.  

Tuesday, December 14, 2010

Oh, hail NEW facebook

MY biggest dislike about the new Facebook "you don't have your status on top of your profile anymore"

all these days i used twitter AND facebook to update my current status.

from: http://smobot.com/twitter-facebook-blogger-302 
i used twitter because it's best for sharing micro statuses worldwide. But i couldn't forget that my social community is much larger in facebook and makes more sense for me to have my statuses on Facebook as well which all my friends can see. But i hated having to log into TWO individual services (facebook and twitter) just for updating my same status.

Then i tried looking around for any kind of facebook app that would allow my tweets on twitter to come up automatically to my status field on Facebook - but could not find any: the closest match was the official Twitter app for facebook which simply made a post on the wall rather than showing it on top of my profile as my status.

That's the ONLY reason why i went through putting up tweets on twitter and ALSO putting up statuses on FB.

Tuesday, September 28, 2010

Preferred IDEs for various programming languages

so............ over the last one month i had been trying out several IDEs (Integrated Development Environments) for different kinds of programming.... and here is what i figure out to be the best IDEs for the various programming languages. My judgement is based on:
  • quickness of code-completion suggestions, 
  • quick search through Docs, 
  • ease of program execution and deployment
  • ease of handling GUI (graphical user interface)
  • ease of installation of plugins or add-ons
Programming LanguagePreferred IDE
        Java        PHP
Net Beans
Android
Eclipse
Adobe AIR
Aptana

Disclaimer: All logos and icons used in this blog post are registered contents of the respective projects and/or organizations



Friday, September 17, 2010

Problem with displaying joomla correctly on XAMPP in Linux

i have used Ubuntu 10.04 Lucid Lynx.
i had used the default full installation of XAMPP for Linux 1.7.3a.

i had coded PHP applications for quite awhile and everything worked great....... but when i installed Joomla - a leading Content Management System on PHP - on my localhost, i got some gibberish nonsense like this...... full of this error and that error
i searched the net for answers but found no source helpful...... that's why putting the solution to this problem up on my blog.

Wednesday, September 8, 2010

Removing the 'index.php' from the URL of a codeigniter site

UPDATE (9th May 2015): at the time of writing this article, codeigniter was on version 1.7 I guess. Now, in codeigniter version 2.2.2, the official documentation of Codeigniter shows how to achieve this goal very easily. You can refer to the "Removing the index.php file" section in http://www.codeigniter.com/userguide2/general/urls.html page.

By default, the index.php file will be included in your URLs:
example.com/index.php/news/article/my_article
---

You can easily remove this index.php from displaying in the url by using a .htaccess file in your 'codeigniter' root folder and make it look like: example.com/news/article/my_article

Notice the absence of anything infront of the (.) dot in the filename of .htaccess file

Here is an example of such a .htaccess file.