LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > jere21
User Name
Password

Notices

Uncategorized Entries with no category
Old

funambol: Sync contacts and calendar

Posted 10-03-2011 at 11:13 AM by jere21
Updated 03-11-2012 at 10:57 AM by jere21 (added init script)

  1. Download funambol server package bundle (including java, webserver tomcat and database Hypersonic):
    32 bit: https://www.forge.funambol.org/servl...=FUNBUNDLE-LIN
    64 bit: https://www.forge.funambol.org/servl...UNBUNDLE-LIN64
  2. Install funambol:
    Code:
    chmod +x funambol-10.0.3-x64.bin
    sudo ./funambol-10.0.3-x64.bin
    • "yes" - accept license
    • "RETURN" - accept to install to /opt
    • "no" - Don't start the server yet
...
LQ Newbie
Posted in Uncategorized
Views 4950 Comments 3 jere21 is offline
Old

Automatically set file date from EXIF data

Posted 12-27-2010 at 02:54 PM by jere21
Updated 12-27-2010 at 02:59 PM by jere21

You can set the creation date of a picture or video as its access and modification time: If the creation date was saved in the exif data of some media, you can extract it with "exiftool -ee -CreateDate" and then "touch" the file with that time.

To do this automatically save the following script e.g. as /usr/local/bin/exiftool_set_create_date
Code:
#!/bin/sh
# exiftool_set_create_date: set the file date from exif "Creation Date".
echo -n "$@:
...
LQ Newbie
Posted in Uncategorized
Views 1953 Comments 0 jere21 is offline
Old

Hugin - create panorama pictures

Posted 11-20-2010 at 11:19 AM by jere21
Updated 11-20-2010 at 11:42 AM by jere21

Code:
aptitude install hugin autopano-sift-c
autopano-sift-c is suggested, but only available from debian-multimedia.org, because patent pending in US.

1. Load images
  1. Rotate camera when making pictures
  2. Load images
  3. HFOV(v): 45 degrees (Nokia N95). General: ~50 (landscape photos), ~40 (portrait photos)
  4. Align
  5. Preview Window: Projection Rectilinear (or ? Panorama (Cylindrical))
  6. Preview Window: Autocrop
  7. Edit: Fine-tune all points
  8. Edit: Optimize
  9. Create Panorama
LQ Newbie
Posted in Uncategorized
Views 1356 Comments 0 jere21 is offline
Old

Sorting pictures, removing duplicates

Posted 11-20-2010 at 08:37 AM by jere21
Updated 02-03-2012 at 03:49 PM by jere21

EDIT 2012-02-03:
In Debian I just discovered "duff". A tool to find duplicate files
---


All files with their md5sum
Code:
find . -type f -exec md5sum '{}' ';' > pics_complete.txt
Lists with only md5sum, once with duplicates removed
Code:
cat pics_complete.txt | sed -r "s|^(.*) .*|\1|"| sort > pics_sorted.txt
cat pics_complete.txt | sed -r "s|^(.*) .*|\1|"| sort -u > pics_sorted-uniq.txt
md5sum...
LQ Newbie
Posted in Uncategorized
Views 3620 Comments 2 jere21 is offline
Old

virtualization with kvm

Posted 11-16-2010 at 07:30 AM by jere21
Updated 02-17-2011 at 11:50 AM by jere21

Code:
[INSTALL, DEPENDENCIES] bridge-utils
[INSTALL, DEPENDENCIES] libaio1
[INSTALL, DEPENDENCIES] libvde0
[INSTALL, DEPENDENCIES] libvdeplug2
[INSTALL] qemu-kvm
[INSTALL] vde2

[INSTALL, DEPENDENCIES] etherboot-qemu
[INSTALL, DEPENDENCIES] openbios-ppc
[INSTALL, DEPENDENCIES] openbios-sparc
[INSTALL, DEPENDENCIES] openhackware
[INSTALL, DEPENDENCIES] qemu-keymaps
[INSTALL, DEPENDENCIES] qemu-system
[INSTALL, DEPENDENCIES]
...
LQ Newbie
Posted in Uncategorized
Views 680 Comments 0 jere21 is offline

  



All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration