Thursday, July 25, 2013

Spring 3 + Quartz 1.8.6 scheduler example


This is a very concise and simple example of implementing Quartz Jobs via Spring. Thanks !

http://www.mkyong.com/spring/spring-quartz-scheduler-example/

Tuesday, June 11, 2013

21 tips for productivity (Worth to try!)



1. Check emails in the afternoon. Use the morning for important work when you have more energy!
2. Stop waiting for perfect conditions
3. Big brave goals release energy
4. Mess creates stress
5. Sell your TV
6. Say goodbye to energy sapping vampires. Avoid negative people!
7. Make good habits such as when you do sports
8. Get up early
9. Don't do so many meetings
10. Don't say yes to every request
11. Outsource everything at which you're not the best in the world
12. Stop multi tasking
13. Get fit
14. Work out twice a day. 2 energy boosters!
15. Drink more water
16. Work in 90 minute blocks
17. Write a stop doing list
18. Use your commute time
19. Be contrarian
20. Right first time
21. Get lost! Have zero interruption focus time

Thursday, February 28, 2013

How to set root password on Amazon EC2 instance

The default Amazon Linux EC2 instance does not allow root user login.
Use this first:
-sudo !!

or the traditional way
-sudo passwd root
and set the root password, then su - to get to root.