Saturday, January 19, 2013

use android phone as Dongle

http://www.howtogeek.com/102298/how-to-use-your-android-phone-as-a-modem-no-rooting-required-redux/

Monday, January 14, 2013

session factory returning null

Issue: session factory returning null was returning null
Resolution:  Included the autowire initialization of session factory:


@Autowired
    @Qualifier("sessionFactory")
    protected SessionFactory sessionFactory;

Resolves the issue.

Saturday, January 5, 2013

How to remove all the tables in a DB:
Please be careful in doing this!!!!!!!!!!!!!1


  BEGIN

FOR c IN (SELECT table_name FROM user_tables) LOOP
EXECUTE IMMEDIATE ('DROP TABLE ' || c.table_name || ' CASCADE CONSTRAINTS');
END LOOP;

FOR s IN (SELECT sequence_name FROM user_sequences) LOOP
EXECUTE IMMEDIATE ('DROP SEQUENCE ' || s.sequence_name);
END LOOP;

END;

Statement output:
anonymous block completed

10/10/10

The year is 10/10/3010.  I have just opened my big, blue eye, which was customized to view very distant object and also very minute objects which we usually see through the femtoscope. I am not the only person looking at things infront of me, it is being looked by the Scientist back home through the Retinalescope has interconnected my eye with the supercomputer.  These live vedio images are sent to the distant observatory station through EDET (electro dark energy transfer) technology.   This is the recent advanced technologies which we use for transffering data between ours with the Planet in the neighbouring star.   This planet looks completely different from back home at the Star11112990.  Its a very tiring journey as I have been travelling for the past 1500 dyears.  Now, am just 1.3453 light years from the planet that we have found outside the Milkway galaxy.

During the journey to this planet, i had a mixed experience with many periliously close encounter with some of the planet in the other Stars.

Saturday, July 7, 2012

Opening .tar.gz Files on Windows

Hey guys!.. wel come back .. there are plenty of way out there to open
.tar.gz Files on Windows ... the best one is 7 Zip...


A .tar.gz file is a compressed archive, similar to a zip file or a RAR file. In order to open a .tar.gz file, you need special software that knows how to decompress the archive.
7-Zip is a free file archiver that runs on Windows and can open .tar.gz files. Downloadand install 7-Zip, and you will be able to open up your .tar.gz file.
If 7-Zip does not launch when you double-click the .tar.gz file, ensure that 7-Zip is set to handle these types of files by default.


  • Open up 7-Zip
  • Click Tools → Options
  • Go to the “System” tab.
  • Make sure “tar” and “gz” are checked off.
  • Click “OK”.
Hope this helps...

Sunday, October 31, 2010

Generate ideas and stimulate your writings IN ONLY 10 Mins a day

Do you remember the work inertia from the physics class? If not, Inertia is the tendency of an object at rest to stay at rest, and an object in motion to stay in motion, unless acted upon by external force.  This characteristic of inertia is applicable to the writing as well.  According to the definition of inertia, once a pen starts writing, it will continue to write unless YOU stop it.  Stopping is another word from science class: friction.  Friction is the evil of all motion a force that resists the relative motion.

As a writer your goal is FICTION or NON-FICTION, but definitely not FRICTION.  Friction is your inner critic or judge, perfection paralysis, comparisons to others, fear of blank page, feeling overwhelmed, self-doubt not knowing hte next step and fear of rejection.  In its worst-case scenario, friction is writer's block.

If you should encounter writer's block, the best cure is to pick up the pen and do writing exercise like the ones in this blog.  For more details on these exercise check out the book Take Ten for Writers by Bonnie Neubauer.