Showing posts with label SOLVED. Show all posts
Showing posts with label SOLVED. Show all posts

Thursday, 7 July 2011

[SOLVED] How To Stop XSL Outputting Unwanted Namespaces


Unwanted namespace in transformed XML
I'm using XSL quite a lot now and several times I've had an issue with namespaces in the output XML/XHTML. In particular if you're using xpath-functions then you might have the xmlns:fn namespace finding it's way into your output. I've finally found the solution and though I'd better post it before  I forget it.

Lets see some an example of the problem.

Monday, 13 June 2011

[SOLVED] VPN: short read (-1): 'Message too long'

While working from home I've had a really annoying problem for a while now. I've set my VPN to only use VPN for local addresses. So normally surfing and stuff is fine.
But when send an email through the MS Exchange web interface, or browse a development site on the office network, my VPN fails with this message:

nm-pptp-service-7067 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long

It disconnects any SSH sessions using the VPN, and is generally very annoying.
Finally I think I may have got the answer....

Wednesday, 1 June 2011

Enabling Alt+f and Alt+b shortcuts in Gnome Terminal

I though each time I find a solution to a problem I have I should blog it to make sure the knowledge is out there for everyone. This is a super simple one to start with.

I've been switching from KDE to Gnome in Ubuntu, but been finding it hard to let go of Konsole.
Then I realised the the Gnome Terminal allows background images the way Konsole used to. Anyway, that's another post, standard terminal shortcuts weren't working, like Alt+f to skip forward a word and Alt+b to go back a word, as they were conflicting with the window menus, as in the image above.

There's a super simple fix.