How to build the linux kernel

Getting the source

First you need to fetch the source. Visit and get the version of your preference. Alternative, if you plan to hack it you might prefer to get the latest (merged by Linus Torvalds) code by cloning his git repository:

git clone git:// …
more ...

How to backup your configuration using Git

This tutorial is about backing up the configuration under a user's home directory using Git.

Git supports negation of patterns in .gitignore files. To negate a pattern we simply prefix it with !. This feature enables to use .gitignore file in a user's home directory that instructs Git to ignore all …

more ...

Enable automatic security updates in Ubuntu

This tutorial will enable automatic download and installation of security updates for Ubuntu.

First we need to install unattended-upgrades:

sudo apt-get install unattended-upgrades

The we need to enable it:

sudo dpkg-reconfigure -plow unattended-upgrades

More information can be found [here](}.

more ...

Ubuntu 13.04 RAID-1 setup


This tutorial aims to help you setup a software RAID-1 (mirror) under ubuntu 13.04

Lets assume the following mapping

/dev/sda1    /
/dev/sda2    /home
/dev/sda3    swap
/dev/sda4    /spare

We also assume that you have a second (empty) hard disk drive larger or equal to sda .

We …

more ...

Getting started with Emacs

So you want to learn how to use Emacs...

First of all install Emacs (I suggest versions >=24). Then start using it. It is going to be hard in the beginning, but day by day you will get used to it and learn new things.

Your friends

  1. Reference cards (will …
more ...

Using emacs and notmuch as a mail client

This tutorial aims to help you setup notmuch for multiple IMAP accounts and use emacs as a frontend.
( At the time writing this tutorial emacs version was 24.3 and notmuch version was 0.15.2)

Soon after writing this tutorial I experimented with mu and mu4e, the configuration is …

more ...

Google PDF viewer on Chromium

This is a tutorial (more like a code dumb) on how to enable the pdf viewer plugin from google chrome in chromium.

ar vx google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb control.tar.gz debian-binary
tar --lzma -xvf data.tar.lzma
sudo cp …
more ...

Flashing BIOS (Acer Aspire 2920z)

A few weeks ago my precious Acer Aspire 2920z started misbehaving.

The symptoms:

  1. Power and battery leds flashing as soon as I plug it in.
  2. Automatic power on as soon as I plug it in.
  3. Screen backlight doesn't go on and i can see it gets through the BIOS splash …
more ...