Monday, December 27, 2010

Things to remeber in linux

  • Display All Information About Files/Directories Using ls -l


Thursday, December 23, 2010

Things to remeber in html

  • text box width is set by style property only style="width:20px" not by width property <input type="text" id="text1" name="text1" style="width:20px" />
  • For putting html in the blogger you should go to this site and encode the code http://centricle.com/tools/html-entities/



Monday, December 20, 2010

Things to remeber in php

Things to remember in php so that you don't dependent on google and manual.

  • To push values in array $stack.
array_push($stack, "apple", "raspberry");
  • preg_split used in youngib api for commandline interface .
    array preg_split ( string $pattern , string $subject [, int $limit = -1 [, int $flags = 0 ]] )

Friday, December 17, 2010

Indexing in database

  • An index is a separate file that is sorted, and contains only the field/s you're interested in sorting on. If you create an index on employee_number, MySQL can find the corresponding record very quickly (Indexes work in very similar ways to an index in a book. Imagine paging through a technical book (or more often, an scrambled pile of notes!) looking for the topic "Optimizing MySQL". An index saves you an immense amount of time!
  • http://www.databasejournal.com/features/mysql/article.php/1382791/Optimizing-MySQL-Queries-and-Indexes.htm