cx_Oracle on ubuntu 9.04 jaunty

Update 11.11.2011, for ubuntu 11.10 oneiric oncelot: you will need version: cx_Oracle-5.0.4-11g-py27-1.x86_64.rpm if using 64bit and you installed oracle on 32 bit thus also installed libaio1:i386 the replace /lib/libaio.1.0.1 32bit with the corresponding version for 64bit or you’ll get: ``` import cx_Oracle ImportError: libaio.so.1: wrong ELF class: ELFCLASS32 ``` - if you try to use a newer version of cx\_Oracle you will get ``` import cx_Oracle ImportError: /usr/lib/python2.7/cx_Oracle.so: undefined symbol: PyUnicodeUCS2_AsEncodedString ``` End update....

August 5, 2009 · len

Navit GPS on a Acer Aspire One

This is a small experiment to use my cycling gps device with the navit application on my Acer Aspire One as a car navigation system. The system was composed of the following elements: GPS device Acer Aspire one running Ubuntu linux gpsd navit Navit GPS Required software Step 1. Install all packages required to build navit from ubuntu repositories: apt-get install build-essential pkg-config automake libglib2.0-dev libtool libxmu-dev libfribidi-dev gettext zlib1g-dev cvs gpsd gpsd-clients libgps-dev libdbus-glib-1-dev libgtk2....

July 31, 2009 · len

Nautilus templates

I have been trying to help my mother by adding a document templates to right click -> create document nautilus menu. Here is the procedure to add new templates: 1. edit the file ~/.config/user-dirs.dirs and change: XDG_TEMPLATES_DIR="$HOME/" to XDG_TEMPLATES_DIR="$HOME/Templates" 2. create the Templates folder 3. in the Templates folder just create whatever document you like. The name of this file will appear in the right click -> create document menu....

March 10, 2009 · len

Using amr files

One of the many functionalities of my phone which I do not use is the ability to record to a file. This file is saved in the phone and can then be played. For the first time I needed this functionality to here are the steps to get an usable mp3 file out of it. download the file to the computer using the bluetooth method install an amr decoder apt-get install amrwb amrnb decode the file to raw data amrnb-decoder Recording....

February 27, 2009 · len

Linux barcode reader

I was a bit sceptic about how easy is to use an usb barcode reader (Motorola Symbol LS1203) but it was a pleasant surprise. Just plugged the reader in the usb port and was detected as a input device: black kernel: [ 2273.692061] usb 3-1: new full speed USB device using uhci_hcd and address 2 black kernel: [ 2273.909811] usb 3-1: configuration #1 chosen from 1 choice black kernel: [ 2273....

February 23, 2009 · len

Panotools

Update 2009-07-19: for jaunty refer to this track to solve the stitch now problem. I’ve known for some time about hugin and panotools but never got to use them. This is a very short list of steps to build a simple panorama image on linux (note that my Canon A1000 does not have a panorama assist mode so the source images where a bit deviated). Install apt-get install hugin apt-get install autopano-sift Configuration To my disappointment hugin did not worked out of the box since it had some problems finding the proper autopano-sift tool....

February 20, 2009 · len

La semnalul urmator… 1234

La semnalul urmator va fi “ora” secunda : 1234567890 (unix time)

February 14, 2009 · len

Easy sync/backup

When my laptop display died I had to find a way to continue my life work using an old laptop so I started searching for a way to create an image of my broken laptop on the old one, work on it and then transfer it back to the new laptop when it will be repaired (still not until a few weeks). My initial though was to use the backup mechanism to an external disk which I am using to backup data regulary but the restore process assumed an empty destination....

January 9, 2009 · len

Remastering ubuntu

Saturday I was faced with the following question: how to install 10 identical ubuntu stations with the same configuration and a set of custom packages. Here is the solution finally used: 1. install the basic ubuntu system, install all the extra packages (this included notably the edubuntu package add-on which is no longer a separate distribution). This should result into a complete station. 2. install remastersys 3. create the cd/dvd iso image with the backup option....

December 24, 2008 · len

Lost Edgy repositories?

Where are my edgy repositories? Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/restricted/binary-i386/Packages.gz 404 Not Found I tried at least 5 mirrors from ubuntu and none of them seems to have them. I finally found the solution in this post which is to add the following in /etc/apt/sources.list deb http://old-releases.ubuntu.com/ubuntu/ edgy main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ edgy main restricted deb http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted deb http://old-releases....

December 5, 2008 · len