Tuesday, December 24, 2013

Express + Jade Error: `doctype 5` is deprecated, you must now use `doctype html`

In the layout.jade file (default Express build, file is located in views folder), edit the line 'doctype 5' to 'doctype html'.

Monday, September 24, 2012

Quick Tip: Handling JSONP request with jQuery getJSON

In a $.getJSON request, append '&callback=?' to the end of the request URL. No need to revert back to the usage of .ajax.

Sunday, August 26, 2012

Android: Hard Reset A Samsung Galaxy S

Issue: You need to reset a Samsung Galaxy S Android phone but don't have access to the settings app.


  1. Turn off the phone by holding power button (right side).
  2. Press and hold the volume+ and volume- buttons (left side) while holding the power button.
  3. Release ONLY the power button when the Samsung logo appears.
  4. At the text menu, use the volume+ and volume- buttons to select "Delete all user data"
  5. Press the power button to select
  6. Once completed, use the volume+ and volume- buttons to select "Reboot System Now".

Sunday, December 11, 2011

Android: Insufficient Space When Downloading

When attempting to download a large application (30 mb or more), you receive the message "There is insufficient space on the device". In addition, you may receive prompts about insufficient space

Uninstall all Marketplace app updates. Below is an overview but the exact process may vary based upon Android version:

Settings > Applications > Manage Applications > Marketplace > Uninstall updates

The issue appears to be related to updates to the Marketplace application and the 30 mb storage partition often used on Android phones.

Fix courtesy of the Android forums.

Tuesday, December 6, 2011

Mac OSX: Lock Screen Keyboard Shortcut

Step 1: Enable the lock screen

  1. Open "System Preferences"
  2. Select "Security & Privacy"
  3. Click the "General" tab (if not already selected)
  4. Place a check-mark beside "Require password immediately after sleep or screen saver begins

Step 2: Remember the keyboard shortcut

Control + Shift + Eject

Tuesday, August 16, 2011

Apple TV: An Error Occurred Loading This Content

When trying to access content, such as Netflix, on the second generation Apple TV, a message appears stating "An error occurred loading this content - Try again later".

With the Apple TV turned on, hold the menu button and the down button on the Apple TV remote for at least 10 seconds.

The issue appears to be the result of an issue residing with the local cache of the Apple TV. This approach appears to clear out the local cache on the Apple TV. Simply allowing the Apple TV to go to sleep does not clear out the local cache.

Wednesday, August 3, 2011

Mac Issue: krb5kdc + wrong time + lost preferred network password

On your Mac, after receiving a notification "Do you want the application krb4kdc to accept incoming network connections", your system time is wrong and your preferred network password is lost.
Manually adjust your system time:

  1. Open System Preferences
  2. Select "Date and Time" under System
  3. Under "Date and Time", uncheck "Set date and time automatically"
  4. Set the correct date and time
  5. Restart your Mac