Upload with Uploadify running in public_html folder

Just to try it out I tried to get Uploadify to work in my public_html folder. I set it up according to the guidelines in the docs/example and ran. It returned success but the file wasn’t uploaded.

My first debug idea was to add an alert to the onError event.… Fortsätt läsa

Start and stop Selenium Server with NUnit

I want to have our Selenium tests to run automatically the same way as our other NUnit tests does. This means that I want to have the Selenium Server started automatically before running the test cases.

  1. I started by downloading the Selenium RC and unzipped it to C:SeleniumSelenium-RC
  2. I created a .NET project where I referenced the ThoughtWorks DLLs in C:SeleniumSelenium-RCselenium-dotnet-client-driver-1.0.1
  3. I added a new class to where I copied the Selenium getting started C# class
  4. I added my own TestFixtureSetup and a TestFixtureTeardown to this class.
Fortsätt läsa

Combine Time Lapses with standard DV – Avidemux and Sony Vegas

I’ve just gone trough some hoops to import a time lapse video made in Avidemux into my standard DV project in Sony Vegas. My first issue was to find a suitable video format and the second to get the size of the time lapse video to match the size of the DV format.… Fortsätt läsa

Script to cleanup Windows hidden attributes and AlbumArtSmall.jpg

I wanted to remove the hidden files attributes and delete some types of files so I created the following bat-file.

attrib -R -A -S -H D:Music* /S /D
del /S /P D:Music*AlbumArtSmall.jpg D:Music*desktop.ini

(Don’t ask me why /S /D should be last on the line when using attrib and first when using del, but the manual said so.)

The first line removes all read only, archive, system and hidden -attributes on all files, folders and subfolders in folder D:Music.… Fortsätt läsa

Pair programming to close the gap between business and development

Before I started pairing I often felt that there was a gap between business and development -departments. Communication was mostly done via bug trackers or specifications. Issues were ofter dealt with via e-mail and misconceptions were common.

Since I started pairing I feel a greater (not perfect but better!) contact to the business and I think it’s because I’m used to take discussions.… Fortsätt läsa

Logitech QuickCam mod to fit a standard tripod

I have a Logitech QuickCam Communicate Deluxe webcam. It’s a decent webcam apart from the non standard mounting holes. I wanted it to fit a standard tripod so I did some modding. Here is how.

I started out by splitting the screen clip from the cam.… Fortsätt läsa

Replace batteries in Philips Philishave 5890 and Philips Hair trimmer HQ-C280

Recently the batteries in my shaver (an old, but working, Philishave 5890) and hair trimmer (an old, but working, Philips HQ-C280) died. I looked around online for replacement batteries but didn’t find any specifications. I opened the devices but they didn’t tell what to use for replacements.… Fortsätt läsa