Samstag, 18. April 2009

Aufloesung in slant range

sigma(boden)=aufloesung/sin(incidence_angel)

Donnerstag, 16. April 2009

cvs commands

To restore the contents of any day before the given day use:

chris@korbi:~/workspace/ospdir-twopass> cvs -d /home/cvs update -Pd -r twopass_mocoresampling_pband -D now

for the latest version before 1.4.2009:

chris@korbi:~/workspace/ospdir-twopass> cvs -d /home/cvs update -Pd -r twopass_mocoresampling_pband -D 20090401

Mittwoch, 11. Februar 2009

shift complex array by applying a ramp in frequency domain

tam=size(vector)
w=findgen(tam(1))/float(tam(1))
shifted_vector=(fft(fft(vector)*exp(complex(0,-w*s)),/inverse))
s is der shift in pixels

Mittwoch, 4. Februar 2009

mount iphone in linux via usb

1) get package ifuse-0.9.5-2.3.i586.rpm
libplist1-1.2-2.1.i586.rpm
usbmuxd-1.0.0-23.2.i586.rpm
libiphone0-0.9.5-4.1.i586.rpm
libusbmuxd1-1.0.0-23.2.i586.rpm

from http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page
2) install these packages
3) sudo ifuse --root /mnt/iPhone/ in order to mount root filesystem of the iphone
3) sudo ifuse /mnt/iPhone/ in order to mount user filesystem of the iphone
4) unmount the iphone with sudo fusermount -u /mnt/iPhone

Mittwoch, 14. Januar 2009

grub

Error 18: Selected cylinder exceeds maximum supported by BIOS
-> the bios is too old and the kernel is byond the 8 Gbyte limit

Install the grub from rescue disc:
mount /dev/sda? /mnt/sysimage
mount --bind /dev /mnt/sysimage/dev
chroot /mnt/sysimage
grub-install /dev/sda


IF the partitions are as follows:
/dev/sda1 windows
/dev/sda2 extended
/dev/sda5 swap
/dev/sda6 /
/dev/sda7 /home

then you need to set /dev/sda2 as the boot partition with fdisk /dev/sda a 2
in the menu.lst of grub needs to be written: root (hd0,5)

Montag, 29. Dezember 2008

siemens 4000 micro needs SM1

The siemens telefon 4000 4010 4015 micro needs Slim-Lumberg-SM1
The SM2 is not compatible!

Dienstag, 16. Dezember 2008

edit initrd image

1. Rename:
mv initrd.img initrd.img.gz
2, Uncompress:
gzip -d initrd.img.gz
3. Extract: (WARNING!! without "--no-absolute-filenames" extracts in your root "/")
mkdir root
cd root
cpio -i --no-absolute-filenames < ../initrd.img
4. Do the editing
5. New archive:
find . | cpio -o -H newc > ../initrd_new.img
6. Compress:
cd ../
gzip -c initrd_new.img > initrd_new.img.gz
7. Rename:
mv initrd_new.img.gz to initrd.img