Free Video Converter for Windows

Posted in Video on August 31st, 2009 by phoenixdigital

I am totally sick of all these pretend free applications out there for converting videos. I finally found one that appears to be legitimately free and doesn’t have any crap hidden spyware features. It’s called Format Factory and will convert to and from ALOT of different formats.

Tags: , , , , , ,

C# Accessing AppSettings from Within a Class

Posted in C# Programming on August 27th, 2009 by phoenixdigital

This is a simple one but I have put it here as a reference.


C# Repeater Bindings to SQL and Objects

Posted in C# Programming, VB .Net Programming on August 27th, 2009 by phoenixdigital

For a dataset from SQL the below will retrieve the field from the resultset called ‘Name’
<%#DataBinder.Eval(Container.DataItem, "Name")%>

For a list the below will retrieve the member variable Fred from each of the objects appears to work for ASP.NET

or for C#
Remember your class must define getters and setters
public string name { get; set; }

C# Class to handle logging to the filesystem

Posted in C# Programming on August 26th, 2009 by phoenixdigital

This handy little class will store a text logfile in the /logs directory of your website. You will need to ensure the webserver user has write access to this directory.
Read more »

XML Request Response in C#

Posted in C# Programming on August 26th, 2009 by phoenixdigital

The following code example performs the following

  • Opens connection to a webservice URL
  • Passes through XML request
  • Reads XML response from webservice

Note this example relies on a Literal ‘ltlOut’ being present to spit the response into.

I have added it here so I can find this example again if required
Read more »

Tags: , , , , ,

OS X Timemachine on a Windows Network Share

Posted in Blog2Blog, OS X Tips on August 19th, 2009 by phoenixdigital

Another blog of a blog. If you haven’t noticed by now this blog is really a glorified bookmark location of things I need to find again. Hopefully though you might find something useful.

This site explains how to get TimeMachine for a OS X to backup over the network to a share on a windows machine. This is useful so I don’t have to worry about plugging my laptop into the backup drive all the time. It all works seamlessly over the wireless.

As a note if you have trouble with time machine failing when starting the backup you may be using the wrong MAC address. I had setup my sparsebundle with my wired NIC MAC address, not my wireless one. I discovered this while watching the windows share from the windows machine where I saw Timemachine try to make a new sparsebundle with a different MAC address. It then failed… I rebuilt my sparsebundle with the name Timemachine was trying to create and it worked!!!

If you ever want to connect to this backup from another mac you will only need to find this sparsebundle in finder and open it up. This will mount the backup and you can look through it looking for the files you need.

Edit: 11-Sep-2009
The above also worked in Snow Leopard for me (I was using the previously created sparsebundle so did not try from scratch). Some people have had issues however and you may find help on this forum this forum. I must admit this is the one thing about Mac’s I don’t like. They cripple stuff so you have to buy their expensive hardware.

Edit: 21-Sep-2009
I just rebuilt my sparsebunde from scratch and snow leopard now requires you to add a file into your sparsebundle to what I assume is authorise it for use.

I created my sparsebundle manually too using the following command
hdiutil create -nospotlight -library SPUD -size 250g -fs HFS+J -type SPARSEBUNDLE -volname "Time Machine" -verbose "MacBookName.sparsebundle"

Create a text file called which will contain the following. Place your UUID in this file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

(Note you can get your UUID from clicking on Apple Logo top left of the screen -> About This Mac -> More Info.
Now copy the sparsebundle across to your SMB share and copy the plist file into it. You may need to copy the plist file separately and move the plist file into it from the other end as the OS X sees sparsebundles as a file not directories.

Thanks to sunkid for his info here

Tags: , , , , ,

Controlling a PC with your Mac’s Keyboard and Mouse

Posted in OS X Tips on August 19th, 2009 by phoenixdigital

This is not a post about remote desktop which allows you to control a PC remotely. This is useful if you have a Laptop and a PC sitting on your desk (with a monitor). If you are constantly changing keyboards and mice to switch between machines, you will probably find this program quite useful. This will allow you to use your mac keyboard and mouse on your laptop to control the PC on your desk. It’s like an RDP but without the screen. There are a heap of other ways to use this program but that is the way I need and use it.

I used to use osx2x for this however it had alot of issues with passing across alt tab (which is pretty critical with windows)

There is a newer version which can be setup with the same instructions above. However it has the same issues with MacKey-Tab and Alt-Tab as osx2x did. So I am still using the older version.

An Example conf file for two computers (WindowsPC and MacMiniG4)
section: screens
section: links
    right = MacMiniG4.local
    left = WindowsPC
I also have a shell script which I use to start the server on my mac.
synergys -f –config /Users/youUserDirectory/bin/synergy.conf &

This may also help

I found this through a list of software here.

Tags: ,

Webservice Testing Tool

Posted in Uncategorized on August 17th, 2009 by phoenixdigital

Great free tools for Windows users to test your webservices.

iPhone Hacks and Important Directories Firmware 3.0.x

Posted in iPhone Hacking on August 12th, 2009 by phoenixdigital

This is a list of hacks I perform to my iPhone each time I do an upgrade. I do this to enable me to customise things and not be locked down to what Apple thinks I need.

Jailbreak It
Firstly you need to jailbreak your iPhone. This is currently done using redsn0w.

File Management
Then I recommend installing iPhone Explorer which will allow you to move files between your iPhone and PC/Mac via the Apple USB cable.
This can be achieved by SFTP (install OpenSSH in Cydia) but I find that a bit fiddly and also means you need to open up your iPhone wirelessly.

Replace SMS Alert Tones
You can then replace the SMS tones with custom ones

SMS Database

SMS Ringtone Locations


Change SMS Alert Tone Names
The above hacks will only change the audio of the SMS alert tones. To change the names as they appear in the list you will need to change a plist file on the iPhone. Please note I am not 100% sure how to edit a plist file on a PC so apologies windows users.

  • Download /Applications/
  • rename to Sounds.plist
  • Open up in Property List Editor
  • Change the names of the SMS tones (You will recognise them in here)
  • Ensure the plist file format is set to View->Property List Type -> iPhone Settings plist
  • Save
  • Rename to Sounds.strings
  • Upload to iPhone over the top of the old one
  • Restart Springboard

MobileInstallation.framework Hack Location
This can now be achieved by installing AppSync from Cydia. You will need to add the source to Cydia though. Please buy apps though and keep the development community going.

Adding back the battery Percentage Indicator
Install SBSettings from Cydia or Rock to have a toggle to reenable battery percent.

Note: When editing plist files above ensure the plist file format is set to View->Property List Type -> iPhone Settings plist before saving editted file.

Making ringtones with iTunes

Tags: ,

UIWebView Usage

Posted in iPhone Programming on August 11th, 2009 by phoenixdigital

Populating a UIWebview with a webpage or just HTML content.

  NSString *urlAddress = @"";
  NSURL *url = [NSURL URLWithString:urlAddress];
  NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
  [pageContents loadRequest:requestObj];
  [pageContents setScalesPageToFit: YES];
  //  [pageContents loadHTMLString: @"<h2>Your privacy is our policy</h2>" baseURL:nil];