Submitted by adrian on Thu, 23/05/2013 - 14:42
I recently received a copy of the 30th Anniversary edition of The Dark Side of the Moon, on SACD. The DSD layer of the SACD sounds amazing - the 5.1 surround sound remix is the best I've ever heard DSotM.
Sadley, the Redbook layer of the SACD is very lacklustre. It sounds flatter than a poor MP3 rip, and here's why:
Submitted by adrian on Tue, 13/11/2012 - 18:41
Had a problem with my Lenovo ThinkPad X130e, where instead of shutting down, it would run through the shutdown process, power off for a few seconds and then power back up again. I solved this months ago, when I first got the laptop, however it reoccurred yesterday after I upgraded to Mint 14 RC.
The solution was found on the Arch Linux forums; https://bbs.archlinux.org/viewtopic.php?id=138318
I've implemented something similar for Debian/Ubuntu/Mint:
/etc/init/power-control.conf
Submitted by adrian on Sat, 13/10/2012 - 04:53
For the past few weeks I've been playing with a couple of Raspberry Pi's. I bought two because I figured I'd end up finding something useful to do with the first one. This would immediately become an essential, irremovable part of my life, but I'd still want a second to play with. This has turned out to be the case, with the first one being setup as a PulseAudio network sink, hooked up to the stereo in the family room, allowing me to direct music from MPD between my study, media room and family room.
Submitted by adrian on Thu, 20/09/2012 - 16:38
Twice so far this year I've had to produce a slide-show on a DVD. Despite being an aging medium, DVDs to present a useful format for slide-shows, in that DVD players are fairly uniform and ubiquitous. This means you can be reasonably confident of being able to display your slide-show, regardless of whatever other equipment your venue provides.
Submitted by adrian on Mon, 10/09/2012 - 13:48
Quick bit of hackery to setup a HTPC to listen for RTP streams. This allows you to quickly stream a video or music to the machine, without having to much around with DLNA. I'm using it alongside XBMC on my HTPC.
Create /etc/X11/Xsession.d/99vlc:
[ -e $HOME/.vlc.pid ] && kill `cat $HOME/.vlc.pid` ; rm $HOME/.vlc.pid
vlc --no-embedded-video --width=1920 --height=1080 rtp:// -I dummy &
pid=$!
echo $pid > $HOME/.vlc.pid
From the machine you wish to stream from, run:
Submitted by adrian on Sun, 09/09/2012 - 07:36
Config fragment to serve Drupal from nginx, using fastcgi. Includes config of cgi-bin for awstats.
/etc/nginx/sites-available/drupal:
Submitted by adrian on Sun, 09/09/2012 - 07:33
For a while I've used a Griffin PowerMate USB knob as a scroll wheel. It works really well, and is much faster for scrolling long pages, as well as easier on my fingers than the traditional mouse wheel.

Every time I set it up on a new computer, however, I forget how to do it, so here are my definitive instructions:
Submitted by adrian on Sun, 10/01/2010 - 08:46
Assumes you have OSPF already running on your network and one or more public IPs which you want to serve content from.