Wednesday, 14 July 2010

Thursday, 1 July 2010

CVS : Pre-tag check failure

Very annoying and a completely useless error message

This may be caused by a validation rule being set up on tags - eg. disallowing them to be moved/deleted
Look at ../CVS/CVSROOT/taginfo which matches items being tagged to an executable to validate the action
eg a line like
DEFAULT /usr/local/bin/stop_tag_hack.sh
will redirect to the shell script which can contain something like the following to stop deletes or changes :
TAG_OP=$2
if [ "$TAG_OP" != "add" ]; then
   exit -1
   # exit 0
fi

Monday, 28 June 2010

Mysql : Reset root password

service mysql stop
mysqld_safe --skip-grant-tables &
mysql -uroot mysql
UPDATE user SET password=PASSWORD("abcd") WHERE user="root";
FLUSH PRIVILEGES;
mysql -uroot -pabcd mysql

Windows : Remove IE advanced security

* This is done by uninstalling the windows component Control Panel->Add or Remove Programs->Add/Remove Windows Components->Stuff

Monday, 14 June 2010

RMAN : Simple restore of archive log to default location


$ORACLE_HOME/bin/rman nocatalog
connect target dba_cron/password

run {
ALLOCATE CHANNEL c1 DEVICE TYPE DISK;
restore archivelog sequence 214629;
restore archivelog sequence 214630;
}

Wednesday, 26 May 2010

Windows : DesktopOk - desktop icon organizer that supports Windows 7 and 64bit

Seems good so far

http://www.softwareok.com/?Download=DesktopOK&goto=../Download/DesktopOK_x64.zip


Friday, 7 May 2010

Outlook: Suppress notification popups

To turn this feature off, click Tools, Options, Email Options, and Advanced Email Options