Lotus Domino R6 and Windows Active Directory SSO

In R6, the procedure in making this work have changed. When setting this up, I found Jake’s ”Alternative to the Domino HTTP stack” article, but the instructions are for an R5 server. The R6 Admin help have a small guide, but it contains some errors. After a quick search on IBM’s site, I found the […]

Removing empty elements in a PHP array

This works like the @Trim formula in Notes/Domino. I’m still new at PHP, so there are maybe better ways of doing this. /** * Trims an array from empty elements. * * @param $a the array to trim. * @return a new array with the empty elements removed. */ function array_trim($a) { $j = 0; […]

Upgrading risks

I got a good laugh when reading Mike’s post about MySQL 4.1 Hashing. Remembered a thing in the past I did. About 15 years ago, I got a preview of a great new FileMaker Pro version for Macintosh, and I converted (!) all my databases to the new format. What I didn’t knew, was that […]

Edit Document Fields 5.0.1

If you are using Notes, and often update fields in documents, Chad Schelfhout’s Edit Document Fields is an invaluable tool! Check out the new 5.0.1 version!

Disable Caps Lock in Windows XP

I type bad, and if Caps Lock is enabled I type even worse. Here is a trick to disable it (Caps Lock, not my bad typing unfortunately :-). At annoyances.org, I found this discussion on how to disable it. The attached file is a shortcut to add information into the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout. It […]

JNI method and constructor signature cheat sheet

I just started learning LS2J, and the JNI signatures that are required when getting methods and constructors are a bit hard to understand. Here are my findings so far. B=byte C=char D=double F=float I=int J=long S=short V=void Z=boolean Lfully-qualified-class=fully qualified class [type=array of type> (argument types)return type=method type. If no arguments, use empty argument types: […]

Getting the current full URL in PHP

Sometimes, you might want to get the current full URL in PHP. Here is how you do that. Add the following code to a page: function selfURL() { $s = empty($_SERVER[”HTTPS”]) ? ” : ($_SERVER[”HTTPS”] == ”on”) ? ”s” : ””; $protocol = strleft(strtolower($_SERVER[”SERVER_PROTOCOL”]), ”/”).$s; $port = ($_SERVER[”SERVER_PORT”] == ”80”) ? ”” : (”:”.$_SERVER[”SERVER_PORT”]); return […]

My HTPC plans are dead, long live KiSS DP-558!

I got tired of my HTPC plans, when I heard of a Linux based DVD-player and HD recorder I bought the KiSS DP-558 a copule of months ago, and with the latest firmware (1.1.3), it does almost all that I wanted my HTPC to do: Plays DVD, CD, MP3, DivX, VCD… Records TV on the […]