Welcome to My Blog
IT related tech tips since 2006applicationCache too small to be (really) useful
I have a html5 CACHE MANIFEST file with 600+ resources listed in it totalling 78.4 megabytes Access the application on Internet Explorer 11 under windows 7 I manage to download exactly 57.16MB before it stops. The applicationCache reaches a status of 0 (UNCACHED) so...
Testing Session TimeOut with CakePHP
By default CakePHP uses the session timeout value in php.ini But sometimes you might want to specify a very short Session timeout for testing your code To do that you open Config/core.php and add a value to the "Session" Configure::write area...
CakePHP with TCPDF
This is brilliant:- http://www.martin-schenk.es/en/cakephp-2-pdf-with-tcpdf/ in View/Layout/pdf/pdf.ctp <?php header("Content-type: application/pdf"); echo $content_for_layout; But with google chrome using the $pdf->Output('filename.pdf', 'I') option you get the...
CakePHP in a subdirectory NginX
This is how I setup cakephp so I can have multiple apps in subdirectories with a shared cakephp instance. Under NGinx I setup my webroot folder as follows /var/www/html <== webroot everything served from here /var/www/cakephp-2.5.4 <== cakephp lib folder here...
Squishing your content down for Mobile Devices
As usual my experience comes just after I need it. Been working on mobile enabling a web page and am trying to get the content to display sensibly on an iPhone and a Galaxy. I'm making a lot of mistakes... I've been using pixels for button sizes and they are...
Vultr VPS Pricing
I've used Rackspace & Digital Ocean but I've only just became aware of https://www.vultr.com/ I only spend about $20USD a month on my 2GB RAM 40GB SSD VPS and I think Rackspace was around the $24 dollar mark. But Vultr is charging $15.00 a month for the same...
How I Imagine OpenDKIM works
Disclaimer: This is just what I've gleaned from Google and trial and error. So I'm not sure if the following is entirely true but this is how I imagine DKIM works. See http://dkim.org for more information A person with an email address of [email protected] wants to...
DKIM – A simple reason why dkim=fail
I have been looking at enabling Domain Keys Identified Mail using opendkim and have discovered a lot of very good howto's just by Googling But I just thought I would list a configuration mistake I made. When you create a domain key using the opendkim-genkey command if...
Elegant Themes Divi – Power to the non-designer
Just transfered http://gmspropertycare.com.au over to the Divi theme from ElegantThemes The good thing about Divi is its many configuration options. The bad thing about Divi is it's many configuration options. Anyway it's nearly midnight and I need sleep.