Tethering a Treo 700w Under Kubuntu Linux 8.04

I have finally been able to get the USB modem feature with the Windows Mobile 5, Verizon Treo working under Linux.

Following is a detailed how to on getting it set up and running.  In this case, I was doing it with an IBM ThinkPad T42 running Kubuntu 8.04.

This how to should help you figure out how to get other mobile devices to work as well.

  • The first thing that you need to do is make sure that you
Continue reading “Tethering a Treo 700w Under Kubuntu Linux 8.04”

Creating Aliases with a “.” in them under qmail

If you are creating aliases that contain a "." in qmail via the command line you need to make sure to replace any "."s with ":"s.

Otherwise, qmail will simply deliver the mail to the equivalent of /dev/null.

Such that the alias ryan.chapin@nbinteractive.com’s alias would be:
.qmail-ryan:chapinContinue reading “Creating Aliases with a “.” in them under qmail”

Loading and Manipulating FlashPaper 2.0 SWFs into Flash

This tutorial demonstrates how to load and manipulate (resize in this example, but once you have access to the API you can do a whole lot of other things) FlashPaper 2.0 SWF files with ActionScript 2.0.

You will need:

  • Flash MX 2004 or Flash 8
  • FlashPaper 2.0

Click here to see the example in action.
Click on the attachment to download sample files.
In this example, we will simply load a FlashPaper 2.0 document and scale it to fit the → Continue reading “Loading and Manipulating FlashPaper 2.0 SWFs into Flash”

Using Michael Jordan’s Open Source Captioned Skins for the FLVPlayback Component in AS 2.0

Following is a quick tutorial on how to set-up and use the set of captioned FLVPlayback skins created by Michael Jordan.

This tutorial covers using the skins with ActionScript 2.0 cuepoints.

First off, download the set of skins.  I’ve included them with this blog entry (because Adobe is notorious for moving and deleting pages), but there may be a newer version out there so check out this page, and/or Michael’s page.

Once you’ve downloaded and installed the skins → Continue reading “Using Michael Jordan’s Open Source Captioned Skins for the FLVPlayback Component in AS 2.0”

Setting Up an IIS Webserver under Windows XP Pro

I recently had a client who was hosting a site on IIS under Windows XP Pro using .NET and ASP.

As a result, I needed to set up an appropriate development environment to test and debug the site before handing it over.

I opted for setting up VMware install that was running the necessary OS and software.

Following is a quick how-to on setting it all up.

Installing IIS 5.1 and .NET 2.0 on Windows XP Pro:

  1. Go to Add/Remove
Continue reading “Setting Up an IIS Webserver under Windows XP Pro”

Deleting the Cruft in Windows 2000

Windows tends to store a ton of temporary files that, over time, tend to fill up your hard drive.

There
are a number of places to look for these files and a couple of things
you can do to periodically purge your system of files you don’t need.

First, right-click on your C drive and select "Properties".  Then click on the "Disk Cleanup" button on the main tab.

You can also look in C:\Documents and Settings\Administrator\Local Settings\Temp

And look for → Continue reading “Deleting the Cruft in Windows 2000”

Search and Replace for a New Line Character in VI

For all of you out there who use vi on a regular basis . . . I recently needed to do a search and replace on a large document and needed to key off of the new line characters in the document.

After a bit of searching here’s what I found:

If you need to do something like, search for all new lines and add the new line plus "foo" do the following:

:1,%s/\n/^Mfoo/g

You get the ^M character by → Continue reading “Search and Replace for a New Line Character in VI”

Embedding Flash with Valid Markup

Anyone who has tried to W3C validate a page with the default output from Flash knows you get a slew of errors.

Here’s a great article on modifying your <object> and <embed> tags so that your pages will validate.

Flash Satay: Embedding Flash While Supporting Standards by Drew McLellan

Here’s a quick example that you can run with that includes the markup for a transparent background:

<object type="application/x-shockwave-flash" width="368" height="201" data="icms_art/nbir5.hdr.anim.swf">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param
Continue reading “Embedding Flash with Valid Markup”

Mounting Logical Volumes Under Linux

Let’s say you have a disk that you want to put in an external USB enclosure, mount and read some files.  What if it’s a boot disk that uses LVM?  What if you have two LVM groups with the same name?

Here’s a quick how-to on mounting just this type of LVM volumes from a USB disk.

When you first attach your disk in it’s USB enclosure you should be able to see which device it is associated with by → Continue reading “Mounting Logical Volumes Under Linux”

A Quick How-To on Installing IIS and .NET under Windows XP Pro

I’ve got a client that needs a site with a simple navigational program to be hosted under IIS with ASP.NET.

So, I put together IIS on a VMWare XP install and here’s the quick how-to:
1. Go to Add/Remove programs
2. Put the WinXP Pro install CD in the machine.
3. Click on Add/Remove Windows Components and click on the check box next to Internet Information Services (IIS)
4. After installation you should be able to open up a browser → Continue reading “A Quick How-To on Installing IIS and .NET under Windows XP Pro”