Get Firefox 2
Disable Firefox’s AwesomeBar
July 7th, 2008 :: Permalink :: Trackback

If you do not like the behaviour of Firfox’s new url bar you might want to take a look at the oldbar addon and set browser.urlbar.matchOnlyTyped to true.

by bd in firefox
  Comments Off

Debian with root on LVM on an USB drive
June 2nd, 2008 :: Permalink :: Trackback

I was getting root file system not found errors when booting etch from a USB disk. As it turns out that the boot ramdisk did scan all devices for LVM partitions before USB drive detection was finished.

By adding rootdelay=10 to the kernel boot options the system will wait for ten seconds before activating LVM partitions giving the USB subsystem enough time to activate all devices.

by bd in debian
  Comments Off

E61, Putty, vim and the escape key
March 5th, 2008 :: Permalink :: Trackback

Since the E61i has no escape key using vim is a rather interesting ordeal. I could send an escape key by pressing ctrl-chr, releasing ctrl, pressing chr again and select the opening braket.

Update The green key is also mapped to ESC ;).

by bd in E61i
  Comments Off

Nokie E61i and exim4
February 29th, 2008 :: Permalink :: Trackback

Debian’s exim4 uses gnutls which has a feature that will not allow my E61i to use STARTTLS (see #438137) . Perhaps stunnel can help here …

Update: To advertise PLAIN authentication with exim4 for connections origination from localhost I used the following statement in my plaintext authentication configuration (broken into several lines for better readability):

server_advertise_condition =
 ${if or
  {
   {!eq{$tls_cipher}{}
  }
  {
   eq{$interface_address}{127.0.0.1}}
  }
  {yes}{no}
 }

That way plaintext auhentication is allowed for TLS sessions or unencrypted sessions originating from localhost.

Using stunnel and a default ssmtp configuration I can now send mails from my mobile phone.

by bd in E61i, debian
  Comments Off

Nokia E61i and Certificates
February 26th, 2008 :: Permalink :: Trackback

Since I use a self signed certificate on my IMAP Server, my new E61i is complaining about an invalid certificate. I added the CA to my mobile by converting it to an x509 DER:

openssl x509 -outform der -in ca.pem -out ca.der

transfering the new file to the phone and opening it with the file manager.

by bd in E61i
  Comments Off

Lightbox and Hover
January 20th, 2008 :: Permalink :: Trackback

Lightbox and Hover can be integrated, although some pople might consider it a little hackish…

First we need the image we’d like to display including a thumbnail. For this example I’ll be using “New York City” (thanks to the creator Paulo Barcellos Jr. for letting me use his image in this demo. Head over to InterfaceLIFT for more …).

After placing the image, the tumbnail and Lightbox on the web server, we need to include Lightbox’s javascript and CSS file into out theme. I simply added the following lines to my theme’s header.php:

<script type="text/javascript" src="/images/lightbox.js"></script>
<link rel="stylesheet" href="/images/lightbox.css" type="text/css" media="screen" />

Please be sure to alter the paths to be valid on your system.

Now I created a Hover with exactly the following settings:

Whenever I use NewYorkCity in a posting it will be replaced with a Lightbox link and a Hover popup. When you click on the link a popup will be displayed.

Please note that Lightbox can not be used together with Websnapr, as you can see in the above example.

by bd in wordpress
  Comments Off

Hover Video Tutorial
January 13th, 2008 :: Permalink :: Trackback

Bradley Charbonneau has created a short video tutorial on how to use Hover.

by bd in wordpress
  Comments Off

Matching ] with sed
November 26th, 2007 :: Permalink :: Trackback

Trying to macht ] with sed needs some precautions:

$ echo "[foo   U ] abc/def [bar]” | sed ’s/\([^]]\)\+] \([^ ]*\).*/\2/’
abc/def

Or use awk:

$ echo "[foo   U ] abc/def [bar]” | awk -F ‘[][]‘ ‘{print $3}’
 abc/def
by bd in misc
  Comments Off

Thunderbird 2.0 and Enigmail
August 6th, 2007 :: Permalink :: Trackback

After my upgrade to Thunderbird / Iceweasel 2.0 Enigmail was no longer working (see 427591). Seems like something mixed up the versions of installed add-ons. I fixed it by removing Enigmail, starting and stopping Thunderbird and reinstalling Enigmail.

by bd in debian
  Comments Off

Jasper Fforde’s The Eyre Affair
August 4th, 2007 :: Permalink :: Trackback

eyreThe Eyre Affair by Jasper Fforde is the first book in the Thursday Next Series. In it special operative Thursday Next is in pursuit of criminal mastermind and superhuman Acheron Hades who stole a device enabling him to pass the barrier between reality and fiction.

With the use of this machine Hades threatens to change classic literatur, for example by kidnapping the protagonist from Charlotte Brontë’s Jane Eyre.

Again a real page turner by Mr. Fforde.

The Eyre Affair at Amazon.de.

by bd in books
  Comments Off

Too Cool for Internet Explorer