Here is a small Java application which connects to a database using JDBC and prints some information.

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
public class JDBCInfo {
    private Connection conn;
    public JDBCInfo(String driver, String url) {
        if (driver != null) {
            try {
                System.out.println("Registered JDBC driver '" + driver + "'");
            } catch (ClassNotFoundException e) {

Firefox Hangs

[http://www.mozilla.com/ Firefox] hangs when tab or window containing a flash applet is closed. This only happens with sometimes.

== Possible solutions ==
=== Sound problem ===
The problem can be that [http://www.mozilla.com/ firefox] is not able to play the sound since you have a newer [http://www.linux.org/ Linux] [http://www.kernel.org kernel] (with [http://www.alsa-project.org/ ALSA]).
Install ''libesd-alsa0''. On a [http://www.debian.org/ Debian] based system just do:

<bash>apt-get install libesd-alsa0</bash>

Evolution Connector

== OWA username and mailboxname is not the same ==
I had some problems connecting to my company email account (the serever running on MS Exchange with OWA enabled). The problem seems to be that in the setup we have the username and mailboxname are not the same and since Evolution 2.x the setup don't let you specify these setting seperatly (in 1.4 you had a textbox for each did).
I solved it by fetching the gconf.xml file from a machine I knew I had a working setup.
So here is a quick tutorial if you have the same problem.

* Shutdown Evolution and all it's processes.

Clearcase Tips and Trix

Most of the content on this page is '''pinched''' from [http://www.yolinux.com/TUTORIALS/ClearcaseCommands.html YoLinux Tutorial - Clearcase Client Commands]. I've just added them here for quick reference.

== Usefull Commands ==

''ct lsco''
List all checkedout files in the current directory.

''ct lsco -r''
Same as above with the flag "-r" recusivly looks in sub directories.

''ct lsco -me -cview -all''
List all files that are checkedout by me in the current view.

''ct find ./ -branch 'brtype(branch-name)' -print''

Boot pxelinux clients from HP-UX

== Introduction ==
[http://syslinux.zytor.com/pxe.php pxelinux] is a boot loader for booting Linux off a network server, using a Intel PXE (Pre-Execution Environment) conforming ROM.

In short the PXE network card loads the pxelinux ROM file from the server using TFTP. pxelinux then retrieves (also using TFTP) a boot parameter file (comparable to lilo.conf or grubs menu.lst files). This file tells pxelinux what kernel to retrieve (by TFTP) and what kernel arguments to pass to it at boot time.