Thursday, May 14, 2009

NetBeans Rails Server, WEBrick or GlassFish?

The NetBeans 6.5.1 install on OS X defaults to GlassFish. On Kubuntu, it defaults to WEBrick. The server can be changed by right-clicking on the project and selecting Properties. Under the Rails category, there's a Server option, WEBrick or GlassFish.

Friday, May 8, 2009

Degree symbol, xubuntu

Degree symbol under Xubuntu (or other GtK app), press ctrl-shift u00b0

Heat to 350°F

Wednesday, April 22, 2009

Posting photos to FB from mobile phone

After setting up your mobile phone in your account settings, take the photo and email it to mobile@facebook.com. The subject of the email becomes the caption of the photo. Pretty easy... :-)

Sunday, April 19, 2009

Friday, April 17, 2009

sources.list for Ubuntu 8.04

## a “general” sources.list for Hardy Heron; all sources are uncommented.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in

## universe WILL NOT receive any review or updates from the Ubuntu security
## team.

deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe

deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the ‘backports’
## repository.

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.

deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted

Wednesday, February 4, 2009

Objective-C for C++ Programmers

This document was very helpful to me in getting up to speed on Objective-C for iPhone development.

WordPress page breaks.

There's a plugin to do this (Evermore), but I prefer to have the flexibility to do this myself. To break a WP post up and have a "Continue reading>>" link to the rest of the post, switch to HTML mode in the editor and insert this tag where you
want the break to be.

See the blog for an example...