Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

19 Jan 2006

Setting up an SSH tunnel

On the machine example there is a (tcp/ip) program listening on port 12345. The protocol it talks is some plaintext lang...
18 Jan 2006

Accept posted XML data

I remember that i have spent a lot of time finding something that allowed me to accept the posted XML data. The solution...
18 Jan 2006

Select the first 50 words of an article

I am cleaning up my code snippets and i found the following little trick in one of them that i have removed. Assuming th...
14 Jan 2006

Brainteaser

Earlier today Chung Leong, an intelligent regular at comp.lang.php, posted a little brainteaser: The two functions in th...
14 Jan 2006

Format sourcecode with VIM

I once read an article that explained how i could make Vim format my code but i forgot what the command was. Many websea...
12 Jan 2006

How private is private really?

Today i ended up at private properties exposed (Apparently it is also used by PHPUnit) class foo { private $bar = 42; } ...
12 Jan 2006

Restore from a MySQL dumpfile

If you are a longtime user of mysqldump you may have experienced that restoring with mysql < dumpfile doesn’t a...
20 Dec 2005

Simple HTTP proxy with Perl

Today i had to demonstrate my version of a HTTP proxy and hand in the code. There are already various programs that do t...
17 Dec 2005

Problem with switch from mandatory to roaming profile

Today i was experimenting with my Windows Server 2003 and the Active Directory. I was able to setup Roaming and Mandator...
06 Dec 2005

How (not) to apply for a job?

Today i was part of a jury looking for a junior programmer. Most of them had an extensive list with programming language...