Archive for September, 2008


What repository did I install that package from?

To see what repository a package was installed via in Ubuntu using apt, use this command:
$ apt-cache policy packagename

Example:

$ apt-cache policy firefox
firefox:
  Installed: 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
  Candidate: 3.0.3+build1+nobinonly-0ubuntu0.8.04.1
  Version table:
 *** 3.0.3+build1+nobinonly-0ubuntu0.8.04.1 0
        500 http://security.ubuntu.com hardy-security/main Packages
        100 /var/lib/dpkg/status
     3.0.2+build6+nobinonly-0ubuntu0.8.04.1 0
        500 http://archive.ubuntu.com hardy-updates/main Packages
     3.0~b5+nobinonly-0ubuntu3 0
        500 http://archive.ubuntu.com hardy/main Packages
Posted in Ubuntu   |   Comments (0)

Configure Firefox to use Gmail or Google Apps for MailTo Links

These instructions will configure Firefox to use Gmail or your Google Apps hosting account to handle mailto links:

First, type about:config in the address bar, search for gecko.handlerService.allowRegisterFromDifferentHost, and set the value to true.

Then, log into GMail or your Google Apps mail URL, paste this line of JavaScript into your address bar, and hit enter:
For Gmail:
javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")

For Google Apps:
javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/a/example.com/mail/?extsrc=mailto&url=%s","GMail")
Replace “example.com” with your domain.

After you hit enter, Firefox should ask permission to add Gmail as the default mailto handler.

To undo this, click Edit Preferences > Applications. Search for mailto. Choose Application Details from dropdown under Actions. Highlight Gmail and click Remove.

I used these instructions on Firefox 3.0.1 on Ubuntu 8.10. This post was compiled from info found in this article and its comments at lifehacker.com.

Posted in Firefox   |   Comments (7 )

Wordpress plugin to display Twitter status via Ping.fm

I have just finished writing my first Wordpress plugin – a widget to display a status update via Ping.fm:

Ping.fm is a simple service that makes updating your social networks a snap. You can use AIM, GTalk, iGoogle, Windows Live Messenger, Yahoo! Messenger, WAP, iPhone/iPod Touch, SMS or E-mail to let Ping.fm relay your message to a multitude of social networking sites. This plugin lets you use Ping.fm to add your status to your Wordpress Blog’s sidebar via Ping.fm’s “Custom URL” integration.

== Installation ==

* Extract archive
* Upload entire ‘pingfm_status’ directory to ‘wordpress/wp-content/plugins’
— do not remove files from directory, upload the directory with all files in it
* At http://ping.fm create a Custom URL to update the following address:

http://url_to_your_wordpress_installation/wp-content/plugins/pingfm_status/pingfm_post.php

* Enable the plugin in your Wordpress admin section
* Add pingfm widget to your sidebar, set the Title

== Notes ==

If you notice that the timezone is incorrect on the timestamps that appear in your updates,
you can change it in ‘/wp-content/plugins/pingfm_status/pingfm_post.php’. I have included
some notes in that file.

Here is a link to the plugin in the Wordpress Plugin Directory.

Posted in Code   |   Comments (12 )

Collin, 6 years old, popping wheelies on his bicycle

Here is video of my 6 year old son Collin popping wheelies on his bicycle. I edited the video in Kino and Avidemux.
You need to a flashplayer enabled browser to view this YouTube video

Posted in Family   |   Comments (0)