Buy @ Amazon

Search This Blog

May 15, 2019

What is -O- option in wget?

The Quick Answer

  • -O flag is the short notation for the flag --output-document in wget command-line utility.
  • The hypen - after the flag denotes STDOUT.

Thus, wget -O- or wget -O - prints the result returned  from that URL in your terminal output or STDOUT.

Learn By Example

  • wget -O writes the output to index.html file
  • wget -O custom.txt writes the output to your custom.txt file as mentioned
  • wget -O - writes output to your terminal's STDOUT 


April 5, 2019

What does a woman want from a man most?

The Story

King Harshavardhan was defeated in the battle.

He was handcuffed and taken to the winner king.At that time the winner king was in a happy mood.

The king kept a proposal for Harshavardhan and said, “ If you can answer me a question correctly I will return your kingdom or else leave aside the kingdom, you shall have to remain a prisoner for the rest of your life in my country.”

“The question is, ' what does a woman want from her man?' You will get a month of time to give the answer.”

Harshavardhan accepted the King's proposal.

April 3, 2019

Essential ProTips For Great Life

  1. For a new boost of energy just have a cold shower.
  2. 90% of foods can be eaten raw. Eating raw food can prolong your life.
  3. Always take the stairs, especially if your office is on the first, second, third up to fifth floor. Sixth floor you’ll be sweating hard. There’s no exercise more rigorous and engaging like climbing stairs.
  4. Help out other people who need help and earn their credit for future reciprocity.
  5. Learn something every single day.
  6. Don’t study just to pass exams. Study to improve yourself.
  7. Learn public speaking. Knowing how to speak in public is like getting a key to get into people’s minds.
  8. Use social media to connect with social friends who can be turned into customers rather than for amusement.
  9. Unlearn all the junk you have in your brain and replace it with new knowledge that can take you to the next level.
  10. You are an average of 5 people you are with. So, find 5 people who have more knowledge than you and become the average of them.
  11. Seek ways to improve yourself daily intellectually, professionally, physically, mentally and spiritually.
  12. Avoid smoking, drugs, alcohol and porn. All these substances and habits have the same properties that will only impair your brain, clog your memory and destroy your mind.
  13. Don’t forget to give credit where credit is due, and praise where it deserves.
  14. Replace your entertainment time with education.
  15. Drink at least eight glasses of water each day.
  16. Spend at least an hour daily doing physical exercise and meditation to improve your body, spirit and mind.
  17. Become time-conscious and strictly optimize your time towards your goal.
  18. Become money-conscious and do not be ashamed to charge a fee for every service rendered if the beneficiary can afford it.
  19. Don’t shout at people. When people raise their voice, lower your own. This is the most effective way to win a verbal exchange.
  20. Never engage in physical fights. You might end up in jail. Besides, there are many ways to win a battle.
  21. When walking in the streets walk faster than everybody else without inconveniencing anyone. This improves your thinking capacity and judgment. Besides, you become a difficult target for muggers and thieves.

March 14, 2019

Spring Boot Alternatives On Java Platform

Bored of Spring Boot?
Afraid of Spring Boot?
Looking out for Spring Boot alternatives, just for fun?

Some of the popular alternatives to it are listed below, for you to explore it yourself:

  • Eclipse Vert.x : is a toolkit for building reactive applications on JVM.
  • Jodd : is a set of micro-frameworks and developer-friendly tools and utilities. Use it to get your MVP out of the door quickly.
  • Ninja Web Framework : is a full-stack cloud-ready web-framework for Java.
  • Fluent Http : is the simplest fastest full fledged web server we could come up with. 
  • Jboss ThornTail : is optimized for micro-service architectures on Java platform. It wraps the web-apps on Wildfly app servers.

March 9, 2019

If I could live my life again

I am an avid reader. I read a lot and read on diverse topics. There are topics like religion, philosophy, Hinduism, life-hacks, habits, etc. that make you think about what you just read.

Today, I stumbled upon this quote by a famous Argentinian poet by name Jorge Luis Borges, while I was reading Quora and felt I should etch it in my blog repository for my quick reference.

Thanks to Hector Quintanilla for having shared this on Quora. This maded my day. If you are on Quora, I'd recommend following him for his works there.