Quick Perl Snippet: Finding If A File Has A Media Extension Using Regex
Sometimes in my line of work, I need to figure out if a url or filename point to a media file by checking for the file extension. If it's a url, however, it may be followed by various parameters. Not...
View ArticleHow To List Files Within tgz (tar.gz) Archives
This may not be very obvious but this is the command line to list files within a tar.gz archive on the fly: 1 tar -tzf file.tar.gz -t: lists files-f: instructs tar to deal with the following filename...
View Article[Perl] Finding Files, The Fun And Elegant Way
No matter what programming language you use, there comes a time when you need to search for a file somewhere on the file system. Here, I want to talk about accomplishing this task in Perl. There are...
View ArticleHow To View A Specific SVN Revision In Your Browser
This is a quick recipe that I found pretty interesting and relatively unknown. Everyone who uses SVN knows that most repositories are set up to allow viewing of their contents via a web browser. For...
View Article
More Pages to Explore .....