This program contains a Perl function I wrote to extract data about a given video.
It also shows how to parse information from program output and organize it usefully.
This has been used a few times in production systems.
If you use this, please drop a comment! It would be fun to know.
I wanted a test pattern video to test a transcoding daemon I wrote for an iPhone application. I wanted to use the classic RCA test pattern image and a tone.
Simply edit the program header with the path to an image you want to use and the name of the output file you’d [...]
As is typical of my posts, this is another reference for my own use. When I can’t immediately remember something, I look here or on my private wiki. I hope you find this list useful.
The mothership. Includes: Planet Perl : Perl History : Learn Perl : Online Perl Documentation
Home of [...]
Before you can use this script, you need to set up SSH so your local cron can access the remote servers without a password.
One thing to note about this script is that it automatically rotates the archived dump files; keeping a fie for the 1st of the week on a month, 1st [...]
This creates the small .mov (or whatnot) redirect files that Apple’s makeiPhoneRefMovie generates. This is simply a driver to creat those files with makeiPhoneRefMovie.
#!/usr/bin/perl -w # # gen_mwn_iphone_mov_redirect_files.pl # # This makes the special iPhone .mov rediect files (~ 300 bytes) that the iPhone # uses to redirect to the appropriate actual movie [...]
This is a quick Perl script that I wrote to solve a particular problem; I needed to check two directories, one of original files and one of transcoded files, to see which files were missing from the second directory. The files in the second directory have different filename extensions, so the utility needs to [...]
This is a script to be run from a daily cron that created a series of sanely named SQL dump files: weekly, monthly, etc.
Always have that backup ready!
#!/usr/bin/perl -w # # No arguments. The program is to be modified to include each database to be archived. # # use strict; use [...]
UPDATE: This port is obsolete, see: Passive Mode (PASV) FTP client on an Ubuntu server
share and enjoy:
I use Komodo IDE for dynamic languages. I like it because it works extremely well and you get a license to use it on whatever machine you happen to be sitting at. Also it works well in Ubuntu and Mac OS/X, both of which I use constantly.
Here’s a macro I use in Komodo [...]