content top

Website hosting

Website hosting

Which one was best for me? In setting up a website there is often a set of criteria’s that have to be meet. There are many reasons for this list many of them personal preferences or biasses. Website control I’ve previously used cpanel to control a shared hosting environment and a SSH login to manage a rackspace server. I have no personal preferences and happy to try something new. The Check list My checklist for web hosting...

Read More

What would you do

I know it’s old fashion but if you received this letter asking for your daughters hand in marriage would you allow the marriage? This is an extract from a letter sent from Adoniram Judson to John Hasseltine, the father of Ann, the woman he wished to marry.“I have now to ask whether you can consent to part with your daughter early next spring, to see her no more in this world? whether you can consent to her departure to a...

Read More

Why why why.

Why do we press harder on a remote control when we know the batteries are almost dead? Why do banks charge a fee on ‘insufficient funds’ when they already know there is not enough money? Why does someone believe you when you say there are four billion stars; but have to check when you say the paint is still wet? Why doesn’t Tarzan have a beard? Why does Superman stop bullets with his chest, but ducks when you throw a...

Read More

Breaking cache of PDF files

This fixes a problem I was having with PDF files being cached. That being when PDF documents are continually loaded from the browsers cache. Takes a standard link to a PDF document  and adds a random number to the end of it’s url but only once the link is clicked $(document).ready(function() { // All pdf documents will have a cache busting // string added to its url $('a[href $='.pdf']&

Read More

Generate Taconite xml from within php

<?php /*** ----------------------------------------------------------------------------** The Software shall be used for Good, not Evil... bad eval()!** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE* AUTHORS OR COPYR

Read More
content top