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: centos • install yum • rpm • yum
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: Linux • PEAR • PEAR install • PHP
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: commands • Plesk • upgrade plesk
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: crontab • PHP • PHPUnit • WampServer
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: clustering • JAVA • k-means • K-means clustering
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: fpdf • fpdi • xref error
Jul 19
About a week ago my parents bought a Toshiba Satellite L350 notebook. As with other brands, it comes with a lot of extra applications installed which you don't need at all while taking away precious internal memory space. Luckily it is fairly easy to remove these applications. One application created by Toshiba, and supposed to be useful, is the application to create back-up discs which can come in handy when your notebook has crashed. It looks pretty easy to use, but has a big constraint when you want to actually create these discs.
Continue reading »
Tagged with: power schedule error • Toshiba back-up disc
Jun 29
I was looking for options on how to check if a certain substring (in my case ' FROM ') is present in a SQL query string when I found this blog entry. Just for fun I decided to have a look at how fast these checks would be compared to each other.
Continue reading »
Tagged with: comparison • method speed • Python • substring
Jun 24
It's taken me some time and a lot of web pages which tried to solve the readline support with all kinds of hacks, but finally I've been able to get readline support and auto-completion for IPython to work. As it can be quite confusing and hard to follow all posts, this will be a step-by-step approach to get things to work. Note that I've got it working on Mac OS X 10.5.7 Leopard. It is expected to work on Leopard at least. Other versions might not require the exact same solution.
Continue reading »
Tagged with: auto-complete • Mac OS X • Python • readline
Recent Comments