Category Archives: Tech Notes

Tech Notes and How-to Guides

Activate Oracle on XAMPP for Windows

PHP has got the OCI8 extension, which provides Oracle connectivity to PHP application, and OCI8 uses Oracle Instant Client Package to get Oracle specific functions. Continue reading

Posted in Tech Notes | Tagged , , , , , | 5 Comments

Free calls to US using Google Voice & Gizmo (with IPKall or a Friend in US)

So how did I get my Google Voice number from outside US… Yeah I live in Sri Lanka, and I have registered my Google Voice number and use it without any restrictions…! Continue reading

Posted in Tech Notes | Tagged , , | 3 Comments

Using the ‘exclude’ option with ‘tar’

The meanings of –exclude and –exclude-from are always confusing to me. I’m always confused with the use of ‘exclude’ options with ‘tar’. Continue reading

Posted in Tech Notes | Tagged | Comments Off

Being Nice on a Linux Box – Process priority with ‘nice’ & ‘renice’

VirtualBox can be given higher priority using nice command. Also renice command can be used to change the priority of a running process. Continue reading

Posted in Tech Notes | Tagged , | Comments Off

Shell – How to get surrounding lines of grep result?

Problem:I'm using grep to search for an error and want to display the surrounding lines also as they contain related information. How to do that? Solution:Using grep -C <# of lines to show above and below> <search> <file> The following … Continue reading

Posted in Tech Notes | Tagged | 1 Comment