Posts with the tag programming

Mount a GMail account as Filesystem using gmailfs

Warning: my experience with gmailfs was not excellent! It was a bit slow and you always risk to lose data you stored on that account.

based on IMAP:
(it used to be but this was based on the Webinterface and that changed often)

gmailfs works with FUSE....

Read on


installation of povray itself:

sudo aptitude install povray povray-includes povray-examples povray-doc

as well as the graphical modeler:

sudo aptitude install kpovmodeler


A file created by POV-Ray:

General command line to render a scene (still has to be adopted for the file in question):


Read on

conglomerate - an xml editor

sudo aptitude install conglomerate

Read on

Software for the GenBank database


Read on

Recompile the Ubuntu Kernel

To recompile the Ubuntu kernel start with:

git clone git://

change config

Depending on the libraries that you will need, do configure the kernel using one of the following:

using ncurses (sudo aptitude install libncurses5-dev)

make menuconfig

using GTK (sudo aptitude install libgtk2.0-dev libglib2.0-dev libglade2-dev)

make gconfig


Read on

Tryout the New Ubuntu Programming Environment: quickly

sudo apt-get install quickly

quickly tutorial ubuntu-project

Read on

Netbeans IDE

sudo apt-get install netbeans

or install latest version

Ensure your repository's are up-to-date.

sudo apt-get update

Install the JDK 6.0 and Java-plugin for Firefox using the terminal:

sudo apt-get install sun-java6-jdk sun-java6-plugin

Update the Java alternatives so Suns virtual machines is the default:-


Read on

HTML editors

Quanta Plus Bluefish Screem Nvu Kompozer


If you have a personal preference or another editor, please comment!


Read on

Gedit Plugin to Search and Replace using Regular Expressions

found here:

cd .gnome2/gedit/plugins
tar -xf regex_replace.tar.gz
rm regex_replace.tar.gz

Then open gedit and select Edit → Preferences → Plugins and activate the regex plugin


Read on

Barcode Technology (QRCode etc.)

For on overview of different barcode technologies and types see:

gnu barcode

sudo apt-get install barcode

perl barcode

GD::Barcode creates barcode images. It supports the following barcode formats:

  • COOP2of5,
  • Code39,
  • EAN13 (JAN13),
  • EAN8 (JAN8),
  • IATA2of5,
  • ITF (Interleaved2of5),
  • Industrial2of5,
  • Matrix2of5,
  • NW7,
  • QRcode,
  • UPC-A and
  • UPC-E.

Install this Perl...

Read on

How To Apply a Patch to Source Code

Learn by example:
Get a sourcecode package and a .diff.gz file and patch the source. The package is sane-backends_1.0.19.orig.tar.gz and the patch sane-backends_1.0.19-23ubuntu7.diff.gz:

cd ~/Downloads/
tar -xf sane-backends_1.0.19.orig.tar.gz
gunzip sane-backends_1.0.19-23ubuntu7.diff.gz
cd sane-backends-1.0.19/
patch -p1 < ../sane-backends_1.0.19-23ubuntu7.diff

An important parameter of patch is -p. It can be used if you apply a patch in...

Read on

Set up gedit for use with C++

The post describes the setup for gedit to get most out of it for C++ development.

Activate gedit plugins using Edit → Preferences in gedit.

Smart indentation plugin for C/C++/Java

Function browser

The Ubuntu package gedit-plugins including an embedded terminal

to get an integrated terminal, get the package gedit-plugins. This...

Read on

C++ Boost Development Libraries

sudo aptitude install libboost-dev libboost-doc

Or get all packages at once:

sudo aptitude install libboost.*dev libboost-doc

then put eg the following line into your sourcefile:


Read on

C++ code completion for KDevelop 4 and Emacs

Read on