Archive for the ‘How-To’ Category

Changing Imagefield Thumbnail Size in Drupal

Tuesday, February 9th, 2010

In Drupal, the Imagefield fieldtype comes with a built-in thumbnail generator. If you’d like to control the size of the thumbnail, just set the value of the imagefield_thumb_size variable, like so:

variable_set('imagefield_thumb_size', '200x200');

That’ll set the imagefield thumbnail size to 200 x 200 pixels.

HowTo: Get Filezilla working after FTP connection drop

Monday, April 13th, 2009

If you’re using Filezilla to connect to a shared hosting account that uses cPanel, and your internet connection gets dropped during a transfer, you’re going to get an error from Filezilla when you try to reconnect after getting your internet up again. (more…)

How To: Install Sun Java in Ubuntu from Command-Line

Friday, November 14th, 2008

Had to do a fresh install of Sun’s Java on a remote Ubuntu machine this weekend. It’s pretty easy to do in a graphical environment, but I only had ssh access. Since I couldn’t find a set of instructions on how to install Sun’s Java from the command line, I thought I’d put together my own how-to.

(more…)

Fix for Mac OS 10.5.5 Slow Internet Problem

Thursday, October 16th, 2008

After installing the 10.5.5 update for my Macbook, I noticed both wireless and wired internet access seemed slower. My wife’s Macbook, running 10.4, didn’t have the same problems.

(more…)

Sound Fix for MacBook with Ubuntu 8.04

Friday, May 16th, 2008

After upgrading to 8.04, I found a strange bug: my sound worked normally from the internal speakers, but when I plugged in a set of headphones, no sound came out.

I scratched my head for a while trying to work this out till I found the workaround recommended here.

Basically all you need to do is right-click on the Volume Control applet, select Open Volume Control, then Edit -> Preferences. Check the box for “Surround,” then close the Preferences window and unmute the track marked “Surround.” That should do it.