Packing and Unpacking in Perl
This post is more to serve as a reminder to myself. Perl has a handy keyword called pack which helps to store a variable in the template specified. pack thus takes two arguments. The first argument is the template and the second argument is the string to be packed according to the template.
Read the full content
Bash YouTube Downloader
Here is a simple bash script to download YouTube Videos in mp4 via command line.
Read the full content
IP from Command Line
This is a quick post. I was wondering how to get my IP Address without going to popular sites. I came up with this bash script
Read the full content
Mastering those awks, greps and seds
What makes a GNU/Linux system infinitely useful and productive than a Windows system ? I would say, it is the countless utility programs available as part of the GNU Program. These nifty little demons are both a blessing and curse. A blessing in the sense that, almost all your text processing capabilities are handled smoothly and efficiently by these tools. On the other hand, knowing very little about one tool also has its disadvantages.
Read the full content
Advanced grepping
I’ve been using GNU/Linux for almost an year now. But the surprises and features that GNU programs have been showing almost always amazes me. Its like having a monster beast in hand, trained to do only a particular task. As time goes on, you forget that the beast can do much more than it was trained for.
Read the full content