BrT

Musings about technology and other neat stuff

BrT random header image

Avoiding undefined function errors when disabling plugins

March 6th, 2006 · 1 Comment

Many Wordpress plugins require inserting in your theme files calls to functions they define (examples of this include very useful plugins like Akismet Spam Count, del.icio.us integrator and WP Admin Bar). This causes problems when the corresponding plugin is disabled (for example, as suggested for the Wordpress 2.0 upgrade process). Avoiding this problem is extremely [...]

[Read more →]

Tags: ·

Converting Sogudi bookmarks to Firefox (HOWTO)

December 11th, 2005 · 1 Comment

I’ve been using Safari on my Mac since Tiger came out, but with Firefox 1.5 being released, I’ve decided to give it another try (I use Firefox on Linux, but I haven’t been very happy with it on the Mac before). It properly imported my Safari bookmarks, settings and even the cookies! Quite impressive. the [...]

[Read more →]

Tags: ·

Blogging links from digg

November 25th, 2005 · No Comments

I recently started looking at digg for interesting news and links. It has a very cool feature: you store the details of your blog, and then you can post articles from digg with a single click. So I created a low-privilege account here, entered that account info on digg, set the default category to “Linky” [...]

[Read more →]

Tags: · ·

Updating to modular xorg-x11 in Gentoo (Howto)

November 7th, 2005 · 4 Comments

I updated my xorg-x11 installation in my Gentoo machine to version xorg-x11-7.0.0_rc1, which uses the new “modular X.org” architecture. It was mostly painless. Here are the steps:
1. Unmerge the old xorg-x11 (make a binary package in case you want to go back: quickpkg xorg-x11)
2. Copy the whole xorg-x11 section from /usr/portage/profiles/package.mask to /etc/portage/package.unmask
3. emerge -av [...]

[Read more →]

Tags: ·

Controlling two machines with x2vnc

October 19th, 2005 · 1 Comment

My regular work machine is a laptop with Gentoo Linux. However, for ocassional use, I also have a desktop machine under my desk running Windows. So far, using it involved keeping a second keyboard and mouse somewhere on my desk, and dragging them out whenever I wanted to use the Windows machine (I have [...]

[Read more →]

Tags: ·

ACPI hibernate on a T43p

August 17th, 2005 · No Comments

I recently got a new work laptop: a very nice Thinkpad T43p to replace my older T30. My first act, as usual, was to wipe the preinstalled Windows and put Gentoo Linux on it. For the most part, things went smoothly, but I had to fight to get it to sleep properly.
There is a lot [...]

[Read more →]

Tags: · ·

del.icio.us tagging using browser keywords

August 7th, 2005 · 12 Comments

(see Update below!)
For a while, I have assigned a keyword to the del.icio.us bookmarklet. I use Sogudi in Safari for this, but the same feature exists in pretty much any other browser. With the default bookmarklet, I had assigned the keyword “dl” to it, so when viewing a web page, I can just press Command-L, [...]

[Read more →]

Tags:

Renaming classes in Xcode

March 26th, 2005 · 1 Comment

Xcode is, for the most part, a fine IDE. But there are many things lacking. If you compare with Eclipse, for example, one of the big lacking aspects is refactoring.
Specific example: renaming a class is incredibly painful in Xcode. In Eclipse, you can rename a class and the file will be renamed, all the declarations [...]

[Read more →]

Tags: · ·

Installing a local IMAP server and moving from Evolution

January 31st, 2005 · No Comments

Note: some time has passed since I wrote this article. While the general idea still holds, the dovecot configuration format has changed in recent versions, so please don’t use the file I show here blindly.
I recently switched all my locally-stored email in my work machine from Evolution 1.4 to a local IMAP server, using the [...]

[Read more →]

Tags: · ·