Skip to content

Author: halfgaar

http://www.halfgaar.net/

Halfgaar is Wiebe. Wiebe is a contributing author on this weblog. He also has a lot of stuff (such as long, in-depth articles) on his personal website.

Wiebe works at YTEC, where he is a senior developer of customer-specific tailor-made software (“klantspecifieke maatwerk software“) for clients in a few select markets: wholesale, printing and healthcare.

Finding junction files in Windows 7 and exclude them with DeltaCopy

Windows 7 has a sort of hard link, a junction file, which it uses to link the old location "Documents and Settings" to /Users/. Because of all this junctioning, you can't just copy files with a Cygwin program like Deltacopy, because it will hang in infinite loop and copy a whole lot of things twice. Read More »

Bash script template

A template bash script, for when you need something overengineerd that works. Read More »

Bash parameter parsing

Here is a code snippet I use for parameter parsing: dohelp() { echo "Example script" echo "" Read More »

Allowing apache to set Nagios cmd file

On debian, to prevent: Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! Read More »

Making a service available on more ports with iptables

If you need services to be availble on multiple ports, you can use: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1000 -j REDIRECT --to-port 25 --match comment --comment "Explain." Read More »

Setting up pptpd and pptp for a VPN

source and source and source. I'm keeping it as simple as possible. Read More »

Making a Compaq Deskpro sff boot without keyboard

To boot a compaq Deskpro sff without keyboard, you need to configure the BIOS in a special way. I found this: Read More »

Disabling exim port 25 listening when zimbra is installed

Edit: This doesn't work anymore I don't think, because more modern versions check for SMTP conflicts and don't allow this. Read More »

Zimbra has no shutdown init script on Debian and Ubuntu

There is a K01zimbra in rc6.d for reboot, but not in rc0.d. See this bug report I made. Read More »

Zimbra dependancy on ‘file’

Zimbra has a dependancy on 'file', which the installer file won't check for. It is also a WONTFIX bug, so beware: install file(1)! If you don't, mails get stuck in queue because amavisd won't run.

Read More »