Daemonizing and Upstart

When creating command-line applications, the user is usually present at the terminal to provide commands to the application and read its output. This is called interactive mode. But sometimes, you want to start a long-running program in the background, so it runs while you’re not present. This is called daemon mode, and the programs themselves […]

Continue reading →

SSLv3 and Apache/Nginx

Seeing as there is a minor shitstorm going on about the newly found RC4 and SSLv3 compromise. It has been known that SSLv3 was not secure, but now it seems the time to completely disable it. There are a multitude of ways to disable SSLv3 for Apache and Nginx, but I’ve opted to disable them […]

Continue reading →

Google Drive for Linux – Insync

Recently, my Dropbox has begun to fill up completely, which kind of sucks. Over the years, I’ve taken a liking to using Cloud Storage for various things, even though I was initially quite skeptical and opposed to the concept. As my main OS of choice is Linux nowadays, and Dropbox has had good Linux support […]

Continue reading →

Compiz, Ubuntu 12.10 and wallpapers

The Ubuntu 12.10 upgrade last October broke a lot of Compiz plugins. This is because the Compiz decided to clean up their code, which in turn that some of the less used plugins were broken and disabled. Ubuntu 12.10 shipped with Compiz 0.9.8, but without a lot of the plugins. One of these is the […]

Continue reading →

A Linux LVM primer

Linux’s Logical Volume Manager, or lvm, is a method for dividing a physical disk (or physical volume, PV) into blocks (or physical extents, PE). These blocks can be assigned to partitions (or logical volumes, LV). The process of assigning PE‘s to a LV creates a map for translating PE‘s to LE‘s, called the allocation map. […]

Continue reading →

Local network broadcast with PulseAudio

PulseAudio has been the standard sound system in Ubuntu for several versions now, and seems to be replacing, or rather supplementing, ALSA and OSS. Its main benefits (for me) are: per application sound levels, and streaming to a remote PulseAudio instance over network. At home, I have a HTPC running Xubuntu with XBMC hooked up […]

Continue reading →