Archive for the ‘Uncategorized’ Category

Reconstruct VM if VirtualBox.xml, $vm.xml is lost 0

If you are using snapshots, this isn't an easy feat. You need to reconstruct the snapshot tree, with only a bunch of UUIDs to go on. Fortunately, each (differential) VDI file stores the UUID of it's parent VDI. The following Python script parses a set of VDI files and tries to rebuild the tree:
http://github.com/miracle2k/linuxutils/blob/master/reconstruct-vdi-tree.py
It can [...]

Merkur Bank HBCI in Hibiscus 0

Als Benutzerkennung muss der ursprüngliche numerische Online-Key verwenden werden, nicht der selbst konfigurierte Alias. Die HBCI-Version muss explicit auf FinTS 3.0 gestellt werden, via automatischer Erkennung scheint es nicht zu funktionieren. Die HBCI URL ist hbci11.fiducia.de/cgi-bin/hbciservlet.

Booting Ubuntu Karmic and Windows 7 from a GPT partition using BIOS 0

Those are some notes taken while trying to get this setup running. I've actually been running this for a long time, and so the post has have been in draft status far too long. I needed to finish it up before my memory would fail me.
The roadblocks here are mainly related to weak support for [...]

Android: Build multiple versions of a project 1

This is a question that comes up once in a while.
For example, say you'd like to offer a full and a demo version, which isn't really uncommon. Now, the Android Market enforces that each application package needs to use a unique package name, so you can't just recompile your .apk with a DEMO=true variable [...]

UserVoice alternatives which aren't crazy expensive 1

I really like UserVoice - unfortunately, the pricing is totally off. I don't even think I'm asking for that much. All I would like to do is use it as part of a mobile Android app. Which means, there would either need to be a mobile version (there isn't), or an API that would allow [...]

Distributed bug tracking 0

Rather than bothering with setting up and maintaining external tools, I usually prefer to simply have a TODO file in my repository where I collect issues and ideas. However, I'm starting to want more of an ability to maybe attach certain metadata, categorize issues etc.
There is ciss-tracker, which is basically a command line interface on [...]

init.d script for smuxi-server 0

Quick&Dirty:

#!/bin/bash

USER=michael
GROUP=michael
PIDFILE=/var/run/smuxi.pid

case "${1:-''}" in
'start')
start-stop-daemon -S -c $USER -g $GROUP --make-pidfile --pidfile $PIDFILE --background --startas /usr/bin/smuxi-server -v
;;
'stop')
start-stop-daemon -K --pidfile $PIDFILE -v
[...]

Upgrading an OpenVZ VE to Jaunty 0

After upgrading a VE to Jaunty through do-release-upgrade, the network stopped working.
A post in the OpenVZ forum suggests a fix that works for me:

On the host:

vzctl set XXX --features "sysfs:on" --save

In the container:

vi /etc/init.d/networking

After the comments at the top, add the line:

mkdir -p /var/run/network

Note the post suggested the directory var/run/networking, my init script wanted /var/run/network [...]

Online Translation Services 0

All of these allow editing translations through a webinterface.
Transifex: hosted, .po files, Open Source projects only.
Crowdin: hosted, many formats, free for Open Source, eventually pay for closed-source software.
Pootle: install on your own server; .po and xliff support, not all that great an UI unfortunately.

Android: Check if SD card storage is available 1

As used in the Android 2.1 Camera app, in com.android.camera.ImageManager:

public static boolean hasStorage(boolean requireWriteAccess) {
String state = Environment.getExternalStorageState();

if (Environment.MEDIA_MOUNTED.equals(state)) {
return true;
} else if (!requireWriteAccess
[...]