Tuesday, November 15th, 2011
If you're trying to delete files from a directory that have too many files and over sized then simply rm command will not work and you will get error /bin/rm: Argument list too long
Posted in Centos, Errors, Files, Linux | No Comments »
Tuesday, October 18th, 2011
Sometime you may need to find position of a character in a string, charAt() string method comes in for the purpose.
For instance, when you execute the following code;
var mystr = 'I am a test String.';
document.write(mystr.charAt(3)); // Result will be 'm'
Posted in Javascript | No Comments »
Monday, October 17th, 2011
You may need to find/check the duplicate records from a table; You may use the following query. The query will return you the field value that exists more than 1.
Posted in MySQL | No Comments »