Wednesday, March 18, 2015

Tuesday, January 6, 2015

15 Awesome Quotes By CHANAKYA that will change your life

15 Awesome Quotes By CHANAKYA that will change your life.
1) Learn from the mistakes of others... you can't live long enough to make them all yourselves!
2) "A person should not be too honest. Straight trees are cut first and Honest people are screwed first."
3)"Even if a snake is not poisonous, it should pretend to be venomous."
4) "There is some self-interest behind every friendship. There is no friendship without self- interests. This is a bitter truth."
5) " Before you start some work, always ask yourself three questions - Why am I doing it, What the results might be and Will I be successful. Only when you think deeply and find satisfactory answers to these questions, go ahead."
6) "As soon as the fear approaches near, attack and destroy it."
7)"The world's biggest power is the youth and beauty of a woman."
8) "Once you start a working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest."
9)"The fragrance of flowers spreads only in the direction of the wind. But the goodness of a person spreads in all direction."
10) God is not present in idols. Your feelings are your god. The soul is your temple.
11) A man is great by deeds, notby birth.
12) Never make friends with people who are above or below you in status. Such friendships will never give you any happiness.
13) Treat your kid like a darling for the first five years. For the next five years, scold them. By the time they turn sixteen, treat them like a friend. Your grown up children are your best friends.
14) Books are as useful to a stupid person as a mirror is useful to a blind person.
15) Education is the best friend. An educated person is respected everywhere. Education beats the beauty and the youth.

Wednesday, December 24, 2014

Suite Cloud IDE Download / Install in eclipse

SuiteCloud itself is available through an Eclipse update site. The plugin is installed as any other Eclipse plugin:
1. Open Help > Install New Software…
2. Click Add…, set Name to “SuiteCloud IDE” and set Location to
http://system.netsuite.com/download/ide/update; click OK.
3. Once the list of plugins populates, select the SuiteCloud node and click Finish


ref : http://blog.erpguru.com/2012/05/how-i-survived-suiteworld-2012.html

Wednesday, December 10, 2014

UIScrollView won't scroll (Storyboards)

Two things turned out to be necessary:
1) Set height of scrollview to 480.
2) Add constraint to the bottommost field in the scrollview. The constraint was Pin >> Bottom Space to Superview.

Wednesday, November 12, 2014

Wcf-The maximum message size quota for incoming messages (65536) has been exceeded?

Wcf-The maximum message size quota for incoming messages (65536) has been exceeded?

You should set maxReceivedMessageSize="2147483647" to increase message size. Try to change config to this:

 maxBufferSize="2147483647" 
         maxBufferPoolSize="2147483647" 
         maxReceivedMessageSize="2147483647">
     maxDepth="2147483647" 
                  maxStringContentLength="2147483647" 
                  maxArrayLength="2147483647" 
                  maxBytesPerRead="2147483647"
                  maxNameTableCharCount="2147483647" />


ref:
1) http://stackoverflow.com/questions/19564047/wcf-the-maximum-message-size-quota-for-incoming-messages-65536-has-been-exceed
2) http://weblogs.asp.net/hajan/transferring-large-data-when-using-web-services

Monday, November 10, 2014

sql server finding duplicate on one column but using select where


sql server finding duplicate on one column but using select where

SELECT Id, Terms, Track, Active
FROM QueryData
WHERE Terms IN (
                SELECT Terms 
                FROM QueryData
                WHERE Track = 'Y' and Active = 'Y' 
                GROUP BY Terms
                HAVING COUNT(*) > 1
                )

SELECT ArticleId
FROM Image2Articles
WHERE ArticleId IN (
                SELECT ArticleId 
                FROM Image2Articles
                
                GROUP BY ArticleId
                HAVING COUNT(*) > 1
                )

Saturday, October 25, 2014

Run MongoDB as windows service.

Run MongoDB as windows service.

Step 1 : c:\mongodb\bin>; mongod --dbpath "c:\mongodb" --logpath "c:\mongodb\log.txt" --install --serviceName "MongoDB"

         Now, mongod is created as windows services.In order to start this service("MongoDB") follow 'step 2'.

Step 2 : service can be started using the command line -------->  net start "MongoDB".



Reference link :

http://www.mkyong.com/mongodb/how-to-run-mongodb-as-windows-service/
http://stackoverflow.com/questions/2438055/how-to-run-mongodb-as-windows-service