Virtual Viewer Project Page

The Virtual Viewer Project page is now available.

Currently I’m still working on showing active alarms. This is already working fine, but still needs some polishing.

An update should be out soon.

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/virtual-viewer-project-page/

Virtual Viewer

I’m currently working on an Android application, which makes it possible to view information and stats of a VMware vCenter or VMware ESX (vSphere).

The first version is already on the market: steffmeister Virtual Viewer 1.0.

At the moment it doesn’t do much. The login to vCenter is working and some info is displayed. I’d like to encourage everyone who is interested in this topic to download the app and provide me feedback (via mail or comments on this blog).

I will update my Projects page to include Virtual Viewer soon.

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/virtual-viewer/

Selfmade TYPO3 backend modul: scrollbar problem

While programming a typo3 extension I came across the following problem: my backend module didn’t show any scrollbars. This made it impossible to scroll down to the end of a list to view all elements.

After some looking around I found the CSS class typo3-mod-php which has set the property „overflow“ to „hidden“. Seems to be ONE of the bad one to me. I don’t think it is the only reason.

To fix the problem for me I added following code to the moduleContent() method in my backend module:

[CODE PHP]
$content .= „

\n“;
[/CODE]

It’s not perfect, but it’ll have to fit until I have found something better.

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/selfmade-typo3-backend-modul-scrollbar-problem/

DangerSPL and CyanogenMod: english keyboard layout

After updating my HTC Dream from CyanogenMod 5.0.7 to 5.0.8 my keyboard layout has suddenly changed to english (QWERTY.

I found the solution in the CyanogenMod wiki, a bit hidden.

.

To solve the problem open a terminal on the phone and enter following:

[CODE BASH]
su
mount /system -o rw,remount
cd /system/usr/keylayout
cp trout-keypad-qwertz.kl trout-keypad-v3.kl
cd /system/usr/keychars
cp trout-keypad-qwertz.kcm.bin trout-keypad-v3.kcm.bin
[/CODE]

You can, of course, also run this commands via the adb shell from your computer.

All you have to do then is to reboot your phone and that’s it.

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/dangerspl-and-cyanogenmod-english-keyboard-layout/

Swap images via CSS

Last time I tested how to swap an image if you hover on it with the mouse. Today, the same, but this time the image swape is realised via plain CSS.

[CODE HTML4STRICT]

Test




[/CODE]

If you like to place a link on the image you’ll just have to surround the div tag with an ordinary „a“ tag.

XHTML Live Example

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/swap-images-via-css/

Swap images via JavaScript

With the following JavaScript it is easy to reokace an image with another when the mouse is hovering over it:

[CODE javascript]
function imgreplace(Image,Url)
{
document.images[Image].src = Url;
}
[/CODE]

The HTML code for the image looks like this:

[CODE HTML]
Image
[/CODE]

The normal.png is replaced with hover.png when the mouse hovers over the image (onMouseOver). The image is replaced again when the mouse leaves the image (onnMouseOut).

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/swap-images-via-javascript/

Revert HTC Dream (G1) to original firmware

Guid for european phones only! It worked for me, but I don’t give any kind of warranty!

After some time using the alternative firmware CyanogenMod I wanted to test the original T-Mobile ROM again. Later I was forced because my phone wasn’t able to boot anymore because I flashed a wrong firmware.

The Wiki on CyanogenMod got me started: First thing is to check which bootloader is installed

  • Power off phone, power on and hold Power and Camera button
  • you should end up in a four colored screen and a text saying: VER: HBOOT-0.95.0000, if this is the case you have the original and right bootloader and you can skip to the next points
  • Download original bootloader, copy it on the sd card and power off the phone
  • Power on phone and hold Power and Home button, you should end up in the recovery menue, select „apply any zip from sd“ and choose the just downloaded zip, wait until it has finished and reboot the phone (Home and Back button), check the bootloader again according to the first step

Flash original Dream image

  • Download DREAM image and copy it on your sd card (don’t rename)
  • power off phone, power on and hold Power and Camera button to launch the recovery menue, press the track ball.
  • Wait until it has finished
  • Reboot the phone (press Power, Back and Call button at the same time)

The phone is now in its original state (factory defaults).

After that I have to get to Android 1.6 again. This is possible with the manual upgrades:

That’s it. You can check your version under Settings -> About phone -> Firmware version. It should say 1.6, and your build number should say DRC92.

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/revert-htc-dream-g1-to-original-firmware/

Captain Kirk

You all know Captain Kirk from Star Trek: I’m sorry, I can’t here you over the sound how awesome I am.

kirk

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/captain-kirk/

TYPO3 backend session timeout

Something that always bugged me about the TYPO3 backend was the message „Your session may have expired. Do you want to login again?“ after every hour I was idle, so I looked for a solution:

All you have to do is to set following in your typconf/localconf.php file:

$TYPO3_CONF_VARS['BE']['sessionTimeout'] = '7200';

This will set the backend session timeout to 2 hours.

Happy idling!

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/typo3-backend-session-timeout/