Toggen Blog
Tech tips
Articles
Latest
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
Associating File with an Application in Gnome 3
I have installed a program named OCRFeeder to be handle using tesseract. OCRFeeder saves files with a .ocrf extension of application/zip mime-type. By default you associate mime-types to applications the problem is the OCRFeeder files are recognized as application/zip...
Installing the OSQL Command Line Utility on Windows 7 Pro 64bit
1. Install SQL 2008 Management Studio Express Install Management Express Studio from Microsoft® SQL Server® 2008 Management Studio Express Install tools only 2. Update the Install with MS SQL Service Pack 3 Immediately run Windows Button ==> All Program ==>...
