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.

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 »

Testing an OpenSSL connection

Simple command to test an SSL connection: openssl s_client -connect meel.halfgaar.net:993 -ssl3 Read More »

Ubuntu 10.10 with kernel 2.6.35-25 shutdown problem as Xen DomU

The current kernel in Ubuntu Maverick has a problem with shutting down when running as a Xen DomU (guest). When the VM has more than 1 VCPU, it won't reboot or shutdown. Read More »

Adding a disk to a RAID5 array on a 3Ware array with tw_cli

I wanted to know if I could extend the size of a RAID5 array on the 3Ware 9650SE, so I tried something. Read More »

Create a remote repository and branch with bzr

Create a shared remote bzr repository: bzr init-repo --no-trees sftp://development@server.example.com/srv/bzr/project/ bzr init sftp://development@server.example.com/srv/bzr/project/trunk bzr co sftp://development@server.example.com/srv/bzr/project/trunk project Read More »