Posts

How to Find Duplicate Values in MySql?

How to Find Duplicate Values in MySql? Syntax: SELECT id, COUNT(*) c FROM table_name GROUP BY id HAVING c > 1;

Is it Possible to create barcode in Adobe Acrobat Reader using Script?

In Adobe Acrobat Reader, in the tools Task --> Add New Text Field --> Barcode. I tried that. Am not asking about that type of creating a barcode in PDF. How to create through script? IF ANYONE KNOWS MEANS SHARE ME LINK REGARDING THAT THANK YOU

How to fetch the Exact UPPERCASE values from a column in MySQL?

How to fetch the Exact UPPERCASE values from a column in MySQL? If a column have uppercase value like "NEW". We want to take the exact value from the table. SELECT * FROM sales  WHERE status REGEXP BINARY '^[A-Z]{2,}' AND uploadeddate LIKE '%2017-03-31%' AND status = 'NEW';                 

An internal error occurred during: "Building workspace". Java heap space

Image
An internal error occurred during: "Building workspace". Java heap space  If you are facing this error while building workspace. The Eclipse told you to close the eclipse.     For that you want to change the Eclipse.ini file. Increase the value of Xmx and Xms value. Open the Eclipse Home directory and search for eclipse.ini file.  Right click that file and give edit    Edit the file and Save the file. Then open the Eclipse and start work on it. Here  i coded the Xms and Xmx value is for my system. Based upon your system RAM. you want to give the values  

Could not publish server configuration for tomcat v8.0 server at localhost. multiple contexts

Image
Could not publish server configuration for tomcat v8.0 server at localhost.           multiple contexts containing same name /projectname The server.xml file is corrupted by Eclipse!!! I found out many times with Eclipse, don't be afraid to do some  changes in XML file. Inside the Eclipse we have Server folder. In that open the server.xml file. Just search your project name in the form of ['/Project Name']. Notice How many context tags are there in the same path? Remove the unwanted context tags.  Note:  [If there is three context tags with your project name then delete the two context tags and remaining one will remain there. ]

How to check a checkbox is checked or not using jQuery

How to check a checkbox is checked or not using jQuery <html> <head> <script type="text/javascript">  $(document).ready(function(){$('#checkdelivery').click(function(){ if($(this).prop("checked") == true) { alert("The checkbox is checked"); $('#addressbtn').show(); } else if($(this).prop("checked") == false) { alert("The checkbox is Unchecked"); $('#addressbtn').hide(); } });  </script> </head> <body> <input type="checkbox" id="checkdelivery" name = "checkdelivery"  value = "1"> Delivery address</input>  <input type="submit" id="addressbtn" name="addressbtn" value="Continue"  class="button"style="margin-left: 30px; width: 51% !important;display:none;"/> <...

How do i Increase the capacity of the Eclipse Output console?

Image
Under Window > Preferences , go to the Run/Debug > Console section, then you should see an option "Limit console output." You can uncheck this or change the number in the "Console buffer size (characters)" text box below . ( This is in Galileo, Kepler, Juno, Luna, Mars and Helios CDT ). Here I shared some screen shot of the above                                               Window -->Preferences     Run/Debug --> Console   Uncheck the Limit Console Output. Then click the Apply button for the changes. Then click ok. Now your output console capacity is big to view your complete output.