Alle Beiträge von Flo

Amazon Kindle & Linux… and how to remove DRM

Kindle and Linux

There are useful tools around to handle your Amazon Kindle:

  • calibre – a nice piece of software to manage your books (library) on your kindle. This tool also converts and sends books to your device. The all in one solution. It is extremely expendable with Plug-Ins (also for removing DRM)
  • ebook-convert and other commandline-tools (gets installed with calibre)
    example: ebook-convert filename.cbz filename.epub

snapshot3

snapshot4

Removing DRM with Python tool

  1.  What you need: Python on your system – just try „python“ in CLI. If Python is missing in your distro install it – e.g. in Ubuntu by „sudo apt-get install python“
  2. The MobiDeDRM Scripts – http://nyquil.org/uploads/MobiDeDRM.zip
  3. If you buy a book from Amazon you normally get a „Book.azw“-File…
  4. … the next steps:
  • python kindlepid.py XXXXXXXXXXX“ where XXXXXXXXXXXX is your 16-character Serial (get your serial from your Kindle Systeminformation – Settings/Device information). The Terminal window will return something like Mobipocked PID for Kindle serial# XXXXXXXXXXXXXXXX is Z1QFCDQ*74. That “Z1QFCDQ*74” string is what you need.

snapshot2

  • Now all you have to do to remove the DRM from the .AZW file is:
    python mobidedrm.py Book-Title.azw Book-Title.mobi YourMobiPocketKEY
    In a minute or so you should have a DRM-free MobiPocket book you can later convert in any other format you like. If that doesn’t work, try
    python mobidedrm2.py Book-Title.azw Book-Title.mobi YourMobiPocketKEY

 

Sources and more information:

  • https://www.facebook.com/notes/unix/remove-drm-from-amazon-kindles-ebooks-using-linux/293892687293406
  • http://apprenticealf.wordpress.com/2012/09/10/drm-removal-tools-for-ebooks/
  • http://www.heise.de/open/artikel/Toolbox-E-Book-Verwaltung-mit-Calibre-2038084.html

 

Sources for free eBooks

  • http://www.gutenberg.org/
  • Torrent

SMSen mit Linux (… SMS-Server)

Unter Linux können ganz einfach mit einem entsprechenden Modem (zB UMTS-Stick) SMS versendet und empfangen werden. Die Beschreibung nimmt Bezug auf Ubuntu mit Gammu und UMTS-Stick (Huwaei E160):

Die Befehle:

  • gammu-config

  • gammu getallsms

  • gammu sendsms text NUMBER

Im Detail:

Wenn Gammu noch nicht installiert wurde:

# sudo apt-get install gammu

Next, we need to configure Gammu to pickup the correct device. Check your dmesg for the serial port:

$ dmesg|grep tty
[12321.308078] usb 5-3: GSM modem (1-port) converter now attached to ttyUSB0
[12321.308275] usb 5-3: GSM modem (1-port) converter now attached to ttyUSB1

Edit ~/.gammurc, or run gammu-config to change the device settings. Your ~/.gammurc file should look similar to:

[gammu]
port = /dev/ttyUSB0
model =
connection = at19200
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =

Give it a test by getting all the SMS from the device:

# gammu getallsms

This should bring back all the SMS currently stored on the stick, which should include your login details for the Three website (unless you’ve deleted them). To send a SMS use the „sendsms“ command:

$ gammu sendsms text 07874454543
Enter message text and press ^D:
Test Message!!!!!1!
Sending SMS 1/1….waiting for network answer..OK, message reference=2

Projection settings (CRS) in QGIS 2.0 Dufour (e.g. Austria)

In QGIS 2.0 Dufour CRS-Settings are „hidden“ in a new menu (not anymore in „Settings“ like in 1.8).

  • Menu „Project“ – „Project properties“
  • You’ll find an entry „CRS“ ! Now you can choose your dedicated CRS and activate „on-the-fly“ transformation. Using „on-the-fly“ be aware of the correct transformation parameters for your CRS.
  • The parameters for Austria (see Screenshot) are OK and there is no difference between using ArcGIS 10.x and QGIS 2.0

qgis_crs

Installation von OwnCloud 5 auf domainGo Webspace (Power)

 

  • Voraussetzung: Webspace mit PHP und MySQL (Optional: SQLite) – zB Domaingo Power-Pakete
  • Download des WebInstall-Scripts von http://owncloud.org/install/
  • Kopieren des Scripts auf den Webspace – ACHTUNG: Vor dem Ausführen (http://URL/setup-owncloud.php) muss bei Domaingo auf die ZIP-Library in einem php.ini verwiesen werden (sonst bricht die Installation ab).
  • php.ini mit dem folgende Inhalt (ersten beiden Zeilen) in den Webspace zum setup-owncloud.php kopieren:

owncloud2

Diese beiden Files sind dann am Webspace:

  • owncloud3
  • Anschließend das Script ausführen: http://yourURL/setup-owncloud.php
  • Nun kann ein User und die Datenbank angelegt werden (SQLite!)
    owncloud11
  • Nach der Grundinstallation empfiehlt es sich die php.ini ins Installationsverzeichnis am Webserver zu kopieren und um die Zeilen im Screenshot zu ergänzen. Achtung: Die upload_size je nach Konfiguration des Webservers einstellen (–> phpinfo() )

owncloud2

From Google Tracks (Android Smartphone) to QGIS

The app GoogleTracks for Android-Smartphones is an easy to use  tool for logging GPS-Tracks with your phone – & it allows you to export the Tracks to GPS and KML. So it’s no problem to get your tracks in your GIS-Software.

How-To with QGIS 1.8

  • Export your Track to GPX in GoogleTracks on your phone
  • Copy the *.gpx on your computer (or by the way mail it from your phone 🙂 )
  • You can directly open the GPX in QGIS with „Add vector“
  • Attention: GPS-Data is saved in GCS WGS84 ! If you combine it with layers in your national CRS be aware of using the correct transformation-parameters !

Google Tracks in PlayStore: Link

On-the-fly CRS-Transformation in QGIS 1.8

Quantum GIS has the option to perform on-the-fly transformation between geodata with different coordinate systems within the data-frame.

When to use it ?
You have geodata referenced in different CRS (Coordinate reference systems) in one project (data frame).

Be aware !
Be aware that every data-layer has a coorect CRS defined and the CRS of the data-frame has to be defined !

Also keep attention whether the correct transformation (parameters!) ist performed.

qgis_crs