howto
Learn to speed read with comprehension
The biggest barrier to reading speed is subvocalization. If you’re reading ‘out loud’ in your head, there’s going to be a cap on your reading speed.
Upgrade or migrate your OpenLDAP database with slapcat and slapadd
Backing up an OpenLDAP installation is a very easy and non-intrusive process. You can backup the database while the old slapd is running using slapcat, so there’s no need for interruption while setting up the new instance. In my example, I will not backup individual databases with -n switch. I want the whole thing in one giant ldif because i’m going to restore the whole thing at once too. Keep it simple.
How to generate a failsafe xorg.conf
If you have a device that’s not supported in the bios and you don’t have the driver, you may not be able to get X working at all. Failure looks like anything from random streaking lines and jibberish to just a plain black screen.
Get the filename of the currently executing python script
As you would expect, there are several ways to do this. Using stack from the inspect module will give you the full path and filename of how it was executed. If you run from a relative path such as ./src/file then the stack item will contain just that part.
Clustered KVM setup for Live Migration with gfs2 on CentOS 6
Let’s start by configuring networking, then install a bunch of packages. After that we’ll configure services and create a gfs2 cluster file system. Finally we’ll relocate libvirt to the clustered storage so live migration will just work right out of the box.
Install iso to usb in Linux
How to install iso to usb in linux. The Ubuntu site gives you instructions for creating bootable USB media from Windows or from Ubuntu. But what about other distributions? Let’s start by taking a 50k foot view of the process to get a general idea of whats going on; then we’ll go through it step-by-step.
How to Install Eric python IDE without rpm or yum
Download eric ide tarball from sourceforge, unpack and install using python. Everything should go smoothly, but if not, create shell scripts in your path somewhere to launch eric with any command line options.