Posted by Aaron | Posted in JQuery | Posted on 30-08-2010
jQuery is by far my favorite JavaScript library for a ton of reasons. One of the cool features that jQuery has to offer is the toggle method. The jQuery toggle method is extremely useful if you have the need for alternating click events. The syntax is quite simple. The code below alternates calls between the first and second handler events each time the link is clicked.
<a id='link'>Click me</a>
$('#link').toggle(function(){
//handler 1
alert('Handler 1');
},function(){
//handler 2
alert('Handler 2');
});
Posted by Aaron | Posted in iPhone | Posted on 06-05-2010
This is a question I hear all of the time. Most of the sources online will point you to the path on the MAC, but lest they forget, there are still PC users out there! 
You can find the path to your iPhone backup files on Windows 7 at:
~\Users\{USERNAME}\AppData\Roaming\Apple Computer\MobileSync\Backup
Enjoy!
Posted by Aaron | Posted in Error, iPhone | Posted on 20-04-2010
My favorite iPhone Jailbreak method is Blackra1n. Today, however, when I tried to run the installer, I got an error that read:
“The program can’t start because ASL.dll is missing from your computer. Try reinstalling the program to fix this problem.”

After some research on the internets, I found that the solution is to copy the blackra1n.exe file into one of two folder locations on your computer (depending on if you’re Windows 32bit or 64bit).
32bit: C:\Program Files\Common Files\Apple\Apple Application Support
64bit: C:\Program Files (x86)\Common Files\Apple\Apple Application Support
After copying the blackra1n.exe file into the appropriate directory, you should be able to run it without any problems from the ASL.dll file.
Posted by Aaron | Posted in Tutorials, iPhone | Posted on 20-04-2010
I have backed up my iPhone and restored on multiple occasions, each time being annoyed that the apps I had installed on my phone were erased. This became such a point of frustration for me that I eventually stopped syncing my phone and have been void of music for a couple of months now.
After thinking about it today, I thought that there had to be a way to copy my iPhone applications to iTunes from my iPhone without having to manually download them again from iTunes. It’s actually quite simple, and I’m kicking myself now for not finding it sooner.
The solution is as easy as right clicking on your iPhone (or iPod touch) in iTunes and clicking Transfer Purchases.

Right click, select Transfer Purchases
Posted by Aaron | Posted in Error, SQL, Visual Studio | Posted on 05-03-2010
The Problem
I recently formatted my hard drive and reinstalled Windows 7. As a developer, I use Microsoft Visual Studio 2010 RC as well as Microsoft SQL Server 2008. I installed VS 2010 RC first, then SQL Server 2008. Ever since I have had one error after another when using SQL Server. The most obvious error was when opening SQL Server. I would get a dialog box that said:

SQL Error
Could not load file or assembly ‘Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91′ or one of its dependencies. The system cannot find the file specified. (Microsoft.SqlServer.SqlTDiagM)
This error did not prevent me from using SQL, but it seems that other problems might be related to it.
The Solution
The fix for this error (at least in my instance) was to uninstall Microsoft Visual Studio 2010 Beta or RC completely, then reinstall it. It’s a pain, but it does seem to take care of the problem.