Quantcast
Channel: beer planet » file
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

How 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

Image may be NSFW.
Clik here to view.

[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 Article

Image may be NSFW.
Clik here to view.

How 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
Browsing latest articles
Browse All 4 View Live




Latest Images