Copy a Google Analytics Dashboard from one profile to another

If you have multiple profiles in Google Analytics and want to copy a Dashboard template (i.e. the configuration of all its widgets, not the profile-specific data) from one profile to another, here's a simple step by step procedure:

  1. Go to your already created Dashboard in Google Analytics (e.g. My Dashboard)
  2. On top of the page, below the Dashboard's name, click the button Share Dashboard
  3. A dialogue box appears with a URL. Copy that URL by using Ctrl-C, and close the dialogue box
  4. On the same browser window, enter that copied URL into the location bar and press return
  5. You will be shown a new dialogue box with a drop-down menu containing all your existing Analytics profiles
  6. Choose the profile that you wish to copy the Dashboard to, and click Create
  7. That's it. Enjoy your newly copied dashboard into your selected profile.

Don't Close Firefox when Closing Last Tab

One of the more annoying 'features' of Firefox is when you have only one tab open and you want to clear that tab by pressing Ctrl-W, it closes the entire browser.

There's a workaround, or rather, a configuration option for that.

About:config to the rescue.

  1. Type about:config in the location bar
  2. Click the silly "I'll be careful" button
  3. Paste browser.tabs.closeWindowWithLastTab in the Filter text area
  4. Under Preference Name, right-click browser.tabs.closeWindowWithLastTab
  5. Select Toggle (new value to be false)

That's it.

Enjoy.

Quick Fix for Firefox-4 Helvetica Neu Font Issue

If you're seeing strange fonts appearing after upgrading to Firefox-4, here's the quick fix:
  • Go to your profile folder's chrome folder (in Windows XP, e.g. C:\Documents and Settings\your xp username\Application Data\Mozilla\Firefox\default\chrome
  • Open file UserContent.css with a text editor (or create a new empty text file with this name if it doesn't already exist)
  • Add one new line to this file:
    • @font-face { font-family: 'helvetica neue'; src: local('Arial'); }
  • Save file.
  • Restart Firefox.
Enjoy the your Firefox-4 (which is sadly slower and buggier than earlier ones but what can you do?)

Suppress/Disable File List Tooltips in Explorer

One of the most annoying things while going through a folder's file list in XP's Explorer is the persistent popping up of tool-tips showing the file or folder's details.

Here's how to disable them.

Warning: You'll need to access Windows Registry. ALWAYS backup your registry FIRST! Don't proceed if you don't know how/why to do that.

  • Launch regedit (Start -> Run -> regedit)

  • Find the key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

  • Set ShowInfoTip value to 0

  • Exit regedit

  • Restart computer.

Enjoy tooltip-free lists!

Copy Files/Folders Preserving Date/Timestamps

One of the greatest challenges in Windows XP seems to be the copying/moving files or folders by retaining/preserving their timestamps or dates, ie, Date Modified, Date Created or Date Accessed.

Well not necessarily. It's actually quite easy.

What you will do:

  • Install xxcopy - the awesome xcopy replacement for Windows
  • Fire up XP command line (Start -> Run -> cmd)
  • Type the following command:
    • xxcopy c:\source\*.* d:\destination\ /S /TC
    • (The above command will copy everything in c:\source directory to d:\destination. If you'd like Yes/No confirmation annoyance suppressed, add /YY after /TC)

Enjoy your newly copied files/folders!

Dreamweaver: color code .inc files as .php files

By default Dreamweaver doesn't color-code .inc files as php files. To do that, follow these instructions:

ON XP:

  1. Open file in Notepad: C:\Program Files\Adobe\Adobe Dreamweaver {your version}\configuration\DocumentTypes\MMDocumentTypes.xml
  2. Find code <documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic" winfileextension="php,php3,php4,php5" macfileextension="php,php3,php4,php5" file="Default.php" writebyteordermark="false"></documenttype>
  3. Add ,inc after both ,php5
  4. Save, close.
  5. Restart Dreamweaver.

XP Folders Explorer Bar on Folder View Permanently

For some strange stupid reason (who am I kidding!), when you change Folders options for Explorer Bar (View > Explorer Bar > Folders ) for a folder and then even if you try to make it permanent (Tools > Folder Options > View > Folder Views > Apply to All Folders ), it doesn't stick, and the next time you open any folder the Explorer Bar isn't there.

Very annoying (or, very Microsoft.)

The workaround is this:

  1. Tools > Folder Options > Tasks > Use Windows Classic Folders (radio buttoned.)
  2. OK
  3. Tools > Folder Options > File Types > Registered File Types
  4. Select (NONE) Folder
  5. Click Advanced
  6. Actions > Highlight explore
  7. Click button Select Default
  8. Click OK
Get on with your life then give a silent piece of thanks to Mr Gates Junior.