define( 'WPCACHEHOME', '/srv/www/' ); //Added by WP-Cache Manager computers | Ian Chilton


Posts Tagged ‘computers’

Find and Replace Across Multiple Files

March 15th, 2009 4 comments

Have you ever needed to change the same thing in a load of files and have had to sit there and go through each one in turn and make the same change?

This is a really useful and simple command:

perl -pi -w -e 's/from text/to text/g;' *

It simply goes through all files matching * and runs the regular expression, ‘s/from text/to text/g’ – which means replace all instances of “from text” with “to text”.  nifty!

Categories: UNIX Tags: , , ,

Free Software

March 15th, 2009 1 comment

It always amazes me, in this day and age where so much is centred around money and people trying so many different things to make money, how much you can get for free. In particular i’m talking about software. For every piece of paid software, there will generally be one or more free alternatives. They are sometimes not as good, sometimes better – but free and generally someone – or a group of people have spent countless hours creating something…to give away for free. Excellent!

There is all kinds of different free software around – from web sites/online tools, operating systems to just plain old software.

Here is a very useful site i’ve found which is really useful for finding cool, free Windows applications:

Categories: Software Tags: ,