Jun 16

For quite some time I've searched for a way to start a command line script from within a page in PHP without using the crontab. Basically I just wanted to start a script which does some processing in the background. The solution is pretty simple, but it took me some time to find it. Continue reading »

Tagged with:
Apr 15

Not for the first time I've searched for a way to visualize a multidimensional array in a tree view in my web browser without directly using echo or print. I wasn't able to find a concrete solution for this previously. However, this time I was put on the right track by a post of Kevin van Zonneveld. Continue reading »

Tagged with:
Mar 31

As there was some interest in source code in two earlier posts (post 1, post 2) I've posted the source code here.

It's also available through the download page.

Please note that the code itself is at least 4 years old and there are far better ways to solve some things. I therefore suggest that it is used for studying purposes only. Comments and improvments are very much appreciated.

Tagged with:
Feb 06

One of my servers is running CentOS. As I wanted to upgrade PHP, I was looking how to do that. I've found the YUM command to be useful (yum upgrade php). However, for being able to upgrade this way, one needs yum to be installed.

I was 'fortunate' it wasn't so another task was born: installing YUM on CentOS. Continue reading »

Tagged with:
Jan 14

Okay, I must admit: I'm a programmer and I know some commands. Because I want to use PEAR packages, I needed to install it. The installing command is quite easy to find, but I had a hard time determining the directory structure. Some searching on the internet and an IRC conversation (EFNet #pear, thanks davidc_!) later I was able to install PEAR in a quite reasonable directory structure. Continue reading »

Tagged with:
Jan 13

I've been upgrading Plesk today and yesterday. Although Plesk has a nice interface, it's not 100% clear in what happens. After some help on the FreeNode #plesk IRC channel and some cyberciti.biz pages, I've composed some details and commands to execute at the command line which can help when upgrading Plesk.

Continue reading »

Tagged with:
Dec 10

WampServer 2.0 is a nice tool to help you develop a new site on your local computer. However, you'll probably need more packages/libraries than those included with WampServer. This post is about installing extra common features which are mostly present at hosting servers, but not (directly) on WampServer.

Continue reading »

Tagged with:
Oct 22

So in my previous post I wanted to do a hypergeometric test in R. Now I want this test to be executed from Taverna (RShell). Continue reading »

Sep 07

My blogpost on K-means clustering has the highest number of views, so people are probably interested in it. Sadly enough I lost the source code of the K-means action a while ago. Last week I needed an external harddisk to make a back-up of some files. There was already some content on the disk. I found quite some pieces of code including the K-means code. Although it is quite simple code operating on (if I remember correctly 8-bit) greyscale images, it might give some insights in how to do this.

Continue reading »

Tagged with:
Jul 24

Today I faced a problem with FPDF and FPDI when trying to concatenate some PDF files. The only output I got was 'FPDF error: Unable to find xref table.' When I did a search on this error message, I wasn't able to extract the answer from it. After some searching, the problem was located.

Continue reading »

Tagged with:
preload preload preload