2009-10-01から1ヶ月間の記事一覧

Eclipse: Could not initialize class org.eclipse.wst.server.ui.internal.provisional.UIDecoratorManager

The following error message in Eclipse: An error has occurred. See error log for more details. Could not initialize class org.eclipse.wst.server.ui.internal.provisional.UIDecoratorManageris a known bug. The bug is now fixed in WTP 3.1.2. T…

SVN proxy settings

In /etc/subversion/servers, add the lines: [global] http-proxy-exceptions = localhost,*.exception.com http-proxy-host = proxy.com http-proxy-port = 8080More info here: http://svnbook.red-bean.com/en/1.1/ch07.html#svn-ch-7-sect-1.3.1Also, y…

Tomcat proxy settings

In catalina.properties, add the lines: http.proxyHost=10.25.10.25 http.proxyPort=8080 http.nonProxyHosts=localhost|127.0.0.1|*.exception.comThese are Java system properties as described here: http://java.sun.com/j2se/1.4.2/docs/guide/net/p…

Google Wave with Prosody

UPDATE: The Google Wave wiki now has Prosody installation docs here. I had some trouble getting Google Wave federation working with the XMPP servers Openfire and ejabberd on Ubuntu. Finally I tried Prosody, and it works fine! Here how I in…

Mercurial on Ubuntu behind a proxy

I tried out Mercurial on Ubuntu 8.10, and was immediately defeated by my corporate proxy: $ hg clone https://wave-protocol.googlecode.com/hg/ wave-protocol abort: HTTP Error 501: Not ImplementedHere is how I fixed this.Step 1: Configure Me…

irssi highlights in yellow on a white background

On the IRC client irssi, when your nick is included in a message, that message's nick is highlighted in yellow to alert you. Unfortunately, yellow is difficult to read on a white background.The highlight color is defined in the default the…

Rails: Routes, url_for, and slashes

Two surprises with Rails today involving URLs and escape sequences.1. Regular expressions in routes operate on the raw URL.Suppose you have these routes: map.connect 'test/:id', :controller => 'test', :id => /[^\/]*/ map.connect 'test/:hi/…