Blog

tech tips, code snippets, etc.

Home Sharing Broken in iTunes 10.5.3 (fixed)

After I updated to iTunes 10.5.3, I noticed that home sharing did not work at all. I took all of the steps at Apple's support article (http://support.apple.com/kb/TS2972) to no avail. Ultimately, I figured out that the problem is with 10.5.3 itself. Here is how to get Home Sharing working again: //Download iTunes 10.5.2 here: 32 bit: http://www.filehippo.com/download_itunes_32/11232/ 64 bit: http://www.filehippo.com/download_itunes_64/11233/Click on "Start" or the Windows Orb (depending on which version of Read More

Fixed: Windows 7 Explorer.exe Server Execution Failed

Fixed: Windows 7 Explorer.exe Server Execution Failed

This error message can occur for the following reasons:Your Documents Library is pointed to an external drive which is disconnected The registry entries dictating where your Shell and User Shell folders has been changedIf your libraries are pointed to an external drive, plug it in or turn it on to resolve the issue. Otherwise...The easy way:Click on Libraries Right-click on Documents and select "Properties" from the menu Click on the Restore Defaults button Read More

Javascript Querystring Parameters

Javascript Querystring Parameters

Hi all, just wrote up a javascript object to parse url parameters. You can take parameters out of the querystring or the url hash.Usage//assuming http://www.example.com/index/?foo=bar&baz=baa#test=trueurl.href; //returns http://www.example.com/index/?foo=bar&baz=baa#test=trueurl.path //return /index/?foo=bar&baz=baa#test=trueurl.get('foo'); //returns 'bar'url.get('test'); //returns trueScriptvar url = (function(){ var _href = location.href; var _path = location.pathname; var _qs = location.search.replace(/\?/, ''); var _hash = location.hash.replace(/\#/, ''); var _parse = function(string){ var params = string.split('&'); var holder = ; for(var i = 0; i < params.length; i++){ var temp = params.split('='); var key = temp; var val = Read More

XAMPP ulimit error on Mac OSX

XAMPP ulimit error on Mac OSX

If you are running XAMPP on Mac and can't start apache, you are likely getting an unhelpful error message. If the message is blank, it could be because one of your local websites doesn't have a logs folder; it could also be a hostname issue. If you are getting an error regarding ulimit and have tried the other fix on the web (commenting out the three lines related to ulimit Read More

Simplified Interface to HTML5 local storage

Simplified Interface to HTML5 local storage

Documentation & Sandbox: http://rmcvey.github.com/jsper Cart example: http://rmcvey.github.com/jsper/cart_example.htmlI decided it was time to dive into the HTML5 local storage API the other night, knowing that it has a lot of potential. There are a few problems inherent to using it, the biggest problem being lack of support in older browsers (and to a lesser degree that it is not implemented exactly the same across browsers). The other major problem I have Read More

Google Analytics for iPhone

Google Analytics for iPhone

Nothing fancy here folks, just tired of not being able to change the date range without flash. In the future, I will make this prettier, but for now, bookmark Analytics Date Picker in Safari (by dragging that link to your toolbar) and sync with your iphone in itunes. Select that bookmark when you are on the analytics page and want to change your date range.Cheers

Validating Data with Enhanced Declarative Data Integrity Rules

Validating Data with Enhanced Declarative Data Integrity Rules

Visit us at our new Google Code project page: http://code.google.com/p/metadata-validator/ Problem Definition Data validation and integrity assurance are complex subjects that have strong opinions tied to the way they are implemented. Some strongly feel that the database can handle validation using the column's attributes (size, data type, etc) and TRIGGERS/STORED PROCEDURES can provide means to enforce complex business rules. This is true, but there are many caveats and arguments against this approach. Read More

Geocoding with Google Maps and the Zend Framework

Geocoding with Google Maps and the Zend Framework

Download Example Files: Zip RAR Maps are a great way to engage your users and visualize data, but it can be a little tricky to setup. Here I will walk you through the steps needed to get a map up and running. //Sign Up Apply for a Google Maps API Key (free) here using your domain without a subdomain or www (this will allow you to use key with or without www Read More

Fighting Difficult Viruses

Fighting Difficult Viruses

Let's face fact, most commercial AV publishers can't get everything. They do a good job keeping known viruses off your system by scanning for the existence of certain files (not checking content), certain registry entries or running processes/services. So how do you get rid of a virus that your AV vendor doesn't know about? Here are the tactics I use, with a high rate of success. Please not that the Read More

Deleted File Recovery

Deleted File Recovery

Browsing the interwebs this morning, I came across a great program that is made by the fine folks who made CCleaner (my favorite disk cleanup program). The program is called Recuva, and though it's title is a bit uninspiring it has proven to be fairly awesome at file recovery. I put a couple of junk files in my recycle bin and emptied it than waited an hour or two while Read More