After using Ubuntu 14.04 for a little while I got a worrying message from the Software Updater saying “Not enough disk space. The upgrade needs a total of x M free on disk ‘/boot’. Please free at least an additional xxx k of disk space on ‘/boot’. Empty your trash and remove temporary packages of former installations using ‘sudo apt-get clean’.”
I found that moving from a Windows box using Outlook Express for email, to an Ubuntu box using Thunderbird was a little tricky. The export/import features took a bit of figuring out due to having multiple identities set up in Outlook Express.
If you’re running your own small mail server it’s quite possible that you’ll want to make use of Spamhaus’ free DNSBL to reduce spam email. However, if you are using your web host’s DNS servers (which is the default) it’s likely that Spamhaus will not work because the DNS will have exceeded the free usage limit. Find out how to use your own DNS server and start using Spamhaus.
Did you ever save dates as a string when you were a n00b? OK I’ll admit it, I did! Want to convert them to
DATETIME fields now? Read on!
Just a heads-up to save a lot of time investigating Google Chrome caching issues… Chrome won’t cache pages on https with an invalid SSL certificate!
There is more than one way to copy a table in MySQL, but if you want to include column attributes and indexes defined in the original table you’ve got to choose the correct one!
When fighting spammers or other unwanted traffic it’s useful to be able to block a top level domain, such as
uk2.net. This needs to be extracted from the full hostname, which might be something like
123-456-789-10.ukhost4u.com. To do that you’ll need a combination of a PHP built-in function and a regular expression.
Want to block email from specific countries? Want to check a visitor’s country within your PHP script? It’s all quite easy using this free IP-to-country DNS mapping service!