Pages

CR/LF windows – cygwin problems

vim has a simple setting that fixes CR/LF issues;

:set ff=unix

jnp

I work on a JBoss problem and I encounter several jnp: references. jnp?

After some googling I find that

“The jnp: portion of the URL is the protocol and refers to the socket/RMI based protocol used by JBoss.”

Aha… So, this is a proprietary JBoss protocol?

Mounting a windows share

sudo mount -t cifs //host/share mnt -o username=me,noexec

Ubuntu 8.10 on VirtualBox

There are three things that needs to be taken care of;

* The most update guest Guest Additions makes my international keyboard map certain keys wrongly. Download and use VBoxGuestAdditions_2.0.6.iso instead* To tweak the xorg.conf file correctly, you need two things in place;

Section “Device” Identifier “Configured Video Device” Driver “vboxvideo”EndSection

Section “Monitor” Identifier [...]

multiple commands in a find -exec call

A little tricky. This does the trick;

$ find . -name a.file -exec sh -c “grep something {} && echo {}” \;

i.e. the sh -c is the thing to escape all the shell interceptions.