#lca2015: Using FOI to get source code

Michael Cordover has spent significant time and money chasing down the code used for counting Australian Election results. He goes into the reasons why that is important. Another great talk from #lca2015.

Apache [warn] RSA server certificate CommonName (CN) does NOT match server name!?

Apache was giving me lots of errors like this on my host that has multiple virtual hosts on it. After a little investigation it turned out the CN in the certificate was set to www.domain but the vhost’s ServerName was set to www-less.The solution turned out to be to ensure the vhost ServerName == the… Continue reading Apache [warn] RSA server certificate CommonName (CN) does NOT match server name!?

Howto quickly find your Beaglebone Black’s IP address

What is my IP address?

Whenever I connect my Beaglebone Black (BBB) to a network, I have to work out it’s IP address so I can ssh into it. This can be tricky. Some of your options are: connect to the serial terminal, or connect over the usb network interface which gives the BBB the address 192.168.7.2, log in and… Continue reading Howto quickly find your Beaglebone Black’s IP address

Facebook selecting wrong thumbnail for WordPress links

Does Facebook keep selecting the wrong thumbnail for WordPress links for you? The solution is to give Facebook some extra instruction about what image to use for the thumbnail, using open graph. If you use a static frontpage, it’s a simple matter of adding something like: <meta property=”og:image” content=”http://samplesite.com/files/2014/05/web-thumb.png” /> to the Full meta tags… Continue reading Facebook selecting wrong thumbnail for WordPress links

Printing from Windows to a samba shared CUPS-PDF printer sometimes fails

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

automysqlbackup ERRORS REPORTED: MySQL Backup error Log Warning: Skipping the data of table mysql.event. Specify the –events option explicitly.

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.

increase wordpress Maximum upload file size beyond 8MB.

There is at least three places you need to set the maximum upload file size in WordPress. First check your php.ini upload_max_filesize = 64M; post_max_size = 64M; Restart Apache after making this change. Then if you are using WordPress multi-site, you need change a setting in the backend. Visit My Sites -> Network Admin ->… Continue reading increase wordpress Maximum upload file size beyond 8MB.