Toggen Blog
Tech tips
Articles
Latest
Google Mail Numeric Code: 7 when “User Agent Switcher for Chrome” is Installed
Problem: Just got an error returned when trying to access GMail from Google Chrome: "Temporary Error (404m)", "your Gmail account is temporarily unavailable" , "Numeric Code: 7" Cause: Using the "User-Agent Switcher for Chrome" for to test a mobile website I'm...
Configure CakePHP 2.x to Detect and Serve Mobile Browser Pages
Put here for later: http://madething.org/post/661607317/mobile-browser-detection-and-optimization-in-cakephp http://doctorfox.wordpress.com/2012/05/28/mobile-browser-detection-and-optimization-in-cakephp-made-simple/ Only thing needing to be added would be a cookie...
Convert XCF to PNG using xcftools and PHP ImageMagick Binding
An sample image (originally in GIMP xcf format): Becomes: Using: <?php $xcf2png = '/usr/bin/xcf2png'; $xcf_file = 'gimp_sample.xcf'; $jpg_file = 'gimp_sample.jpg'; $png_file = 'gimp_sample.png'; $tiled_file = 'gimp_tiled.png'; $cmd = $xcf2png . ' ' . $xcf_file . '...
Including jQuery scripts just before the closing body HTML tag in CakePHP 2.2.2
In your view file app/View/Controller/view.ctp or at the top of your layout app/View/Layouts/layout.ctp put $this->Html->script( 'jquery.min', array( 'inline' => false, 'block' => 'script_bottom' ) ); # or multiple scripts $this->Html->script( array(...
Perl Script to Convert a Progress Table Dump file to a CIM Load File
Ran into a problem trying to load a .d file with the progress editor. I think there was a unique index on the first first field of the msg_mstr table so I had to update the records using CIM from inside QAD. This is the script I used to convert it from .d format to...
Whereis.com Zoom Level to Legend Scale Mapping
Adding to my similar post about Google Zoom to Map Legend Mapping
