recovering JPGs from a corrupted filesystem

as usually, we took tons of pictures during our last vacation, so eventually the memory card (a SD card) ran out of space. luckily, I had another SD within reach, so we just swapped them and went on…
arriving at home, I started downloading the pictures. when I plugged in the second card, loads of error-messages appeared, indicating a badly broken FAT32 filesystem. none of the newly taken pictures was there :-( Continue reading ‘recovering JPGs from a corrupted filesystem’ »

installing redmine on debian/lenny using mod_passenger

this is based on redmine-1.0.0

we need a more recent version of rails and rubygems than those shipped with lenny, so first add the backports-repository to your sources.list:

deb http://www.backports.org/debian lenny-backports main contrib non-free

then, update your package list:

sudo apt-get update

and install the above mentioned packages Continue reading ‘installing redmine on debian/lenny using mod_passenger’ »

adjusting temp- and swap-path in GIMPportable on windows

By default, GIMP-portable tries to use a folder below the one it has been started from for temp and swap. That’s just fine if you use it on your usb-stick, but it bugs you with an error message if GIMP is supplied from a read-only network drive: “Unable to open a test swap file.”

This can be fixed by editing (or creating) the system-wide gimprc file, which is located in \Data\settings\

First, I tried to use the windows-style %APPDATA% variable, but GIMP does not interpret it correctly. Digging a bit in the web revealed the way how to do it, they have to be used in shell-style including curly brackets like this:

(temp-path "${APPDATA}\\gimp-2.6")
(swap-path "${APPDATA}\\gimp-2.6")
 
(undo-size 512M)

andLinux “Cannot open display” problems…

make it short:

-> open windows firewall, tcp port 6000
-> adjust the Xming startup command, include a full path for the logfile, e.g. “C:\Temp\Xming.log” instead of a filename only

Monitoring MySQL queries

Monitor All SQL Queries in MySQL is a very nice (though short) posting about how to debug and monitor what’s going on inside your DBMS. There’s supposed to exist a similar tool for MSSQL called “Profiler”.

how is the nautilus thumbnail-filename related with the file it belongs to?

found it somewhere in ubuntuforums.org:

echo -n 'file:///path/to/file/name.jpg' | md5sum

list obsolete and/or locally installed packages in debian/ubuntu

aptitude has a specific list-category to display those when using the curses-GUI, but I do not like it. fortunately, you can use the search-command from the cli-interface with the appropriate search-pattern:

aptitude search "?obsolete"

or as a shorthand:

aptitude search "~o"

See the aptitude Reference Guide for more information.

enable debug logging in mozilla lightning

add the following lines (or adjust if already there) in your thunderbird-profile’s “prefs.js”

user_pref("calendar.debug.log", true);
user_pref("calendar.debug.log.verbose", true);

lightning-plugin for ubuntu’s 64-bit thunderbird in 10.04 [updated]

http://www.secudb.de/~seuffert/mozilla/

UPDATE:

http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b1/contrib/linux-x86_64/

where to locate purchased music on an iPod Touch / iPhone

it’s in /var/mobile/Media/Purchases/