Reading from standard input and writing to standard output or standard error using PHP

August 24th, 2012

One of the most common command line tricks in Linux is to chain multiple commands using the pipe symbol i.e. you feed the output of one command as the input of another. This is called standard input and standard output redirection. PHP is usually used to program for the web but it can also be used as a shell scripting language to automate tasks and like any good shell scripting language it is possible to read from standard input and write to standard output using PHP.

Read more »»

ImgBurn free CD and DVD burning software.

August 30th, 2010

ImgBurn free CD and DVD burning software

A DVD burner is a utility program in the truest sense of the word. You want it do one task and do it well. So its important that it startup quickly and be simple and reliable to use.

I was unimpressed with the stripped-down version of Nero that came with my new DVD writer. It was bloated, slow and complicated to use. There were too many unnecessary steps involved in burning a DVD with Nero essentials 9.0. So I went looking for an alternative and found a freeware application called ImgBurn that does a better job.

Read more »»

Capturing screenshot of entire webpage

June 26th, 2009

Web pages can contain a lot of content and be very long. Too long in fact to create a screenshot by hitting the print screen button on your keyboard. So what we need is a utility called IECapt that takes the screenshot of the entire web page. Read more »»

Adding search engines to firefox

April 15th, 2008

Firefox web browser has this really useful search bar integrated into its interface:

If you click on the arrow next to the google icon you’ll get a list of other search engines that you can use:

Read more »»

Computers and paper consumption

July 7th, 2007
/uploads/work-paper.jpg
Paper consumption is increasing.

Shirazi of chowrangi.com has an interesting article about computers and paper consumption. He argues that increasing use of computers and web publishing will result in the reduction of paper consumption and hence be good for the environment.

However the statistics that he has presented reflect the very opposite:

Estimate show that paper consumption has trebled during the last thirty years, and given the present trends, it is likely to double by 2010 that is a big cause of concerns because it is linked with seismic environmental problems, from deforestation through industrial pollution to waste.

There can be many reasons for this increase in paper consumption. It could well be argued that the world population has increased and that is the chief cause of this increasing demand for paper.

Read more »»