The New Napster and Launchy

Rhapsody, the long-suffering little brother streaming music service, recently rebranded itself as Napster. Same app, different name. Big deal.

I noticed that I could not start the app with the great Launchy in my new Windows 10 install. Not sure if it worked in Windows 7.

Looking at Properties of the launch shortcut, in C:\Users\Me\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Rhapsody International Inc, I noticed that the shortcut has a weird extension, .appref-ms. Having come of age in the era of .com and .exe, this was unknown. Seems it is the launcher for the new  style Windows apps, and Launchy did not know how to find them.

Screenshot (3)


So I opened the Launchy options panel, and found the Start Menu folder was already in the search path for catalogs. The extension was missing. So I added “*.appref-ms”


Rescan, index increased by one. Works. Nice.

Screenshot (4)

Git Alias – ignore all whitespace

A talk at last year’s Chicago Code Camp spoke about Git aliases. Up until now I used shell aliases in the (wonderful) MINGW32 Git Bash shell, so “$ gs” is $ git status.

$ git diff is something I use a lot, but sometimes you want to ignore whitespace, say when you reformat an XML config file.

$ git config alias.di 'diff --ignore-all-space'

now, $ git di does what I want.

Windows 7 Start Menu

So where are the Start Menu shortcuts stored?

In XP, C:\Documents and Settings\me\Start Menu was where mine lived, and C:\Documents and Settings\All Users\Start Menu was where the shortcuts for all lived. It seems to have changed in Vista and Windows 7. Where have I been?

Actually I like the way the new dir structure is in Windows Vista and 7. Much more sensible, with no spaces in pathnames. Now if we could get rid of C:\Program Files (x86) to something like /usr/bin or even better /Applications/MyApp 🙂

Sniffing around I found “All Users”

C:\Users>dir "All Users" /a
07/13/2009 11:08 PM <SYMLINKD> All Users [C:\ProgramData]
08/16/2010 12:19 PM <DIR> Dave
07/14/2009 01:12 AM <DIR> Default
07/13/2009 11:08 PM <JUNCTION> Default User [C:\Users\Default]
07/13/2009 10:54 PM 174 desktop.ini
11/09/2010 11:31 AM <DIR> notadmin
07/14/2009 01:45 AM <DIR> Public

What’s in C:\ProgramData?

C:\ProgramData>dir /a
07/13/2009 11:08 PM <JUNCTION> Application Data [C:\ProgramData]
07/13/2009 11:08 PM <JUNCTION> Desktop [C:\Users\Public\Desktop]
07/13/2009 11:08 PM <JUNCTION> Documents [C:\Users\Public\Documents]
07/13/2009 11:08 PM <JUNCTION> Favorites [C:\Users\Public\Favorites]
08/12/2010 02:02 PM <DIR> Microsoft
08/13/2010 09:29 AM <DIR> Microsoft Help
07/13/2009 11:08 PM <JUNCTION> Start Menu [C:\ProgramData\Microsoft\Windows\Start Menu]
08/16/2010 08:33 AM <DIR> Sun
08/17/2010 10:42 AM <DIR> TEMP
07/13/2009 11:08 PM <JUNCTION> Templates [C:\ProgramData\Microsoft\Windows\Templates]
08/04/2010 11:32 AM <DIR> VMware

So my shortcuts are in
C:\Users\notadmin\AppData\Roaming\Microsoft\Windows\Start Menu

and All Users are in
C:\Users\All Users\Microsoft\Windows\Start Menu

A New WordPress Install

Get the storage folder; redirect the domain there;

Get the code into the target dir:
$ svn co .

Copy wp-config.php
$ cp wp-config-sample.php wp-config.php

Get new secret keys:

Edit wp-config.php
$ vi wp-config.php
Change dbname, hostname, password.
Change 4 secret key lines to above lines.

Run config:

Set up the profile pages; add default user;

Install Atahualpa Theme and configure.

  1. Download zip into blog base dir using wget or ftp,
  2. $ /blog > unzip -d ./wp-content/themes

More Info:
Installing using Subversion (WordPress Codex)
Installing WordPress (WordPress Codex)
Updating WordPress using Subversion (WordPress Codex)