Recompile Archlinux from Scratch (+custom CFlags)

So since I run some old/slow hardware, I want to get the max out of them, speedwise, without upgrading anything on the hardware side. So one of the things I do is to re-compile the applications/libraries with some customized CFlags. CFlags allow you to instruct your compiler (GCC ...

more ...

MPD add random Album

Just a quicky for today.. I could have sworn that there was a oneliner on commandlinefu.com (which is a great page btw!) to add a random album to MPD (Music Player Daemon), but I wasn't able to find it. So time to quickly build one on my own ...

more ...

Bash - Multithreading

In the age of multi-core CPU's, there's also a need for properly optimized application. Since the vast majority of the linux utilities only allow you to specify ONE input/output file, it's our job to script it to exhaust all the Cores.
When I got my first ...

more ...

Handle Exchange 2007 mailbox-limits using Powershell and Customattribute15 (ADS)

In my last job, I was responsible for our exchange-environment (Exchange 2007), where we've had a lot of users with HUGE mailboxes. They kept requesting new/adjusted limits all the time, so instead of 'wasting' our 'engineers-time' for all the requests, we've came up with a pretty nice ...

more ...

chroot abused as virtualization SW

As the title indicates, this article will show you an example usage of chroot, where we'll clone our currently running system into a disk-image (dd). Doing that, we can afterwards loop-mount it, chroot in it and let all the stuff run, that we don't want on our mainbox ...

more ...

Useful code-snippets in datarecovery

Since I've had quite a bunch of failing harddrives recently in for recovery, I've created some scripts which help me doing that.

So there's one script that simply parses a logfile from DDrescue and shows you the amount of data already recovered, and the amount that's ...

more ...