According to @mst FreeTDS is a bag of razorblades. That’s right folks, don’t use it. The new way to go is Microsoft ODBC Driver for SQL Server on Linux. Unfortunately its a nightmare to install on debian. Luckily some very smart people wrote a lovely little howto: Install and Configure the MS ODBC Driver on… Continue reading FreeTDS is a bag of razorblades use, Microsoft ODBC Driver for Linux instead
I had this problem where prints to our CUPS-PDF printer sometimes failed to be processed on the server. The job would disappear as though it has been printed but nothing else would happen. Printing from the same application to a Windows based PDF printer, and then printing the resulting PDF via Adobe Acrobat to the… Continue reading Printing from Windows to a samba shared CUPS-PDF printer sometimes fails
I was receiving email error messages from cron like this from my autbackupmysql on a regular basis: ERRORS REPORTED: MySQL Backup error Log for somehost.com.dxa – 2014-05-01_06h26m — Warning: Skipping the data of table mysql.event. Specify the –events option explicitly. It turns out that mysqldump now warns you if the events table is not being… Continue reading automysqlbackup ERRORS REPORTED: MySQL Backup error Log Warning: Skipping the data of table mysql.event. Specify the –events option explicitly.
I’ve been on a quest to find a good remote for MythTV. My first try was with a Logitech Harmony. Those things are nasty horrible pieces of crap. I’d never touch one again. Programming it is a nightmare. It does not have a generic PVR option so you have to fake it to make it… Continue reading HP MediaSmart IR Remote for MythTV
Every so often I need to make a bootable USB stick in Windows 7 (64 bit) of a debian installer iso. For some reason my googling usually does not reveal a simple solution for this. I asked on #debian on the OFTC network and got various suggestions. The first suggestions were to use win32 compiled… Continue reading How to make a bootable usb stick in Windows 7 of a debian iso
My first Project Euler solution, and my first emacs elisp program. Multiples of 3 and 5. If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3… Continue reading Project Euler No. 1 in Emacs elisp
I recently migrated my linux box from bare metal hardware to a VMware virtual machine. At the same time, I upgraded from Debian squeeze to Debian Wheezy (testing). After the dust had settled, one nagging problem keep recurring. Every time I did an aptitude update or aptitude install, after everything successfully ran, I would get… Continue reading Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
I couldn’t work out a way to get ping to print a timestamp of when the ping took place. For some reason it seems as though this isn’t a sought after feature. Luckily you can achieve the same thing using fping: while [ 1 ] ; do echo $(date ‘+%F %T’) $(fping -e google.com); sleep… Continue reading ping with timestamp