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.

Getting a better MySQL prompt

When you want to see which user you are and which database you're working with, put this in .my.cnf: prompt=(\\u@\\h) [\\d]>\\_ Read More »

Sending yourself a test virus

I found this handy little site to send yourself a harmless test virus. Read More »

Installing a commercial SSL certificate in Zimbra

I installed a commercial (free) SSL certificate from Startcom SSL in Zimbra. I basically followed this, except the java keytool thing. I don't know why that is necessary... I did this on Zimbra 6.0.10_GA_2692.UBUNTU8_64 UBUNTU8_64 FOSS edition. Read More »

Installing Munin-node on a Debian or Ubuntu machine

If you want to gather statistics on a machine with a Munin server, install munin node: aptitude -P install munin-node munin-plugins-extra Read More »

Fixing locale message in Ubuntu when logging in or SCPing

I've encountered this error occasionally when loggin in: -bash: warning: setlocale: LC_ALL: cannot change locale (nl_NL.UTF-8) Read More »

Getting a Xen hvc0 on a stock Ubuntu

When you install Ubuntu in Xen with xen-create-image, the console is automatically handled. If you want to add a console to a stock-installed Ubuntu, add this file to /etc/init and call it hvc0.conf: Read More »

Useful extra Nagios commands

Here are some useful extra nagios commands I often use: define command{ command_name notify-host-by-sms command_line /usr/local/sbin/send-sms.sh -n $CONTACTPAGER$ -m "$HOSTNAME$: $HOSTSTATE$" } Read More »

Using tcpdump to create files readable by Wireshark

Source. tcpdump -l -n -i eth0 -w dump -s 65535 host www.example.com and port 80 Read More »

PCB tips

I found this page about PCB design; a must read. Read More »

Often used Eagle parts and packages

Everytime I work with Eagle, I need to dig deep to remember which libraries and packages I used. Here's a memory aid: Read More »