News

Running the BitNami LAMP stack with the system MySQL

The excellent BitNami LAMP stack contains its own MySQL, which is started automatically and used by PHP.

Importing site certificate into Java Runtime certificate store

When your Java program attempts to connect to a server that has an invalid or self signed certificate, such as an application server in a development environment, you may get the following exceptio

Cherry Linux keyboard and Java

Since I couldn't get the KeyMan utility that came with my Cherry keyboard to work with SuSE 10.3 I had problems getting the Cut, Copy and Paste keys to work.

Preventing remote access to datasources

When you define a JDBC connection pool in Glassfish (AKA Sun Java System Application Server 9) and JDBC resources for it, you usually include a user name and password as pool properties.  You

Editing crontab for QNAP, and making it stick

If you have a QNAP you may want to run some scripts regularly. Editing the crontab seems to work but your changes don't survive a reboot. There is however a fairly simple solution:

Fixed DPI with NVIDIA driver on Linux

Question: 

How do I tell the NVIDIA driver to use a fixed DPI that does not depend on my screen size?

Answer: 

Add the following to the Device section in your xorg.conf:

Option "UseEdidDpi" "FALSE"
Option "DPI" "75 x 75"

Substitute the DPI you want for 75 above.

 

The perfect egg

Boiling an egg is easy. Boiling the perfect egg however, requires extensive research. After many months of boiling, testing and statistics gathering I've concluded the following:

Using Apache as a proxy to access a J2EE web application

OK, you have created a great web application and now you want to expose it to the world, or perhaps a limited subset of it.

Mailing files from Konqueror

Question: 

I want to right click on one or more files in Konqueror and create a new mail with the files as attachments. Is this possible?

Answer: 

Yes, by creating a service menu entry.

In the directory .kde/share/apps/konqueror/servicemenus, relative to your home directory, create a file called sendto.desktop with the following contents: