Skip to content

Index

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

Edit: now in 2020, with Zimbra 8, and Startcom out of business, things have changed a bit. So, here are the steps now, for a Sectigo certificate (and referring to their directory structure): 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.pcap -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 »