Even the best of us mess up and today I made a epic blunder on a customers computer. I did manage to fix the issue so I will document it quickly so that if any one else makes the same mistake they may not have to go through what I did to get it fixed. So I had a badly infected laptop with a host of programs which wouldn’t uninstall. Some of the classic registry-tune and health-optimize programs were installed and I had to remove them. To be perfectly honest I was working on many things at once and so in my distraction I saw a folder/program called PC Health. Sounds like another one of those annoying virus ridden fix up programs so I proceeded to force delete it along with all traces from the registry.
If the provisioning profile (.mobileprovision) and certificate (.cer) are not configured correctly you might get the following error when clicking Build > Build in XCode:
Code Sign error: The identity ‘iPhone Developer’ doesn’t match any valid certificate/private key pair in the default keychain
I got stuck trying to display the Django media files from a Django project served using FastCGI configured in Apache. I thought for sure that the issue must be something with Apache so I tried a ton of different configuration variables. I wanted to share in case anyone else runs into the CSS and image files not showing up for the Django admin site. If the admin login to your Django project does not look similar to the below then the media files are not being loaded properly.
What’s the difference between a scaffold and resource in Ruby on Rails? Essentially, the only difference is that the views (and associated layout and css file) for index, show, new and edit are created. The output when generating both the scaffold and the resource (with the command line generator) are shown below.
Earlier when attempting to install the request-log-analyzer gem on a CentOS Linux server I ran into some issues. I noticed that on one server I was able to install the request-log-analyzer gem without issue but on another server running the same version of CentOS and Ruby as the first server the attempt to install request-log-analyzer returned an error. The error was that the gem required a newer version of another gem.