At work I’m currently developing software which is supposed to run on openSUSE. I need to query the package database at some point which of course does not exist on my ubuntu machine. Here’s a quick setup how to create a fake local RPM database:
echo "%_dbpath /home/user/rpmdb" >> ~/.rpmmacros
mkdir /home/user/rpmdb
rpm -i –nodeps –justdb –force-debian *.rpm
And [...]
While trying to vamp up XBox 360 support for rygel, I also need a transcoder suitable for the XBox. While H.264 would work it is CPU consuming and hard to get right for the XBox, because it is quite picky. So I decided to go for WMV1/WMA2. Prototype gst-launch commandline:
gst-launch filesrc location=input_file ! decodebin2 name=decoder [...]
Say you have a binary registry export or dump from Windows and need to have a look at its contents. What do you do? The solution I came up with is:
WINEPREFIX=/tmp/dump regedit *.reg
Which gives you nice plain-text ini-style registries to examine in /tmp/dump. That obviously needs Wine installed.
If you’re using VMWare on Linux host, you sometimes might experience that after switching from VM to Host your ALT key (or some other “special” key) stopps working. Found the workaround to correct this: setxkbmap
(Workaround found in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/195982)
I wrote earlier about compiling libgpgme for use with Visual Studio. Forgot to mention that this is an useless effort because the filedescriptor passing does not work and as such you can only encrypt decrypt from or to memory.
If net ads join ever again fails with Failed to join domain: failed to find DC for domain just throw the stupid NetBIOS name of the ActiveDirectory server into the hosts file, will you? Sheesh…
If you ever wondered what parameters you could pass in that funny xmllet <GnupgKeyParms></GnupgKeyParms> when using gpgme_op_genkey:
The answer to that is
in the gnupg source, file g10/keygen.c, line 2363
at http://lists.gnupg.org/pipermail/gnupg-users/2007-February/030330.html
at doc/DETAILS, line 716.
My current task is evaluation crypto (here: OpenPGP) solutions for Microsoft Windows; of course including GnuPG.
Well, what do I say. While there is a nice installer for GnuPG on Windows available (either here or here), try to find one for the gpgme supporting library… (including header and .lib import files for Visual Studio, that is).
You [...]