Archive for 'Technology'

jQuery: RegExp for all occurances; Wrap all © and ® with HTML

Friday, March 26th, 2010

This script will find all © and ® on a page and wrap them a span around them with a “copy” or “reg” class accordingly.

<style>
.copy, .reg {font-size:xx-small;vertical-align:text-top;}
</style>

<script>
$(function(){
var copy = new RegExp(‘\u00a9′,’g');
var reg = new RegExp(‘\u00ae’,'g’);
var newBody = $(‘body’).html().replace(copy, ‘<span class=”copy”>&copy;</span>’).replace(reg, ‘<span class=”reg”>&reg;</span>’);
$(‘body’).html(newBody);
});
</script>

Losing a staring contest with my computer

Wednesday, February 3rd, 2010

I have been working lately… and have proof. Besides the indentation in my office chair [insert Steelcase shout-out here], I have some ‘artifacts’ worth sharing. Here are a few of the websites I’ve worked on that have recently gone live.


Whats Your Art?


View Site


Sebago


View Site


Bates Footwear


View Site

Forward Emails from Gmail to Google Wave

Tuesday, November 10th, 2009

icons

Don’t do it! (yet)

With getting a new Google Wave account, I wanted to forward my Gmail emails to my Google Wave account. I saw that my Google Wave account was [username]@googlewave.com so I figured I could do it. I went into Gmail. Followed Settings > Forward and set up Gmail to pass all of my emails on to google wave.

I left it on for a day or so, and maybe that was my big mistake. I have been getting emails every 20-30 minutes that have been telling me they cannot send my emails to Google Wave, and that they will retry for the next 2 days. They have a subject line of ‘Delivery Status Notification (Failure)’. Obviously I turned off my forwarding, however now, 3 days later, they are still coming in every 20-30 minutes telling me that the email failed.

So moral of the story. Don’t automatically forward your emails to Google Wave (yet!) and also, don’t leave that forward on any longer than you have to. Google Wave is not ready for it yet and it will get REALLY annoying.

Old Browse Pane Layout in iTunes 9

Wednesday, September 23rd, 2009

itunes old browse layout
Okay. So ‘Browse’ has been rolled into something called ‘Column Browser’. If you want to get iTunes 9 to have the same pane layout as the old, default, ‘Browse’ option, you can. Here is what you are going to want to do:

1) Turn on Column Browser: View > Show Column Browser
2) Show Albums as well as artists: View > Column Browser > Albums
3) Show Genres as well as albums and artists: View > Column Browser > Genres
4) Setup Column Browser to show up above your song lists: View > Column Browser > On Top