grep ifconfig list ips

July 4, 2011

Linux ifconfig Example Type the following command: ifconfig | grep ‘inet addr:’| grep -v ‘127.0.0.1’ | […]

replace text in a file with perl

July 3, 2011

here’s how to replace text in a file with perl: perl -pi -e ‘s~OLDTEXT~NEWTEXT~g’ /path/to/filename

oracle password expiration help

April 26, 2011

I’m using Oracle 11g and was really confused on how the password expiration date was set […]

redmine all users projects query

January 26, 2011

Ever needed to get all projects associated with every user in redmine?  Here’s a query that […]

Howto: C# Generate dump file on crash

January 21, 2011

how to generate a dump file on application crash in c# using System; using System.Collections.Generic; using […]

mssql truncate all log files

December 8, 2010

Learn in MSSQL how to truncate all log files! This transact-sql statement uses the core truncation […]