This is simple script to demonstrate the capabilities of PHP with the GD library, which provides a lot of image functions that can be useful in many applications.
Tag Archives: Linux
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’.
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.
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 prints the matched line, along with the 5 lines surrounding it. $ grep -C 5 […]
VLC Media Player says Merry Christmas
The popular multiplatform media player VLC Media Player says Merry Christmas to all users this festive season by putting a red Christmas hat icon. This is an Easter egg in the latest version of VLC media player, and those who have the updated version will notice this at use. renjus blog reports that, If you […]