Publish BlackBerry OTA app on your own web server with .jad and .cod files

To publish a BlackBerry (legacy) OTA app via a web server you will need the .cod files and associated .jad file. I’ll leave it up to you to do your own research on how to generate these files – if you don’t already have them then what follows will not be of use to you yet.

Once you have the files you will need to place them on your web server where they are publicly available. You will want to point users to the .jad file, either by creating your own index page or giving them the direct URL. The BlackBerry should know what to do with a .jad file and begin the app installation when the browser encounters this file.

But that’s not all. You need to configure your MIME types!

Read more »

Merging and resolving conflicts with git

I frequently get asked git questions. One of the more common questions is “How do I resolve conflicts?” It is surprisingly easy to do in git, but it isn’t very obvious HOW to do it. So, here we go…

$ git checkout mybranch
Switched to branch 'mybranch'
$ git merge master
Auto-merging somedir/somefile.txt
CONFLICT (content): Merge conflict in somedir/somefile.txt
Automatic merge failed; fix conflicts and then commit the result.

So far most users of git are able to get this far. In fact it’s right about here that the questions begin.

Read more »

WordPress File Structure, FTP & MySQL

This is a must see for any WordPress developer. A good description of what each of the WordPress files is responsible for doing, in what order they get executed, etc. Just a good basic explanation of how WordPress works. Brad Parbs: WordPress File Structure, FTP & MySQL |

Brad Parbs talks about the WordPress File Structure, who does what, trac, Theme Structure & Template Hierarchy, FTP and MySQL.

Automatically Version Your CSS and JavaScript Files

Today I ran across an article about automatically versioning your CSS and JavaScript Files. The reason to do this is to maximize browser caching and therefore load time. The article is a bit old, but content is still relevent. I can’t wait to try it.

Resolving Event ID 5501 on Windows 2008 R2 Hyper-V DNS Server

I ran into an issue where some DNS requests were resulting in:

*** dnsserver.local can’t find Server failed

The event log on the DNS server showed an Information event which seemed to coincide with every failed request. That event was:

Event ID 5501: The DNS server encountered a bad packet from xx.xx.xx.xx.  Packet processing leads beyond packet length. The event data contains the DNS packet.

For more information, see Help and Support Center at

The DNS server was Windows 2008 R2 Hyper-V virtual machine running on a Windows 2008 R2 Hyper-V host. The first thing I tried is the same old solution for most networking issues I have run into on a Hyper-V guest.

Read more »