Thursday, 27 August 2015

Problem: failed to create task or type nbdeploy?? SOLVED!!

 After a long time , I was testing my project in Java EE but  unfortunately i encountered the following the error: 

Problem: failed to create task or type nbdeploy 
Cause: The name is undefined. 
Action: Check the spelling. 
Action: Check that any custom tasks/types have been declared. 
Action: Check that any / declarations have taken place. 

BUILD FAILED (total time: 2 seconds)  

Then after several futile attempts , I finally get a solution to my problem and it really helped me a lot.

Actually , i disabled the plugins responsible for Java EE and Web related applications .

To enable this , Go to Tools >> Plugins >>Installed Tab >> Check Java Web and EE checkbox.

The problem is solved.

Wednesday, 1 July 2015

List of Alt Codes for entering Greek Letters

ALT Codes for Greek Letters
Alt CodeSymbolDescription
Alt 224αAlpha
Alt 225ßBeta
Alt 226ΓGamma
Alt 235δDelta
Alt 238εEpsilon
Alt 233ΘTheta
Alt 227πPi
Alt 230µMu
Alt 228ΣUppercase Sigma
Alt 229σLowercase sigma
Alt 231τTau
Alt 232ΦUppercase Phi
Alt 237φLowercase Phi
Alt 234ΩOmega

Tuesday, 30 June 2015

Make Your Own Header File ?
Step1 : Type this Code 
  • In this Code write only function definition as you write in General C Program
Step 2 : Save Code
  • Save Above Code with [.h ] Extension .
  • Let name of our header file be myhead [ myhead.h ]
  • Compile Code if required.
Step 3 : Write Main Program
  1. Include Our New Header File .
  2. Instead of writing < myhead.h> use this terminology “myhead.h”
  3. All the Functions defined in the myhead.h header file are now ready for use .
  4. Directly  call function add(); [ Provide proper parameter and take care of return type ]
Note
  1. While running your program precaution to be taken : Both files [ myhead.h and sample.c ] should be in same folder.

Friday, 26 June 2015

How to add background image in Jumbotron in Bootstrap?[Solved]
Click here

What Is the Difference between .conatiner  and .container-fluid in bootstrap???


Quick version: .container has one fixed width for each screen size in bootstrap (xs,sm,md,lg); .container-fluid expands to fill the available width.

The difference between container and container-fluid comes from these lines of CSS:
@media (min-width: 568px) {
  .container {
    width: 550px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
Depending on the width of the viewport that the webpage is being viewed on, the container class gives its div a specific fixed width. These lines don't exist in any form for container-fluid, so its width changes every time the viewport width changes.
So for example, say your browser window is 1000px wide. As it's greater than the min-width of 992px, your .container element will have a width of 970px. You then slowly widen your browser window. The width of your .container won't change until you get to 1200px, at which it will jump to 1170px wide and stay that way for any larger browser widths.
Your .container-fluid element, on the other hand, will constantly resize as you make even the smallest changes to your browser width.

Sunday, 21 June 2015

Multiplication Using Multiplication

(Urdhva Tiryagbhyaam)

Consider the following example :
            37 * 33

Step 1 : Write it as follows
                    37
                    33

Step 2 : Multiply the left most column vertically and  write it below.
             Multiply 3 * 3 to get 9

                    37
                    33
                    9

Step 3 : Next multiply diagonally and add
            i.e. (3*3) + (3*7) = 9 + 21 = 30

Since 30 is a 2 digit number put the last digit (here '0' ) next to 9 and the other digits (here '3' ) below 9

                    37
                    33
                    90
                    3

Step 4 :  Now multiply the RHS column and put it below and total to get the Answer.

                    37
                    33
                    901
                    32 
                   1221

  Hence 1221 is the Answer




This method can be extended for any number of digits .....following are the various steps:-

Thursday, 28 May 2015

Error while starting Tomcat Server version x?SOLVED!!!!

Sometimes following error is encountered while starting Apache Tomcat Server which can be resolved very easily :

ERROR
"Windows could not start the Apache Tomcat 6 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0"
In place of "error code 0" it can be any error code "x"
Solution
When an error of this sort come. please go to start -> configure tomcat -> startup -> Mode -> java similarly start -> configure tomcat -> shutdown -> Mode -> java