Year: 2012
-
WordPress Image Scaling Incorrect
I just noticed that WordPress is not resizing images correctly: It would appear correct in the blog itself, but the IMG SRC tag would link to the original, unscaled image: This meant that the image was downloaded at the maximum size and scaled on the client side. I never really noticed this because modern PC’s […]
-
NFS: “bad superblock”
If you’re getting a “bad superblock” error message when attempting to mount an NFS volume, make sure that you have portmapper installed and running.
-
Using Excel (and OpenOffice) to Create Timelines
Looking for a way to easily and automatically create timelines, I came across an awesome post by Jon Witwer: How to Create a Timeline in Excel. It’s not exactly the same in OpenOffice, but it works too (I tested it with LibreOffice, actually).
-
Postfix error – fatal: parameter “smtpd_recipient_restrictions”
I encountered this error when I added a check_sender_access clause to my smtpd_recipient_restrictions in postfixes “main.cf”: fatal: parameter “smtpd_recipient_restrictions”: specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit. I haven’t really checked, but I am guessing this is because smtpd_recipient_restrictions as the last clause isn’t specifically rejecting all mails that aren’t […]
-
Excel Formula to get Number of Days in a Month
It seems Excel still can’t tell me the days in a particular month. The following formula works, though: =DAY(DATE(YEAR(A1),MONTH(A1)+1,1)-1) Obviously, A1 has to have a date in it. Works like a charm: Update, much, much later: Looks like LibreOffice has a DAYSINMONTH function.