Archive for January, 2008

bzr – How to see when a file was put under Version Control

Tuesday, January 29th, 2008

bzr log file

GMailThis Not Working – Here’s a Fix

Monday, January 28th, 2008

My GMailThis bookmarklett stopped working recently. I found this version that does work for me. Just drag this (GmailThis) into your toolbar and starting using it again.

Here is another fix, potentially a better one.

Mini Searches with Answers

Thursday, January 24th, 2008

These are links associated with recent searches I’ve done. They’re not difficult enough to warrant to their own posts but still super useful.

Add functions to your mashups with Utility Mill ‽ John Herren’s Blog
Another nice Utility Mill review. (sorry not technically a mini search)

Heatmap Example
I was wondering how you choose what colors to use in a heatmap. This one just uses 10 colors to represent 0-100% by 10s. I’m still wondering if there’s a way to do an infintely variable color distribution, e.g., 70.001% is slightly oranger than 70%

ASPN : Python Cookbook : Watermark with PIL
An example of setting the opacity of one image you put over another.

VFINX: Summary for VANGUARD INDEX TRUST 500 INDEX – Yahoo! Finance
What’s a good index fund that tracks the S&P 500? I think this one is.

Javascript – Introduction to Events
An excellent tutorial explaining how events work in Javascript and how to use them in a cross-browser way.

JavaScript tutorial – DOM nodes and tree
Excellent writeup on how to traverse the DOM and change nodes.

Tags: , , , , , , , , , ,

How to Send an Outlook Email with VBA (Macros)

Wednesday, January 23rd, 2008

Here’s an example of a simple macro that sends an Outlook email.

Sub sl()
    Dim olApp As Outlook.Application
    Dim objMail As Outlook.MailItem
    Set olApp = Outlook.Application
    Set objMail = olApp.CreateItem(olMailItem)
    objMail.BodyFormat = olFormatPlain
    objMail.Subject = "Hi buddy"
    objMail.Body = "Whats up" + Chr(13) + Chr(10) + "Greg"
    objMail.To = "goofus@doofus.com"
    objMail.Send
End Sub

When does a Blueberry Pie Expire

Tuesday, January 22nd, 2008

While not quite a definitive answer, I have a store-baked Blueberry pie here from 4 days ago and it tastes fine.