linux

Use GMail account for syncronization

One possibility to synchronize the contacts is to use a google mail account. This works because GMail is able to import contacts exported by outlook as comma separated file. When using the Nexus Phone one typically uses a GMail account anyway, so this is a natural way to do it.
Follow these steps:

  • Create a gmail account.
  • In outlook choose the menu entry file->import/export->export.
  • Choose Comma separated values, then Contacts.
  • Save your contacts as comma separated file.
  • On GMail go to Contacts and choose from button More the entry import contacts.
  • Choose the file you just exported and push Import.
  • Thats it, more or less. As the Google Nexus will synchronize all mails and contacts with your google account automatically (of course it has to be set up accordingly) the contacts will appear at the phone after a short time. Additionally it shall be mentioned that Google has a great tool to find duplicate contact-entries or to merge contacts.

Taggings:

Transfer contacts from Nokia Phone (Symbian) to Google Phone (Android)

In the company I worked, I used Windows, Outllok and Nokia Phone N97mini. During that time I managed all my contacts at my company phone, which was used as private phone too. There is the standard tool from Nokia to synchronize contacts between Windows Outlook and the phone, called "PC Suite". In fact with PC suite there is much more possible, e.g. writing SMS messages on the PC (which is much more convinient). Unfortunately there is no such tool for the Android driven Google phone, so one cannot easily transfer the contacts stored in outlook to Android. Additionally my private computer runs with Linux, while the company computer is Windows driven. I want to transfer the contacts from my Nokia Phone to the Android-phone (Google Nexus).

Using Mango for DICOM data

One possibility could be to use Wine (Windows emulator) to run the windows program present on the CD. But: Wine often has problems with graphic intense software and the chances, that this would work are rather low.
Surfing the Web showed, that there might be only one decent application to allow the same functionality than the win app.
Mango (http://ric.uthscsa.edu/mango/mango.html) is capable of displaying DICOM picture series and additionally to do additional fancy things needed by a medical doctor e.g. creating 3D models (see homepage for full functionality).
As this is a java program and does not install into the system, e.g. is not accessible via the app-menu some additional steps have to be performed.

  • Download SW from Mango HP
  • Unpack somewhere in your home-folder
  • Start the Gnome Menu editor
  • Add java -jar {path_to_Mango_program} to it

To enable all users to access the program it has to be installed into some global folder (e.g. /opt/Mango). All other steps are same asa above. Note, that only superuser can install into /opt.
Another possible program would be Open DICOM Viewer (http://sourceforge.net/projects/opendicomviewer/) but this program only has limited functionality and cannot compare to the feature richness of Mango. As Open DICOM Viewer is a Java program as well the installation instructions above also apply to it.

Viewing medical data (CT pictures) on Linux

I recently had to visit a CT institute to produce a series of CT-pictures depicting the internals of my nose (and parts of the head as well). The result was a series of about 120 pictures, each picture showing a small slice of the interesting region. They can be used by a medical doctor to examine the structure of the region of interest for example to prepare for a surgery. In theory it is also possible to create a 3D-model of the recorded region. The institute provided me with the on-paper pictures as well with a CD, containing the examination-results in a dedicated format, called DICOM (Digital Imaging and Communications in Medicine). The CD also contains a windows-program to instantly show the results on screen of a windows-computer. But... I do not use windows. How to show them in Linux?

restoring KVM Vm Ware deleted images

don't restart or stop the VM not at all, by doing this, you will lose your image files and this will lead to a disaster.
Linux mark the files as deleted, but they are still exist, I will show you how to restore the files.

1- Look for the pid of the running virtual machine you just deleted (for example a virtual windows server)

lsof | grep -i qcow | grep deleted
kvm 31127 root 9u REG 9,2 32212254720 2985316 /home/root/kvm/windows_2003/win2k3.qcow2 (deleted)

2-With the pid (31127) you can find the filediscriptor in /proc.

ls -al /proc/31127/fd | grep deleted
lrwx------ 1 root root 64 Nov 6 14:51 9 -> /home/root/kvm/windows_2003/win2k3.qcow2 (deleted)

3-Now suspend your virtual machine in order to prevent data loss

virsh suspend winserver

4-Restore the files to its original path and name.

cat /proc/31127/fd/9 > /home/root/kvm/windows_2003/win2k3.qcow2

5-Now you have to hard-reset your virtual machine.

virsh destroy winserver && virsh start winserver

Taggings:

How to restore deleted KVM files under Linux

If you have accidently deleted the files of your virtual machines while they are still running, what can you do? that was my personal experience with about 15 virtual servers !

Data transfer: Android-Phone & OS

It can happen almost anywhere, you want to transfer something from a computer to your phone or vice versa. You have your phone and also an USB-cable but you’re not at your PC where all drivers are installed you are on the go (maybe university or at a friend?). Maybe you are not even able to install drivers as you don’t have the necessary rights on the system? How can you connect your phones memory to an unknown PC that supports USB-Sticks?

Linux and Yahoo Messenger

You used to use Yahoo Messenger and talk to you friends through it under Windows? Also used Webcam, Voice Chatting, sharing files and other features of it ? But for some (university came up Linux became more important) or other reasons you had to change from your beloved Windows (“bazinga”) and your missing all the features of your Yahoo messenger you had once in Windowzs. How can you enable a working Yahoo messenger in linux, that provides you most of the functionality?

Installing Linux to compile and run such programs

One solution was to download a linux distribution, install it besides Win7 and then use the commands as recommended in the shell of this linux distribution.
That solution worked like a charm, the only "drawback" of that solution were the 6gb additional storage needed for installing the linux distribution.

Taggings:

Using "make" in Win7

In the lecture called "Digital Forensics" we had to use a tool called truecrack to crack a Truecrypt container. The problem was that there is no executable file avaiable to install this program, you have to compile it by your own. But in Windows it is not possible to execute such Makefiles without installing additional programs.

Pages

Subscribe to linux