Archive for the 'General' Category

Image with same path doesn’t show up due to cache in browsers


Browsers are designed to think that Images with same name don’t change rapidly so regularly.  This creates a problem in some cases where you have to reuse a  specific name Or a specific location for a system.
(more…)

  • Share/Bookmark

Archive for the 'General' Category

Fastest Insertion Sort in PHP


$numbers = array(2,3,4,5,1,8,11,0);
$count = count($numbers);
 
for($i=1;$i<$count;$i++){
	$j=$i-1;
	$key = $numbers[$i];
	while($j>=0 && $numbers[$j] >  $key){
		$numbers[$j+1] = $numbers[$j];
		$numbers[$j]= $key;
		$j= $j-1;		
	}
}
print_r($numbers);
  • Share/Bookmark

Archive for the 'General' Category

Best practices for faster Web Pages


A few best practices for web page performance

1.Make Fewer HTTP Requests

2.Use a Content Delivery Network

(more…)

  • Share/Bookmark

Archive for the 'General' Category

AWK ! A boon for CLI enthusiasts


AWK is a general purpose programming language that is designed for processing text-based data, either in files or data streams, and was created at Bell Labs in the 1970s

I noticed that Erik Wendelin wrote an article “awk is a beautiful tool.” In this article he said that it was best to introduce Awk with practical examples. I totally agree with Erik.

Eric Pement’s Awk one-liner collection consists of five sections:

  • 1. File spacing,
  • 2. Numbering and calculations,
  • 3. Text conversion and substitution,
  • 4. Selective printing of certain lines,
  • 5. Selective deleting of certain lines.

The first part of the article will explain the first two sections: “File spacing” and “Numbering and calculations.” The second part will explain “Text conversion and substitution”, and the last part “Selective printing/deleting of certain lines.” (more…)

  • Share/Bookmark

Archive for the 'General' Category

Bad day: whack your boss


Too much work ? Slow servers ? Boss going crazy ?  Nothing working out ? Feel like killing someone ? ?

(more…)

  • Share/Bookmark

Archive for the 'General' Category

103 Ways To Know Your Software Project Is Doomed


inspired from: codesqueeze.com

  1. Management has renamed its Waterfall process to Agile Waterfall
  2. You start hiring consultants so they can take the blame
  3. The Continuous Integration server has returned the error message “Fuck it, I give up”
  4. You have implemented your own Ruby framework that uses XML configuration files (more…)
  • Share/Bookmark

Archive for the 'General' Category

Hello Lamp-World !


Welcome to the world of LAMP.

For all you disgraceful people who don’t know what it is, the definition:

L = > Linux ( Its an operating system )
A => Apache ( Its a web server )
M => MySQL ( Its a database system )
P => PhP {&perl } ( These are programming languages )

Wiki page: http://en.wikipedia.org/wiki/LAMP_(software_bundle)

We, here, at Lamp-World are group of people who live eat and think lamp.  This site is aimed to have a collection of amazing ’scripts’ , ‘tweaks’ and ’solutions’ which you may not find anywhere else.

  • Share/Bookmark