Tuesday, 16 September 2008

Grep for rows after and before a pattern

Gnu gre.

grep -A 2 ORA-01555 bdump/alert_LIVE1.log | grep -B2 SYS.EXU9R

-A = After
-B = Before

Friday, 5 September 2008

SmartCVS - ignoring files in foundation edition

Create the file .cvsignore in your home directory with exclusion pattern per line
F
or windows this is %USERPROFILE% and you need to rename the file to .cvsignore at the command prompt as explorer does not like files with only suffixes

Wednesday, 28 May 2008

Find with Grep

find . -exec grep -H -n -i 'string' {} \;

Wednesday, 6 February 2008

FoxyProxy

FoxyProxy is a Firefox addin that can automatically switch web proxy based on string matches to the entered URL.

Trying this out with Portable Tor - seems a goody

Saturday, 2 February 2008

The Illusionist (2009)

Sylvain Chomet (of Belleville Rendez-Vous - a great film) has a current project The Illusionist based on a Jacques Tati script - out in 2009 - one to watch for :)

Friday, 25 January 2008

Removing Duplicates in Excel 2007

Removing Duplicates in Excel 2007

1. To the right of your data, copy the heading from the column where you want to find unique values.
2. Select a cell in your data set.
3. In Excel 2007, choose the Advanced icon from the Sort & Filter group of the Data ribbon.
4. Choose Copy to another Location
5. In the Copy To box, specify the copy of your heading. In the Figure, this is cell D1
6. Click the box for Unique Records Only
7. Click OK"

Thursday, 24 January 2008

Always show year with ls

ls -l --time-style=long-iso