Posted in Life

12 Principles for Managing Problems Positively

[Extracted from the book – Tough Times Never Lost, But Tough People Do! by Robert H. Schuller. Added a very little of my thoughts]

Are you in a problem today? Is your problem really any different from any other problem? Or are there universal principles that we can apply to your current problem as to almost every other serious problem?

Yes, there are universal principles that can help manage any problem. Every living human being has problems. You do too. Learn to manage them. If you have a problem today – any problem – this can help: Principle for Managing Problems Positively! 

Continue reading “12 Principles for Managing Problems Positively”

Two types of winners : How they help others win

TYPE I

To others: I have struggled so hard to achieve this, it was not achieved overnight, so you have to undergo these struggles to achieve.
In mind: How can one achieve easily, I went through too many hard times. They can win only when they too pass through them.

TYPE II

To others: I have struggled so hard to achieve this, but here is how you can do so that you will not struggle a lot to achieve.
In mind: Huff, I struggled hard without proper guidance, let us help others to achieve. Why should they too struggle without such guidance?


A person’s Leadership skill is based on one of this type

Posted in Code Snippets, Javascript

Workaround for failed loading of images

Images that depend on server-side loading fails sometimes due to multiple reasons, like image is not present, location might be wrong, browser fails to load or process the image. All these returns 404 as HTTP status. This breaks the image placeholder too. Using JQuery, the broken image can be replaced with the error placeholder image with this simple JQuery snippet:

Continue reading “Workaround for failed loading of images”