Garmin Connect user script

Hi, I'm back. It's been a while, I know.

Anyway. I just hacked up a small greasemonkey script which fixes a few irritations with Garmin Connect (to be precise - the lacking Pace fields).

I guess there could be a > 0% possibility that there is someone out there who knows how to install a GM script AND has a Garmin Forerunner 50/405 AND misses the pace fields. So - I created this little thing for myself and that 1 other guy. ;-)

Feature list (could be updated at some point):
- Adds Pace to avg/max speed (overview)
- Adds Pace to each Lap

The script is located here: http://userscripts.org/scripts/show/26393

AutoTOC user script/bookmarklet

Since I was already bringing up the past pleasures... I'll archive this one here as welll... This script is very nice to have when you are on a loooong web page (like a spec or something) and need a Table of Contents. Look at the following illustration for an example (from the CSS1 spec):

Autotocss

Just drag this link to your Bookmarks Toolbar, and click it when you need a TOC. Quite effective (just click it to see the effect on the current page...):

TOCit!

A userscript/Greasemonkey version of the script is available at userscripts.org, but I actually find the Bookmarklet more attractive myself.

Oh, and it only works with Firefox. Feel free to create your own version for IE, I'll be happy to link to it from here...

Office 2007 downgrade troubles...

I have been trying out Office 2007 on one of my personal computers, to see if it could give me a productivity increase or something (in addition to the software looking a bit more sexy).

Anyway, it didn't do anything for me, and it was painfully slow on my computer, so I decided to downgrade to Office 2003. First thing I noticed, was how Outlook suddenly was missing from my Office installation. That was fixed by the elegant "fix/reinstall" option of the installer, I got my hopes up again, and I actually thought I was ready.

But then, when I tried to start Outlook, it crashed at startup, saying: "Cannot start Microsoft Office Outlook. MAPI32.DLL is corrupt or the wrong version. This could have been caused by installing other messaging software. Please reinstall Outlook."

Yah. So I tried that. Reinstalling is fun. Same message. Googled a bit, found a few solutions to how I could replace the MAPI32 file. But finally I found the answer, and the hero of today is: Futility. I had to rename a file called MSMAPI32.DLL. I should have known.

Truth being told, the solution was also well described @Microsoft Support (it was the next two Google hit for the error message :-) Anyway, thanks for fixing my Outlook; I'm back on track.

Lessons learned today: Never trust the error message (even though I thought all software engineers put most of their effort into writing crystal clear error messages?!), and do a thorough Google search (I usually do...) before reinstalling Windows.

JDeveloper/SOA Suite 10.1.3.3 released

Oh, and by the way. Oracle released the 10.1.3.3rd version of JDeveloper a couple of days ago. Looks like it's mostly a bug fix release, but they are certainly nice too, especially now that they have thrown in a few of my favourite BPEL fixes. :-)

In addition, the corresponding SOA Suite upgrade downloads are available: (Windows | Linux).
AFAIK, these links are not yet on OTN, I got them from a forum thread myself, but they seem to be downloading fine, will check the content this week :-)

Alternatively, you can get the patchset from metalink.

(Updated: 02-Jul-07)

Userscript redux

Wow. Just checked the stats @ userscripts.org and saw that my Greasemonkey script for Bloglines, Bloglines HAI (Hide Archived Items) has been installed more than 1300 times from that site. I am happy that so many of you have enjoyed it.

For those of you who don't use Bloglines, or don't have an idea what it is, please ignore this post. For those of you who are still a bit curious, but hasn't guessed what the script does yet, here's an image to give you the idea:

Habiss_2


Anyway, I got an email from someone today, asking me how to install the script, and I thought - instead of sending him to my old blog, I'd just repeat the steps from my previous post here (slightly edited):

  1. Install Firefox, if it isn't already installed.
  2. Install the Greasemonkey extension, if it isn't already installed.
  3. In Firefox, surf to the Bloglines HAI page on userscripts.org (or directly from my server).
  4. When you are shown the Greasemonkey Installation box, go ahead and press the Install button.
  5. Surf to Bloglines, still using Firefox.
  6. If you have saved any items (By using the "Keep New" checkbox in the lower right corner of each item), these items will now be hidden by default. Show them by using the "... Archived" link as shown in the screenshot above.

OK that's all. Please let me know if there are any features I have missed, it's been a couple of years since I made it, but it still works. :-)

Toys for healthy boys.... :-)

Presenting the first results from my new favourite gadget; the Polar RS400:

Polar_2


Yeah, I know the numbers could have been better, that's why I bought the damn thing ;-)

VBScript of the day

Well, it's probably the VBScript of the year from me, but here goes;

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
   If (InStr(1, Item.Body, "attached", vbTextCompare) > 0 Or InStr(1, Item.Body, "attachment", vbTextCompare) > 0) Then
      If Item.Attachments.Count = 0 Then
          Application.ActiveInspector.Activate
          ans = MsgBox("It looks like you may have forgotten an attachment, would you like to send the e-mail now?", vbYesNo)
          If ans = vbNo Then Cancel = True
        End If
    End If
End Sub

Now, the only thing this script does is scan your mail text and look for attachment-words (in this case, "attached" & "attachment", in my own version I added some Norwegian words as well), and if they exist and there are no files attached, a message box appears, offering to stop the mail from leaving you un-attached.

Thanks to these guys for the code.

Welcome to my blog

Greetings, people of the Earth.Welcome

This is another blog of mine, and I'll try to keep it here, at http://blog.runeskaug.com. Easier to remember, right?

By the way, for those of you who don't know me;
My name is Rune Skaug, I live in Oslo, Norway (yeah, that's in Europe!), and I work as a presales consultant for Oracle.

Yeah, I work a few (6-7) levels below Larry "his yacht is a ferry" Ellison. Anyway, at work, I don't have much to do with the famous databases, I usually demo our finest integration products, and suggest that people use them in their Service Oriented Architecture.

Previously I have been writing randomly about different types of things, like travel, music, pets and day-to-day-stuff, and some technical posts (which in my case evolves around web development, software development, gadgets, blogs, my work etc), but I think this time I'll concentrate on my work and technical subjects (and they are, I guess, among the most blog-friendly subjects).

So we'll see what happens. Maybe I'll get things going in here, maybe not. Wish me luck.

And by the way; from all of me to all of you, have yourself a merry little christmas!

UserScripts/Bookmarklets

Misc