vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

xbmc setup

on in Linux, Other

I’ve managed to get XBMC running (and good!). It took me a while to get everything to my liking. Almost everything works perfectly! Except sound is still a bit of a hassle. Linux (with pulseaudio) only sends analog sound through my s/pdif connection...

XBMC....

on in Linux

In reply to my last article about media centers. Well, I installed xbmc this weekend and actually it kinda sucked. Installation was a breeze: kudos for that. But when I ran it, it hogged all of the cpu time of the second core. 100% constantly.

I’ve...

Root crontabs/cronjobs not executing or running

on in Linux

Well as the title says: the cronjobs of the root user didn’t run on one of my servers (MY MACHINE!) and it took a while to figure out why they weren’t running. It ended up to be something with locking the root account. These steps fixed the problem...

fixing a hacked site

on in Linux, PHP

One of our Joomla! sites was “hacked” with some stupid script and the fuckers put a iframe in every page :(

But with sed that was fixed in a matter of seconds:

1
find . -type f -print |xargs sed -i...

Weechat 0.3.0 on Ubuntu 9.10

on in Linux, Python

Ubuntu 9.10 comes with an older version of weechat. So I downloaded the stable release 0.3.0 and installed it:

1
2
3
./configure --prefix=/home/leon/Software/local/ --enable-gtk --enable-demo
make
make...

Choosing a new editor: Emacs vs. Vim

on in Development, Linux, PHP, Python, Ruby

For php I use Zend Studio for Linux. We have a license at work for it and it is in my opinion the best editor for php. It’s relatively fast and you can use it to quickfix php over an ftp connection.

For Ruby I use netbeans. I would also like to use...