Skip to main content

Quotations I

Here are some of the finest quotes :
  1. “I certainly don’t regret my experiences because without them, I couldn’t imagine who or where I would be today. Life is an amazing gift to those who have overcome great obstacles, and attitude is everything!”
  2. “When you have confidence, you can have a lot of fun. And when you have fun, you can do amazing things.”
  3. “Everybody is ignorant, only on different subjects”
  4. “In theory, there is no difference between theory and practice. But, in practice, there is”
  5. “I have never let my schooling interfere with my education”
  6. “The real problem is not whether machines think but whether men do”
  7. “He used statistics the way a drunkard uses lampposts – for support, not illumination”
  8. “A women’s dress should be like a barbed wire fence, serving its purpose without obstructing the view”
  9. “Diplomacy: The art of letting someone have your way”
  10. “He was a wise man who invented God”
  11. “For every complex problem, there is a solution that is simple, neat, and wrong”
  12. “When the world says, “Give up”, Hope whispers, “Try it one more time”
  13. “When you come to the end of your rope, tie a knot and hang on”
  14. “Politicians are like diapers. They both need changing regularly and for the same reason”
  15. “Time is what prevents everything from happening at once”

Comments

Popular posts from this blog

JUnit – Run unit test in an Sequence / Order

In JUnit, we can use @FixMethodOrder(MethodSorters.xxx) to run the test methods in a sequence or order.

import org.junit.FixMethodOrder;import org.junit.Test;import org.junit.runners.MethodSorters;importstatic org.hamcrest.CoreMatchers.is;importstatic org.junit.Assert.assertThat;//Sorts by method name@FixMethodOrder(MethodSorters.NAME_ASCENDING)publicclassExecutionOrderTest{@TestpublicvoidtestB(){assertThat(1+1,is(2));}@Testpublicvoidtest1(){assertThat(1+1,is(2));}@TestpublicvoidtestA

Create Runnable Jar - Eclipse Options

When exporting to a Runnable Jar, there are three options in eclipse Helios. Extract required libraries into JARPackage required libraries into JARCopy required libraries into sub folder next to JAR. What are differences : Extract required libraries into JAR - Extracts the actual .class files from the libraries your app uses and puts those .class files inside the runnable JAR. So, the runnable JAR will not only contain the .class files of your application, but also the .class files of all the libraries your application uses. Package required libraries into JAR - Puts the actual JAR files of the libraries into your runnable JAR. Normally, a JAR file within a JAR file cannot be loaded by the JVM. But Eclipse adds special classes to the runnable JAR to make this possible. Copy required libraries into sub folder next to JAR - Keeps the library JARs completely separate from the runnable JAR, so the runnable JAR will only contain the .class files of your application. Option #2 is convenient be…