FW: Ted Talks – Sarah Jones: One woman, eight hilarious characters

Share Button

Are you receiving the “Useless localization of scalar assignment” error when using Exception::Class::TCF with Perl 5.10? I have a fix for you!

The following is a patch for bug 45563 in Exception::Class::TCF:

Useless localization of scalar assignment at Exception-Class-TCF/lib/Exception/Class/TCF.pm line 255.

Index: lib/Exception/Class/TCF.pm

--- lib/Exception/Class/TCF.pm	(revision 83)
+++ lib/Exception/Class/TCF.pm	(working copy)
@@ -251,8 +251,11 @@
my($block,@catches) = @_;
-    $HANDLE_WARN &&
-      local ( $SIG{'__WARN__'} =  sub { throw Exception::Class::TCF::Warning @_;  } );
+    if ($HANDLE_WARN) {
+      local ( $SIG{'__WARN__'} ) =  sub { throw Exception::Class::TCF::Warning @_;  };
+    }
$res = eval { &$block() };
$exc = $EXCEPTION;
Share Button

How to contact Yahoo!’s Customer Service Department

Toll Free USA: 1-800-318-0631
Toll Free USA: 1-866-562-7219
Toll Free Canada: 1-877-722 3755
Direct Number: 1-408-349-1572
Yahoo Fax Number: 1-408-349-3301

Share Button

Excellent Training Videos from India’s National Programme of Technology Enhanced Learning (on YouTube)

India’s National Programme of Technology Enhanced Learning provides technical lectures from all seven Indian Institutes of Technology and Indian Institute of Science, Bangalore.

The Video Courses are organised as PLAYLISTS under the following Categories:

  1. Core Sciences
  2. Civil Engineering
  3. Computer Science and Engineering
  4. Electrical Engineering
  5. Electronics and Communication Engineering
  6. Mechanical Engineering

Lecture 21 PERL – Part I from the Computer Science & Engineering’s Internet Technologies course is an excellent example of these training videos:

Share Button

How to enable font anti-aliasing for Windows XP Sp3 remote desktop connections

Microsoft quietly added the capability for font anti-aliasing (font smoothing) in Windows XP Service Pack 3.  This applies to Terminal Services (Remote Desktop / Remote Assistance) connections. This is very easy to do.  Just open up regedit (Start->cmd -> regedit) and make the following change:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations]

New DWORD Key: AllowFontAntiAlias

Value: 00000001

That’s it 🙂

Share Button

So you want to tweet to Twitter from *WITHIN* Oracle 11g? Here’s how!

Lewis Cunningham Twitterhas once again given us a gem from the world of Oracle’s relational DBMS!  This time, he has written ORA_Tweet, an API to send/receive Tweets (microblog posts) from within Oracle 11g.  Major kudos to Lewis Cunningham for writing and releasing ORA Tweet to Sourceforge.net 🙂

Call the Twitter API from within an Oracle database. ORA_Tweet uses the UTL_HTTP API within Oracle to call the update_status API. It is written completely in PL/SQL.

So, my question is…  Will someone write a Flickr API for Sybase ASE?

Share Button

BASH: How to retrieve multiple ip addresses for a host name and put them into a BASH array

BASH‘s read has the capability of stuffing an array (ip_addresses) with the tokenized STDIN. The three less than signs “<<<" tells BASH to redirect the stdout output of the following statement. [bash highlight_lines="9"]#!/bin/bash servers=( pop.bizmail.yahoo.com smtp.bizmail.yahoo.com forums.sybase.com ) for server in ${servers[@]}; do # declare that variable ip_addresses is an array. not strictly needed but makes it a bit more readable IMHO declare -a ip_addresses read -a ip_addresses <<< $( host $server | awk ' $3 == "address" { print $4 } ' ) for ip in ${ip_addresses[@]}; do sudo route add -host ${ip} gw dev bnep0 done done[/bash] We can see the output of the script: [text]pop.bizmail.yahoo.com is pop.bizmail.yahoo.com is pop.bizmail.yahoo.com is smtp.bizmail.yahoo.com is smtp.bizmail.yahoo.com is forums.sybase.com is[/text]

Share Button