Tutorials

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 …

How to change the UID of a user with an encrypted home directory in Ubuntu

This tutorial is about changing the UID of a user with an encrypted, by ecryptfs, home directory in Ubuntu. You first need to logout the user you want to modify and kill all …

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 …

Ubuntu 13.04 RAID-1 setup

Purpose 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 …

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 …

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 …

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. wget …

Flashing BIOS (Acer Aspire 2920z)

A few weeks ago my precious Acer Aspire 2920z started misbehaving. The symptoms: Power and battery leds flashing as soon as I plug it in. Automatic power on as soon as I plug it …

Changing the default browser in Thunderbird

If you are unable to launch Firefox from URL links in a Thunderbird mail message, or if you want to change the browser that is launched, add the following lines to the user.js …

How to create local git repositories

Create the repo directory (the ‘.’ prefix is to make it hidden) mkdir .myrepo.git Go inside the directory cd .myrepo.git Initialize the git repo git init --bare Our repo is now …