‘The IT Crowd’ die dritte Staffel läuft

Die deutsche Adaption mit Sky Dumont war besch..eiden. Aber das Original ist ‘hilarious’.
Hier geht’s lang


Viel Spass.

How To Configure A MySQL Database As A Datasource In ServiceMix

Copy the mysql-connector-java-bin.jar in the SERVICEMIX_HOME/lib directory.
Download the Spring framework.
Locate the spring-jdbc.jar and copy it in the SERVICEMIX_HOME/lib directory.
Edit the jndi.xml file in the SERVICEMIX_HOME/conf directory.
Locate the <util:map id="jndiEntries"> node.
Add this node to it.
<entry key="java:comp/env/jdbc/datasourcename">
<bean class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost/databasename"/>
<property name="username" value = "ruuht"/>
<property name="password" value = "ohnePasswort"/>

How To Undeploy A Service-Assembly In ServiceMix

While playing around with ServiceMix I had to undeploy a service-assembly. This was not so easy.
You can use an ant task under SERVICEMIX-HOME/ant.
The readme.txt has a typo and I didn’t know the servicemix user and password.
Finally I came up with:
ant -f servicemix-ant-task.xml -Dsm.username=smx -Dsm.password=smx -Dsm.service.assembly.name=NAME_OF_THE_SA undeploy-service-assembly
You have to shut down the service-assembly before using the JMX console (jconsole)

Sync Address Book Contacts To Google Without An iPhone

Go to ~/Library/Preferences/ make a copy of com.apple.ipod.plist.
Edit com.apple.ipod.plist and set the value of Family ID to 10001.
(Re)Start Address Book. Preferences => et voila sync with Google contacts is available.
[via lifehacker]

In der Lokalpresse

Hier und hier

TextMate And Rails 2.1

While porting an old rails application I noticed that TextMate didn’t make syntax highlightning for the new view file extension “.html.erb”.
Simply open the bundle editor go to the RubyOnRails section, select the HTML(Rails) entry and on the right javascript window on the second line add ‘erb’ to the filetypes.
fileTypes = ( ‘rhtml’, ‘erb’ );
That’s it.