Monthly Archives: September 2009

How To Change Your CPAN urllist

# cpan cpan> o conf init … Connecting to ftp.perl.org|64.27.65.115|:21… connected. Logging in as anonymous … Logged in! ==> SYST … done. ==> PWD … done. ==> TYPE I … done. ==> CWD /pub/CPAN … done. ==> SIZE MIRRORED.BY … … Continue reading

Leave a comment

How to Install Flash Firefox Plugin for 64-bit Fedora Linux

Download the plugin here. Tar -zxvf the tar.gz file. Copy that file to: /usr/lib64/mozilla/plugins Restart firefox. Check “about:plugins” in your address bar to see the Flash plugin installed Plugin file should look like this: /usr/lib64/mozilla/plugins/libflashplayer.so about:plugins should look like this: … Continue reading

Posted in Flash, Linux | Leave a comment

No recognized SSL/TLS toolkit detected

While running Apache configure, if you get this error: No recognized SSL/TLS toolkit detected …do this: yum install -y openssl-devel # Required for Apache configure

Posted in Errors | 1 Comment

How To Add a MySQL Column with Index

ALTER TABLE mytable ADD mycolumn INT UNSIGNED NOT NULL AFTER othercolumn , ADD INDEX ( mycolumn );

Tagged | Leave a comment

How To Fix a Perl Memory Leak

If you’re using HTML::TreeBuilder, you might find a memory leak when creating lots of trees. You must explicitly delete the trees because HTML::Tree does not use weak refs. Here’s how to delete the ref: use HMTL::TreeBuilder; my $formatter = HTML::FormatText->new(); … Continue reading

Leave a comment

How To Determine Directory of Sourced Bash Script

Sourcing a script can be useful for exporting variables in the current shell. However, you can’t use “dirname $0″ to get the directory of the script. Here’s how to get the same effect of dirname, but still allowing you to … Continue reading

Posted in Linux | Leave a comment