My favorite motivational quotes

I have been keeping a list of quotes which I read once in a while to motivate myself and to push myself to do the right things instead of doing things which are convenient. These has been a great source of inspiration for me. So instead of maintaining the list in my drafts, I decided to share it with others and inspire them too. I will keep updating this list with the new ones I like.

 

  1. It is better to deserve honors and not have them than to have them and not deserve them.”
      by Mark Twain
  2. “Character is the result of two things: mental attitude and the way we spend our time.”
      by Elbert Green Hubbard
  3. “When it’s time to die, let us not discover that we have never lived.”
      by Henry David Thoreau
  4. “A healthy attitude is contagious but don’t wait to catch it from others. Be a carrier.”
      by Anonymous
  5. “As you think, so shall you become.”
      by Bruce Lee
  6. “Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it.”
      by Bruce Lee
  7. “If you love life, don’t waste time, for time is what life is made up of.”
      by Bruce Lee
  8. “Real living is living for others.”
      by Bruce Lee
  9. “Happiness is not by chance, but by choice.”
      by Jim Rohn
  10. “Without a sense of urgency, desire loses its value.”
      by Jim Rohn
  11. “Do not go where the path may lead, go instead where there is no path and leave a trail.”
      by Ralph Waldo Emerson
  12. “A man is what he thinks about all day long.”
      by Ralph Waldo Emerson
  13. “Before we acquire great power we must acquire wisdom to use it well.”
      by Ralph Waldo Emerson
  14. "When you choose to be pleasant and positive in the way you treat others, you have also chosen, in most cases, how you are going to be treated by others.”
      by Zig Ziglar
  15. “Great spirits have always encountered violent opposition from mediocre minds.”
      by Albert Einstein
  16. “Try not to be a person of success, but rather a person of virtue.”
      by Albert Einstein
  17. “How wonderful it is that nobody need wait a single moment before starting to improve the world.”
      by Anne Frank
  18. “We are what we repeatedly do. Excellence, therefore, is not an act but a habit.”
      by Aristotle
  19. “Experience is the child of thought, and thought is the child of action.”
      by Benjamin Disraeli
  20. “To talk goodness is not good… only to do it is.”
      by Chinese proverb
  21. “An optimist is a person who sees a green light everywhere. The pessimist sees only the red light. But the truly wise person is color blind.”
      by Dr. Albert Schweitzer
  22. “If you have built castles in the air, your work need not be lost. That is where they should be. Now put the foundation under them.”
      by Henry David Thoreau
  23. “Every man must decide whether he will walk in the light of creative altruism or in the darkness of destructive selfishness.”
      by Martin Luther King Jr.

If you know of any quotes which you think might fit in this list, please leave it as a comment.

Thanks,
Kanwal

Application specific mapping in FastCGI ISAPI 1.5

IIS team recently released FastCGI ISAPI 1.5 for IIS 5.1 and IIS 6.0. One of the major new features added in this release is per application process pools. Per application process pools allow users to specify a unique FastCGI mapping for a particular web application in fcgiext.ini. Using this functionality administrators can now choose to run a web application with PHP version which can be different from what is used for rest of the PHP applications in the same site or the server. This was always possible in IIS 7.0 and 7.5 by overriding PHP handler in web.config but not on WinXP and Win2K3. Version 1.0 of FastCGI ISAPI only allowed specifying a different process pool at a site level granularity. So if a site has both wordpress and gallery installed, it wasn’t possible to use different PHP versions for running them. With FastCGI 1.5 that is possible now. For providing application specific mappings, we extended site specific mapping feature. Let’s learn application specific mapping by comparing it with site specific mapping.
 

 

 
Site specific mapping
Application specific mapping
fcgiext.ini
[Types]
php=PHP_53
php:1234=PHP_52
 
[PHP_53]
ExePath=c:\php530\php-cgi.exe
 
[PHP_52]
ExePath=c:\php520\php-cgi.exe
[Types]
Php=PHP_530
Php:1234=PHP_526
Php:/w3svc/1234/root/wordpress=PHP_530
Php:/w3svc/1234/root/gallery=PHP_520

[PHP_526]
.
.
.

Details
Above configuration will make FastCGI module pick PHP_53 mapping for all sites but use PHP_52 mapping for site with id 1234.
FastCGI module will pick PHP_520 mapping for gallery and PHP_530 for wordpress defined under site 1234. All other php applications under site 1234 will be handled using PHP_526 mapping. Remaining sites will use PHP_530 mapping.

Application path’s format for fcgiext.ini is “/LM/W3SVC/<siteId>/ROOT/<appname>”. In this format “/LM” and “/W3SVC” parts are option. “/Root” can be emitted for applications pointing to root of the site.

fcgiconfig.js
fcgiconfig.js -add -section:php_530 -extension:php -path:c:\php530\php-cgi.exe -site:1234
fcgiconfig.js -add -section:php_530 -extension:php -path:c:\php530\php-cgi.exe -application:/w3svc/1234/root/wordpress
 
 
Picking the right mapping
Among all the formats (including wildcard formats) which are accepted in fcgiext.ini mappings, FastCGI goes through following logic to pick which mapping to use for each request.
 
·         If mapping for current  application is present, it takes highest priority and is used. E.g. php:/w3svc/1234/root/drupal=ApplicationHandler
·         If wildcard mapping for the current application is present, it is used next. E.g. *:/w3svc/1234/root/drupal=ApplicationHandler
·         If mapping for a particular site is present but application specific mapping is not present, than that is used. E.g. php:1234=SiteHandler
·         If site specific and application specific mapping is not present, FastCGI module look for wildcard mapping for a particular site. E.g. *:1234=SiteHandler
·         If none of the above is present, mapping for the file extension takes priority. E.g. php=ExtensionHandler
·         Wildcard mapping comes last. *=WildcardHandler
 
If FastCGI doesn’t find a mapping after going through the logic above, an error is returned.
 
What’s coming next
 
Now that applications can be configured to run using a particular PHP version on IIS 5.1 and above, our next goal is to support multiple PHP versions side-by-side in WebPI. This would require PHP installer to support side-by-side install which is also something we are looking at. Once PHP installer has the required support, we will list different PHP versions in WebPI and let users install multiple versions of PHP. Additionally users will be able to target a particular PHP version when installing a PHP application using WebPI.
 
Hope this helps.
Kanwal