Too Jewish with Rabbi Cohon

Get it here! Perl DBD::Sybase 1.09.01 for Active State Perl 5.10 and 5.8 on Windows XP/Vista/7 32bit

Assuming that you installed Sybase OpenClient 15.5 from the 15.5 PC Client:
Install ActiveState Perl from http://www.activestate.com (free) and install DBI if it isn’t already installed.  It should be but you never know…

Start -> ActiveState Perl -> Perl Package Manager
install DBI
exit

Now, the easy part.  Install the DBD::Sybase 1.09.01 PPM:

download DBD::Sybase 1.09.01 PPM
extract zip file [...]

Get it here! Perl DBD::Sybase 1.09 for Active State Perl 5.10 on Windows XP/Vista/7 32bit

Assuming that you installed Sybase OpenClient 15.5 from the 15.5 PC Client:
Install ActiveState Perl from http://www.activestate.com (free) and install DBI if it isn’t already installed.  It should be but you never know…

Start -> ActiveState Perl -> Perl Package Manager
install DBI
exit

Now, the easy part.  Install the DBD::Sybase 1.09 PPM:

download DBD::Sybase 1.09 PPM
extract zip file to temporary [...]

How to resize a Gdk.Pixbuf to the size of a Gtk.Image visible area

I wrote a simple image viewer that will load a photo image into a Gtk.Image widget using a Gdk.Pixbuf.  I then added a tool bar with four clickable icons.  Zoom out, zoom in, fit to window and original size.

All but the fit to window worked well.  When I pulled the width and height from image1.GetSizeRequest(out [...]

A better way to convert your mp3 tags using Perl, POE, Linux::Inotify2 and POE::Wheel::Run (for you Sony PS3 or other media player)

Yesterday, I posted Howto: Convert your mp3 tags (id3v2 to id3v1) so your Playstation 3 can play your MP3s! and it worked fine but there was one little problem with it.
When we processed the files, namely running eye3D, we did so synchronously. Essentially, the file notification came in from the Linux kernel and we [...]

Howto: Convert your mp3 tags (id3v2 to id3v1) so your Playstation 3 can play your MP3s!

Run the converter on your media server: ps3_mp3_converter.pl -d {directory}
Copy your mp3 collection wherever you told ps3_mp3_converter.pl to run in.

#!/usr/bin/perl
use strict;
use warnings;
use File::Basename;
use File::Find ();
use Getopt::Std;
use Linux::Inotify2;
use POE;
$|++;
#######################################
#######################################
our @found_dirs;
sub watch_add_dir {
 my ($heap_ref, $session, $dir_name) = @_;
 $heap_ref->{inotify}->watch($dir_name, IN_CREATE|IN_CLOSE_WRITE, $session->postback("watch_hdlr"));
 print " Watching directory $dir_name\n";
}
sub watch_hdlr {
 my ($heap_ref, $session, $event) = ( $_[HEAP], $_[SESSION], $_[ARG1][0] );
 my $name [...]